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
1answer
770 views

How to Install/Configure/Use Juju in non aws clouds?

I think that Juju is a technology that has the potential to help a lot of sysadmins, it would be great to have a good tutorial for using it in other clouds, such as gandi.net1. Is there any way to run ...
5
votes
2answers
708 views

How do I adjust the instance size that Juju uses?

I've fired up some of the example instances of Wordpress and MySQL with Juju. A coworker has told me that the default instance size is "small". I'd like to be able to scale this to different sizes on ...
5
votes
1answer
812 views

How to SSH into local juju instance?

I'm writing a charm that I deploy on a local juju instance. Works great, but it would help debugging the charm if I were able to SSH into the instance. Is there a way to do this?
5
votes
2answers
110 views

Is anybody using juju for mission critical apps?

I've been playing with juju for the last month and it is really awesome but it feels like a black box. It feels like something that I "just have to trust that it will work". I'm very tempted to use ...
5
votes
2answers
158 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 ...
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
665 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 ...
5
votes
1answer
287 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
186 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
237 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
95 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
83 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
143 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
371 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
547 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
182 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
158 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
87 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
189 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 ...
4
votes
2answers
191 views

Is there a tool like Juju or Chef that I can use to automate the set up of my computer?

There are a lot of tools (chef, puppet, juju) out there to automate server deployments and set ups. How can these be used for automating my laptop set up? I want to be able to do nothing but run a ...
4
votes
1answer
70 views

How do I add a relationship between two charms to pass information between them?

I am new to juju. So far I have created and started deploying one application charm and sever charm separately. But now from the application I need to add relationship to server charm and get details ...
4
votes
1answer
129 views

Should I use MAAS and Juju if I only intent to use a single PC?

I am planing to setup a local server at my home that I will use for various entertainment/work tasks. Do you think that installing MAAS and juju is an overkill if I intent to use only one pc?
4
votes
2answers
833 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
2k 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
1answer
472 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
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
195 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
2k 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
2answers
324 views

How do I use a specific AMI for juju instances?

I would like to use another AMI with juju instead of the default AMI, where do I specify this?
4
votes
1answer
173 views

How do I prepare MAAS to serve images on OpenStack?

I've got Openstack ready with MAAS, how do I prepare the cloud with Ubuntu images so I can deploy it with Juju?
4
votes
1answer
273 views

hook failed: “shared-db-relation-changed” when using OpenStack in the same system as Juju/MAAS

I have been trying to setup OpenStack on 14.04 using one machine. I have managed to get MAAS setup and JUJU bootstrapped with two machines, one machine to MAAS and another node that I am trying to ...
4
votes
1answer
174 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
3answers
234 views

How to deploy multiple juju services on the same server with MaaS

I have 6 services that I need to deploy with 5 physical servers. Would it be ok to deploy juju gui with haproxy? How would you deploy multiple services to one server. I saw some documentation for ...
4
votes
1answer
519 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
2answers
239 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
738 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
254 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
204 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
167 views

How to resolve “ERROR machine is already provisioned” in manual provision set up?

I set up a manually provisioned environment successfully (in local network among x3 12.04 ubuntu servers.) However adding the second machine failed twice. After the third try (installed missing ...
4
votes
1answer
1k 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
85 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
118 views

How do I ensure that security updates are installed on Juju machines?

It seems that security updates and other package updates are not automatically installed in Juju nodes. I assume that they are installed at installation of new Juju machines, or that the installation ...
4
votes
1answer
320 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
48 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
433 views

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

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
484 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
276 views

juju bootstrap fails on local environment - Could not install mongo service

I'm attempting to use JuJu install for the first time. I created a 12.04 guest VM just for this process and I'm getting an error when I try an complete the bootstrap process sudo juju bootstrap ERROR ...
4
votes
1answer
637 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? ...
4
votes
1answer
254 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 ...