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

learn more… | top users | synonyms (2)

5
votes
2answers
2k views

Using Juju returns “ssh invalid key” error

Can someone tell me with piece of code is executed when i do: juju status. I'm running Juju on OpenStack and I want to deploy some services but when i do juju status it returns me an SSH INVALID KEY ...
5
votes
1answer
2k 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: ...
5
votes
1answer
117 views

How can I deploy my local Juju Charm with Amulet framework?

I use amulet as testing framework for charms which we developing. I've already tried to reproduce an example, provided on https://juju.ubuntu.com/docs/tools-amulet.html and it's work fine. But now I'm ...
5
votes
1answer
208 views

juju bootstrap node roles and responsibilities

What is the role of the juju bootstrap node beside connecting to the deployment cloud? (the one we call juju bootstrap on) Is this the node with the zookeeper? Is zookeeper running as daemon or ...
5
votes
1answer
230 views

How can I use juju manage multiple environments?

If I have multiple juju environments defined, I will often want to run a series of commands on one of them. Specifying -e on every call is rather tedious, but changing the default every time you ...
5
votes
1answer
244 views

How do I deploy multiple stacks in an environment?

I've deployed a haproxy->lamp->mysql stack using juju. It seemed pretty straight forward and it works well from my tests. I've also seen its easy to scale a layer and add extra units to the lamp ...
5
votes
1answer
82 views

Is it possible to trace the add-relation hooks in debug-hooks window?

Is it possible to trace the add-relation hooks in debug-hooks window? Are there particular environmental variables I need to set to be successful? My juju-core version is 1.13.3. I want to observe ...
5
votes
1answer
74 views

How do I save a Juju service for later?

When I'm finished using a Juju service for a period of time, how do I put it away so that I can bring it up in the same state? Or, Are Juju services meant to be stateless?
5
votes
1answer
108 views

Is there a way to set the MAAS password via a preseed?

As has been asked before (here and here) I need to set a password during commissioning for my nodes. I realize that ssh keys are set (and I have one) but I need to log in to the node directly as ...
5
votes
1answer
310 views

Openstack Mass/Juju recovery

I have created Openstack based on MAAS using juju. I have created instances, projects etc. I have made backups of database and openstack config files. I am trying test recovery by destroying and ...
5
votes
1answer
525 views

juju with MAAS error: file 'provider-state' not found

I'm trying to configure juju to work w/ MAAS. I'm configuring juju to run on the same node as MAAS. When I run "juju status" I get the following error: error: file 'provider-state' not found Any ...
5
votes
1answer
175 views

What are the absolutely bare minimum requirements for running local juju?

I have read the documentation on running local juju with lxc. However, the dependencies in the docs seem kind of extensive for that, eg. why would it need libvirt (except for maybe the bridge nic ), ...
5
votes
1answer
148 views

Should all hosts be set to network boot at all times or after they have been registered and allocated as a service, should they boot to disk?

I really love the concept of MAAS underlying an OpenStack implementation, but there are a few questions about MAAS that I am not entirely clear on. Should all hosts be set to network boot at all ...
5
votes
1answer
79 views

How do I make a Juju Charm's revision match the Bazaar revision of its repo?

I've got a Juju Charm that is stored in a Bazaar repository and I would like the charm revision file to have the same value as the Bazaar repository's revision number. Is there a way to make Juju ...
5
votes
0answers
187 views

state: pending & public-address: null :: Juju setup on local machine [duplicate]

Possible Duplicate: Juju stuck in “pending” state when using LXC I've setup Juju on a local VM inside VMWare running on Mac OSX. Everything seems to be working fine, except ...
5
votes
1answer
102 views

How do I deploy havana instead of grizzly?

i'm trying to install openstack havana dashboard but the dashboard is always grizzly... I use juju and maas to deploy the charms on a bootstrap node, set the openstack-origin to : cloud:precise-havana ...
4
votes
2answers
463 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 ...
4
votes
2answers
1k views

