Juju is a next generation service orchestration framework. It has been likened to APT for the cloud.

learn more… | top users | synonyms (2)

8
votes
3answers
890 views

Where does Juju store a log of all commands run and their output for each unit?

Sometimes when deploying a service (and more specifically a new unit) for a Juju charm, an error occurs and there seems to be no way of finding out exactly what it was. Is there some sort of output ...
8
votes
1answer
188 views

Juju not seeing the MaaS slaves… at least not after some time?

At our company are doing a project where we want to start doing Juju, MaaS and OpenStack. All in all we are satisfied, but we have one major problem that is setting us back. We haven't seemed to find ...
1
vote
1answer
438 views

juju bootstrap fails with a local environment, why?

Each time I try to bootstrap juju using a local enviroment it fails starting the juju-db-braiam-local script as follows: $ sudo juju --debug --verbose bootstrap 2013-10-20 02:28:53 INFO ...
2
votes
1answer
76 views

To use PPA on 12.04 LTS Cloud Image

In a earlier post I had asked the question of why juju and MAAS wasn't working and outlined all of the steps. When using the 12.04 LTS cloud image should I still need to add the PPA for juju and ...
7
votes
1answer
206 views

Should MaaS and Juju get installed on one of my servers or on a client system?

I've been struggling with MaaS and Juju slightly. I have two servers that I want to use as nodes, but I am unsure of where to install MaaS and Juju. Do they get installed on one of my two servers? ...
2
votes
2answers
510 views

How to deploy multiple charms on the bootstrapped node or on a single node?

I've been wondering if it is possible to deploy a charm, say for example, a wordpress charm to a single node. i.e. bootstrapped node + mysql node + wordpress node = 1 node One scenario can be: ...
1
vote
2answers
319 views

“Unexpected Error interacting with provider: 403 FORBIDDEN” error when trying to bootstrap

in the maas portal :ht tp://192.168.101.148/MAAS,i can see 6 nodes,and the status are all:ready. and my environments.yaml file is : environments: maas: type: maas maas-server: ht ...
2
votes
1answer
181 views

How can I deploy a new service in Juju GUI specifying the destination machine?

I would like to deploy a new service in the juju GUI specifying on which machine it should run. I mean the equivalent of doing juju deploy --to 0 mysql.
2
votes
1answer
246 views

How to remove a relation in Juju after destroying one of the associated services?

I am trying out Juju and while playing I created a service, Django, and then Mongodb. I associated them and then destroyed mongodb. Now my Django service is in an error status: agent-state-info: 'hook ...
2
votes
1answer
114 views

How can I know which machine Juju is actually using?

I am trying Juju on Azure and I have installed quite a few services that I have now destroyed to keep only the minimum services. But now I can see I have 8 virtual machines created on Azure while I ...
0
votes
1answer
179 views

Juju-Gui Charm API did not respond

After deploying juju-gui, It isn't able to communicate with the Charm API for some reason. When looking into the Chrome debugger I get errors like XMLHttpRequest cannot load ...
1
vote
0answers
127 views

Juju errors when trying to deploy to ec2 [closed]

I am trying to get started with juju on ec2. I have followed the install and configure instructions here: https://juju.ubuntu.com/docs/ and here: https://juju.ubuntu.com/docs/config-aws.html When I ...
3
votes
4answers
557 views

How do I list all the relation variables and debug them interactively?

I'm writing a charm that requires a mysql database, I found from looking at other charms that this (below) is how I get the info about the database: user=`relation-get user` password=`relation-get ...
2
votes
1answer
340 views

Does juju helps to build own private cloud?

Will juju help me to create my own cloud for my organization, we want to create private cloud for my organisation if it helps what are the guidelines that we need to got through?
1
vote
0answers
118 views

Set up nodes for Ubuntu cloud 12.04 [closed]

I am trying to setup ubuntu cloud infrastructure using MAAS and Juju. However, I cannot get past the commissioning step of node addition. I have added all the node MAC id. The nodes are connected to ...
1
vote
1answer
36 views

Is there a juju PostGIS charm out there?

I wonder if somebody has created if someone knows if exists a Postgis juju charm out there. Any help is very welcome.
0
votes
1answer
297 views