MaaS minimum requirements with juju-jitsu?

I've browsed through so many different sites and found so much contradictory information. As I am getting tired of this and do belive this question affects many other users, so I would like to collect ...
4
votes
2answers
102 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 ...
4
votes
4answers
3k views

Invalid SSH key error in juju when using it with MAAS

This is the output of juju from a clean install with 2 nodes all running 12.04 juju bootstrap - finishes with no errors and allocates the machine to the user but still no joy after juju ...
4
votes
2answers
184 views

juju and keys for multiple administrators

We are currently doing some testing to see if Juju will fit our needs to deploy a new application to EC2. We have three developers that need to be able to make changes to the the deployed instances, ...
4
votes
1answer
1k views

Has anyone deployed Swift in an OpenStack environment using Juju?

I've been reading up on how to deploy an OpenStack environment on some Ubuntu servers... I found some info on deploying and configuring it manually and I found some info on deploying it using ...
4
votes
1answer
167 views

Can juju detect down service?

I would like to have a MySQL separated on two servers with one being a master and the other a slave. Can juju detect if the master is down and promote the slave or would I have to do it manually? ...
4
votes
2answers
212 views

Juju deploy issue : Connection was refused by other side

I am trying to deploy MAAS + JUJU on a 10 node infrastructure. I have easily configured MAAS (13.04 LTS) on one node and queued 6 other nodes, Also have got Juju installed on the MAAS node, Now the ...
4
votes
1answer
588 views

deploy multiple wordpress sites with juju

This may seem like an obvious question, but can you deploy multiple (distinct) wordpress sites with their own databases etc? But using a single deployment? So not dedicated vm's for each sites ...
4
votes
1answer
417 views

Post Deploy MAAS cleanup

I have a mostly working MAAS cluster. I'm still learning juju, but while I'm doing that, I wanted to take this opportunity to do some clean-up tasks. Here are my goals: Configure ntp on the nodes. ...
4
votes
1answer
706 views

Juju bootstrap fails to start network on local environment

I've followed the instructions at https://juju.ubuntu.com/CharmSchool and rebooted 5 times...... I cant seem to do a juju-bootstrap (local) This is the output: amith@amith-desktop:~$ juju bootstrap ...
4
votes
1answer
200 views

Charm parameters configured at deployment

I am creating a juju charm that needs to have parameters passed to the configuration upon deployment. I have looked around and I know you can use juju deploy <charm> ...
4
votes
1answer
181 views

When running locally, does Juju use the host machine's APT cache?

When juju fetches packages for a unit, does it make use of the host system's APT cache? I'm asking this because in my case, bandwidth is limited and I am doing some charm development. It is not ...
4
votes
1answer
338 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 ...
4
votes
1answer
784 views

How can I copy Juju tools for use in my deployment?

When I try to boostrap my cloud environment I receive the following error: ERROR command failed: no tools available error: no tools available How do I make these tools available for my environment? ...
4
votes
1answer
76 views

How to add Landscape monitoring to machine 0 in juju

The Juju Landscape charm supports adding relations to services, but there is no visible service in machine 0 to add a relation to. How to add it to Landscape then?
4
votes
1answer
252 views

In a MAAS/juju setup, is it possible to deploy multiple charms (eg. mysql and wordpress) on one single MAAS node?

Well the headline basically says it all. I have a small testing environment running, and this question pops up. Not all charms need a whole node for them selves. Is it possible for me to deploy both ...
4
votes
1answer
46 views

How to install Jenkins charm with dependecies?

I have a question about the jenkins charm: After creating a new instance with a jenkins charm, how can I run a script with commands to install some programs needed in machine created?
4
votes
1answer
3k views

Why does upstart fail to start my juju service with Unknown job: juju-ubuntu-0?

I'm having issues launching juju on an lxc container through regular juju deploy commands: juju bootstrap juju deploy ubuntu The ubuntu juju status continually says pending. The LXC starts, and I ...
4
votes
1answer
381 views

Where can I find more documentation on building an Ubuntu-based cloud infrastructure?

I've been reading: https://help.ubuntu.com/community/UbuntuCloudInfrastructure It's fascinating stuff, but documentation seems a bit sparse. Where I work, we have this aging, clunky VMWare ESXi setup ...
4
votes
1answer
475 views

Juju SSH setup in orchestra environment

For orchestra, must the public keys be copied to the nodes before 'juju bootstrap' is run for the first time?
4
votes
1answer
200 views

Juju MySQL adding units vs adding new service with relation

What's the point of adding units to MySQL? Why not just create a new service with relation to the master node? MySQL doesn't support multi-master node so adding units to one MySQL service doesn't ...
4
votes
1answer
256 views

Juju on AWS t1.micro (or other) reserved instances

The smartest (often) way to run instances on AWS is to buy "reserved" instances - for either one or three years. My goal here is to run the WordPress charm on t1.micro instances as per the default ...
4
votes
1answer
6k views

How can I install Openstack Grizzly using Juju and MAAS?

I've noticed that the new release of Ubuntu 13.04 includes deployment capabilities for Openstack in an HA environment as well as integration of Ceph for volume and object storage. I can't yet find a ...
4
votes
3answers
946 views

Juju cannot deploy services with MAAS

I would like deploy one or more charms with juju on MAAS environments (without OpenStack). The environment of the MAAS Controller is Ubuntu 12.10 with 2 NICs. One of the NIC is connected to a external ...
4
votes
1answer
360 views

Juju instances in agent-state: down after turning them off (and back on) on EC2

I turned my Juju instances off on EC2 for a while and after bringing them back online they seem to be in an odd state: juju status 2012-11-17 17:06:44,094 INFO Connecting to environment... ...
4
votes
1answer
320 views

juju wordpress open-ports: []

testing juju from the ppa on aws on precise. Environment successfully bootstrapped, mysql and wordpress unit started, db relationship successfully added. On exposure of wordpress I have no open ports ...
4
votes
2answers
401 views

How to manage Juju's LXC containers using virsh?

I use the lxc driver for juju and I have created a local environment; actually the well-known Wordpress from https://juju.ubuntu.com/docs/getting-started.html. I then tried export ...
4
votes
1answer
383 views

Can I use juju with LXC in a non-local configuration?

I've looked at this post for setting up juju on a local environment with lxc. However, is there a way to use juju with lxc in a non-local environment? I am looking at a scenario where lxc containers ...
4
votes
1answer
494 views

Juju returns “No matching node is available” when trying to bootstrap a MaaS

This is my error while doing bootstrap , the status of nodes i added were declared and now i have accept and commising and it says comminsing started , i need help please .. clusteruser@cluster:~$ ...
4
votes
1answer
107 views

How would one know a charms dependencies?

If really really novice user is using Juju and wants to deploy wordpress how would he come to understand that mysql is required to deploy it. If you take another product xyz which isn't as popular as ...
4
votes
1answer
286 views

How can I get juju running on eucalyptus? [duplicate]

I've a small private cloud running on UEC 11.04 and Eucalyptus, and everything works fine. But I still look for a software deployment solution better than writing scripts manually. The new juju seems ...
4
votes
1answer
259 views

How do I resolve a 401 error when setting up Juju MAAS environment?

Here is the debug output: 2014-01-14 17:09:57 DEBUG juju.environs.configstore disk.go:77 Making /home/neo/.juju/environments 2014-01-14 17:09:57 INFO juju.environs open.go:156 environment info ...
4
votes
1answer
411 views

What are the steps to deploy OpenStack in a VM using juju?

I'm looking for a guide to deploy OpenStack (all in one) in a small VM (2 cores, 2GB ram) for development purposes, as well as for learning the juju process. What environment should I choose? ...