juju can not reach servers

I installed maas server and juju client tools, but when I try to run any deploy command or run juju status I get these error messages: Please check your credentials or use 'juju bootstrap' to create ...
8
votes
4answers
2k views

Does juju run on non-Ubuntu distributions?

I have been experimenting with juju for an upcoming platform evaluation Question I know I will be asked: Is it possible to run juju on non-ubuntu distros?
10
votes
1answer
6k views

How to set environment variable before running script inside hooks/install?

I am create a simple charm to get my symfony2 webapp from git and deploy it on ec2. After getting the source from git, I want to run composer to resolve dependencies but I keep getting this error: ...
1
vote
1answer
55 views

How can I create charm on one node

Firstly I generation nodejs file on the node without charm then my boss said we need charm for generation. I need in this charm QT5, NODEjs, Berkeley db, g++ with gcc but I don't know how create ...
3
votes
1answer
250 views

Access key ID error when deploying with juju-core on non-ec2 ec2 clouds

juju-core (1.13) does not support the old pyjuju configuration variables ec2-uri and s3-uri. So I took the Go sources and tweaked a new region in launchpad.net/goamz/aws/aws.go with the necessary API ...
1
vote
1answer
72 views

How can I debug a juju client command?

I'm having issues bootstrapping with juju, where are logs that I can review?
4
votes
2answers
1k views

ceph status fails due to “ERROR: missing keyring” error

I have deployed 3 ceph mon nodes using juju and maas. From juju status all ceph mon nodes are up and fine. but i did ssh into one of the ceph node and was just trying to get ceph status. and its ...
3
votes
2answers
1k views

Cannot bootstrap due to “”precise“ images in RegionOne with arches [amd64 i386]” error

I am having an issue with installing Juju and bootstrapping. I have the Swift storage setup, and the new bucket gets created. The tools have been synced, and all that looks fine. However when I ...
1
vote
1answer
1k views

“psycopg2.OperationalError: could not connect to server: Connection refused” error when bootstrapping

After the successful import of the ssh keypairs, the bootstrap generates this error. Can anyone help me? connection_factory=connection_factory, async=async) psycopg2.OperationalError: could not ...
4
votes
1answer
657 views

Not able to destroy service as agent-state is down

I am unable to destroy service as on of the unit agent says its down. I see that this bug has been fixed as stated here unit destruction depends on unit agents But I am not getting whats the solution ...
2
votes
2answers
256 views

Tried to follow the EC2 Juju guide and it fails

I am evaluating Juju and when following the very basic tutorial https://juju.ubuntu.com/docs/getting-started.html, literally following every single instruction to a T, all I end up when trying to ...
1
vote
1answer
135 views

Can I deploy Juju on Eucalyptus?

Please let me know if I can deploy juju on Eucalyptus, if yes please provide me the configuration details which i need to edit on environments.yaml file.
1
vote
2answers
638 views

Problem with node being “commissioning” and doesn't change to “ready”

I got a machine up and running 13.04. I followed the instruction and set up MAAS. Current state I need nodes to be in "ready" state, so that I can install juju with MAAS. However, the nodes are stuck ...
1
vote
3answers
411 views

Is it possible to deploy a juju service to multiple specific machines?

i am trying to deploy HA ceph like shown in OpenstackHA But i wanted to deploy Ceph MON and Ceph OSD on same 3 machines. So in order to that, my 1st cmd will be, juju deploy --config local.yaml -n 3 ...
1
vote
1answer
500 views

Installing ceph and ceph-osd charms on same machine?

I have 3 ceph nodes, I have decided to install ceph monitor plus ceph osd on all 3 servers. In ordee to do that I deployed 1st ceph charm on all 3 nodes. Till here everything was fine, I was even able ...
5
votes
2answers
185 views

How do I script juju deployment?

I have been working on a few juju charms and am ready to start testing a deployment of our services. Is there a standard method for deploying an environment? For instance, do I have to manually ...
2
votes
1answer
2k views

juju bootstrap not working for MAAS

I'm following this doc to implement openstack using MAAS and JUJU: Ubuntu Cloud Infrastructure with MAAS and Juju So to setup JUJU, im following this one: Get Started With Juju Any idea about how ...
22
votes
2answers
5k views

What is a Juju Charm?

What is a Juju Charm? What is it used for?
3
votes
1answer
581 views

juju hangs when connecting to mongo

Whenever I run any juju activity which connects to mongodb, the connection seems to connect OK but hang. I'm using the stable ppa and running on ubuntu 13.04 desktop. $ juju status --debug ...
1
vote
0answers
331 views

After deploying wordpress 502 Bad gateway [closed]

I have this: 2012-10-15 12:25:19,359 INFO Connecting to environment... Enter passphrase for key '/home/hsf/.ssh/id_rsa': 2012-10-15 12:25:21,902 INFO Connected to environment. machines: 0: ...
3
votes
1answer
191 views

How can I expose ICMP ports in a hook?

I've got one question regarding Ubuntu Juju deployment, on AWS cloud. I'm using Bash to write my hooks. At the end of the install hook/script, I have lines that expose some of my TCP ports(80,443,5666 ...
1
vote
2answers
247 views

cannot get latest charm revision when ttying to deploy a local charm

When trying to deploy a local charm I get the following error: error: cannot get latest charm revision: no charms found matching "local:precise/devenv"
1
vote
0answers
60 views

Checking my juju instance through Amazon's AWS console? [closed]

I'm pretty new to juju and I recently followed a few tutorials on how to deploy Wordpress (https://juju.ubuntu.com/docs/getting-started.html) and a sample Ruby on Rails application onto my Amazon AWS. ...
2
votes
2answers
696 views

Is Swift object storage a requirement?

We're in the process of deploying a private openstack instance but don't have the Swift object storage service available yet. Can juju bootstrap launch a utility instance without swift? I see that the ...
2
votes
2answers
423 views

juju cant ssh service units

i have deployed ceph now i am trying to ssh, so i am running following cmd which is giving me error, sam@maas01:~$ sudo juju ssh ceph/0 Permission denied (publickey,password). error: exit status 255 ...
9
votes
1answer
2k views

deploying openstack on 6 servers

I'm new to openstack and i'm still learning. In 2 month i'll get 6 servers like: 4 servers with dual xeon e5-2630 , 96gb ram, 2 1gb ethernet and 2 500gb hdd in raid 1 DAS with 40tb of storage ...
1
vote
0answers
24 views

is openstack swift required for juju integration? [duplicate]

For juju integration with openstack, is swift object store a requirement? I have a private setup with nova-compute, nova-network, keystone and glance. But don't have swift. Exact question had been ...
2
votes
2answers
559 views

Cannot bootstrap due to clout-init “errors running cloud_config [final]: [scripts-user]”

I have installed maas server and configured juju also, And bootstrapped juju for 1st time, which I know will install zookeeper on 1 "ready" state VM available in MAAS. So I observed this ...
2
votes
1answer
505 views

juju error: flag provided but not defined: --force-machine

I am running command, >juju deploy --config ceph.yaml --force-machine 1 local:ceph-osd Which giving me error error: flag provided but not defined: --force-machine Any idea? if its syntax ...
2
votes
1answer
771 views

configure juju with openstack using keystone

I am trying to integrate juju with openstack. I have a virtual machine and on that I have installed openstack grizzly using devstack script. Now I want to configure juju with openstack (want to ...
2
votes
2answers
390 views

Is the nginx charm stable for production?

I'll like to use the nginx charm in production and will like to know if it's stable and ready enough for production. Yes, I'm talking about specific juju charm for Nginx. I'm talking about this: ...
0
votes
1answer
847 views

error: environment has no access-key or secret-key

I just installed a juju enviornment, which required me to make this ssh-key prerequisite for later on, ssh-keygen -t rsa -b 2048 But I think I made a fatal error by leaving the file to save the ...
3
votes
1answer
255 views

Sharing SSH keys during a Juju Charm deployment

I have a Juju Charm for specific cluster service. In manual deployments, the password-less SSH access for the cluster administrator is enabled between the control-system nodes and the other nodes in ...
3
votes
1answer
916 views

How do I configure Juju to use Amazon Web Services (AWS)?

I'd like to deploy services on AWS, how can I configure Juju to do this?