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

learn more… | top users | synonyms (2)

3
votes
1answer
71 views

Juju wordpress charm doesn't update from git

I have set the wp-config string to my git repo. It gets everything fine but the charm is not picking up changes. I make changes to my local copy of the wp-content then push it to my git remote repo ...
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 ...
3
votes
1answer
175 views

Does my charm need both a relation-changed and relation-joined hook?

I see a lot of charms with both a relation-changed and a relation-joined hook for their relations. Sometimes the two hooks are even the same file, with one being a symlink to the other. However, the ...
3
votes
1answer
191 views

How do I deploy a charm when it is shown in the charm store but the cli reports it's not found?

I am trying to deploy Marco Ceppi's discourse charm from this link however running "juju deploy discourse" yields the following output: pgrace@shaman:~$ juju deploy discourse 2013-02-26 20:49:05,541 ...
3
votes
1answer
171 views

How can I halt juju and remove it from my local machine?

I have juju running locally using LXC, and I'd like to completely remove it. Is removing the juju package enough, or do I need to go hunt down other things as well?
3
votes
2answers
2k views

Juju bootstrap gives me a “409 CONFLICT” error

am defining a Juju environment on Ubuntu 12.04LTS but when i give command "juju bootstrap", it generates error i.e Unexpected Error interacting with provider: 409 CONFLICT 2012-04-13 02:25:01,025 ...
3
votes
1answer
998 views

Is there a way to stop and restart a Juju deployment?

I would have thought that juju shutdown would move the instances in the deployment from "running" to "stopped." Instead it actually terminates all instances. Are juju deployments inherently ephemeral? ...
3
votes
1answer
56 views

Error instaling OpenStack with juju due to kvm-ok not being installed

I'm trying follow this video-tutorial but using VirtualBox and at the moment to install openstack (over 19:30m), I get the next error: How I can resolve it? Thanks!
3
votes
2answers
510 views

lxc-create hangs and finally fails

I was trying to place some juju charms on linux containers and the containers failed to start. To debug the issue I sshed into the node where this happened and tried creating an LXC container manually ...
3
votes
1answer
61 views

How to get $db_host as domain from Juju?

I'm using a manual enviroment with Juju, and to not lose the machines I've added them all as machinename.local (using avahi-discover). It's not possible to use static ips because of some rules from ...
3
votes
1answer
28 views

On what events the “install” hook get triggered

I am looking at this doc https://juju.ubuntu.com/docs/authors-charm-hooks.html which says the install hook is run first, but it does not specify which triggers the "install" hook. Is "juju deploy" ...
3
votes
1answer
739 views

MAAS PXE_BOOT: How can i limit what images are downloaded from the command 'import-boot-images'

I'm setting up a MAAS server where i want to download only one image for my nodes to boot via PXE_Boot. when i initiate a command to import boot images i want to restrict to download only 14.04, how ...
3
votes
1answer
382 views

juju bootstrap in maas fails to retrieve juju tools

I installed MAAS, added the Nodes and created the juju but while i tried the following code juju bootstrap I am getting this error. WARNING no tools available, attempting to retrieve from ...
3
votes
1answer
247 views

How can I change the version (default-series) that Juju deploys?

I have installed MAAS server on one machine and have two other nodes. In the web interface of the MAAS server I have set distro to 13.10 and commissioning to 13.10. When I use juju bootstrap it ...
3
votes
2answers
860 views

Juju/MAAS in vSphere to test OpenStack

I have the below setup in my lab vSphere to test Openstack deployment with juju. MAAS server vm have 2 interfaces [ one have internet access using proxy and another internal 192.168 n/w for dhcp and ...
3
votes
1answer
347 views

Can I make the MAAS server Juju machine 0?

On a MAAS cluster, if I do a "juju bootstrap", it creates a bootstrapping node from one of the free machines in the MAAS cluster, which becomes machine 0. Is it possible for me to make the MAAS ...
3
votes
1answer
173 views

How can I see the juju-core debug-log without tailing it?

I wanted to watch my env get deployed using the debug-log command juju debug-log But I forgot, so now my env is deployed so tailing the log is useless. Where can I find the full log?
3
votes
1answer
459 views

How do I configure Juju for use on Azure?

I usually setup my entire stack with apt-get packages, however I thought I might give Juju a try. I'm using a fresh copy of Ubuntu 13.04 on Azure. I managed to install install the juju package and ...
3
votes
1answer
115 views

Extending Apache charm to include Apache Modules

I want to deploy apache with modules such as mapcache and mapserver. Can the apache charm be reused as a library? The apache charm is non-trivial so I don't want to copy the apache charm module and ...
3
votes
1answer
326 views

Does MaaS have any log?

Using following articles, Testing MAAS Ubuntu Cloud Infrastructure with MAAS and Juju I tried to setup Ubuntu Server 12.04's private cloud in a virtual environment provided by KVM and ...
3
votes
1answer
333 views

How to configure jenkins using juju charm

I already have installed the jenkins charm. My question is how can I configure jenkins before deploy/after installation automatically? I want to authomatically, for example, install the github plugin ...
3
votes
1answer
962 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?
3
votes
1answer
70 views

juju override defaults in service

Working on the postgresql charm a bit, and I'm wondering if there is a way to supply overrides for default values in a "juju-way". In my charm that will be consuming the services provided by ...
3
votes
3answers
145 views

Hosting one site on two servers

I want to know how host one site on two servers. I am using juju to deploy mediawiki on my maas computers in LAN. And now I have two computers with ip's like this 192.168.1.100 and 192.168.1.115. How ...
3
votes
1answer
887 views

Juju services are not deploying correctly

Deploying a charm to your MAAS Now you're ready for the most exciting part: deploying a charm to your MAAS! juju deploy mysql MAAS will now allocate a node to Juju and Juju will deploy the ...
3
votes
1answer
2k views

What username/password does MAAS assign to nodes?

When commissioning a new node, what username/password does MAAS assign to the node after the OS is installed?
3
votes
1answer
117 views

How do I add and call a helper script in a Juju charm?

I have a charm where I'd like to be able to call a small Python script in one of the hooks as part of its execution. Where do I put that helper script? Can I put it in the hooks directory and get it ...
3
votes
2answers
249 views

What is the best way to use the mysql charm in Juju with dynamic database credientials?

I am creating a Juju charm to encompass many Django development projects. I have the charm installing Django, wsgi, and Apache2. Django uses a separate database, user, and password for every project ...
3
votes
1answer
789 views

Where can I find juju tutorials?

Is there any good and easy-to-understand Juju tutorial from beginner? I know a bit about virtualization using qemu or oracle vm virtualbox and looking forward to enhance my skill in the cloud ...
3
votes
1answer
215 views

How can I test a Juju Charm?

I have written a Juju Charm and want to test it. What are the steps to test it?
3
votes
2answers
35 views

Juju support for Google Compute Engine GCE

Is Juju supported for Google Compute Engine on the roadmap? If yes, how?
3
votes
1answer
33 views

How to deploy Juju charm in development branch

I would like to deploy this branch of the quantum-gateway juju charm https://code.launchpad.net/~openstack-charmers/charms/trusty/quantum-gateway/next resp. bzr branch ...
3
votes
1answer
40 views

JuJu bootstrap Node type of AWS instance

1) The default AWS instance for JuJu bootstrap seems to be an EC2 small. Are there any disadvantages to making it a micro instance instead? What instance would be ideal in terms of cost and ...
3
votes
1answer
89 views

Different nova.conf on each compute node for novnc acccess

I have an enviroment with MAAS, Juju and Openstack Icehouse. I have a nova-compute charm with three units (separate hw nodes). Im using novnc web access for consoles of VMs. This is done by ...
3
votes
1answer
63 views

Destroy a juju service and also its associated machine

I'm looking for a way to automatically destroy the associated machine after destroying a service with: juju destroy-service [service_name] I know I can do: juju destroy-machine --force ...
3
votes
1answer
97 views

Destroying service before removing the relation causes both services to hang at dying

I deployed wordpress and mysql and add relation between wordpress and mysql. I try to destroy wordpress before removing the relation between wordpress and mysql. Now, both services are hanging at ...
3
votes
1answer
78 views

Migration from generic OpenStack to Ubuntu Openstack

Does anyone have experience and advice in migrating from a generic OpenStack cloud to one based on Ubuntu tools (including MAAS, Juju, Landscape, etc)? We are hitting the limit on our install, and ...
3
votes
3answers
1k views

Switching Juju lxc bridge

I've set up Juju running in LXC, and I'm attempting to expose it to the internal network. I'm generally following this question to point lxc to my existing bridge (eth-br0). I've edited ...
3
votes
1answer
206 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 ...
3
votes
1answer
263 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
2answers
164 views

how to deploy charm to a machine which is already installed with some other charm?

Is it like we have release machine in maas then just do jitsu deploy-to "machine name" "service name" ?
3
votes
1answer
1k views

How do I get juju 1.11 to bootstrap on a private OpenStack cloud?

I have a working private OpenStack installation and am trying to use juju. As follows: dave@dave-D945GTP:~$ juju version 1.11.2-raring-amd64 dave@dave-D945GTP:~$ juju sync-tools listing the source ...
3
votes
1answer
282 views

juju, dnsmasq and `.localdomain`

I'm trying to setup an Ubuntu private cloud infrastructure on a virtual environment via learning from https://wiki.ubuntu.com/SecurityTeam/TestingMAAS and ...
3
votes
1answer
948 views

What to do when Juju machine 0 has got “agent-state: not-started” state

After running a Juju environment for some time, now machine 0 has got status: "agent-state: not-started" that has persisted for some time now and it is unable to deploy any new machines. "Juju ssh 0" ...
3
votes
1answer
162 views

What is the password to access Juju Web UI demo?

A demo of Juju Web UI is available at http://uistage.jujucharms.com:8080/ However, it asks for a password that is not mentioned in the blog or the development project of the UI. I found the link to ...
3
votes
4answers
628 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 ...
3
votes
1answer
3k views

I'm getting an error with nginx, php and wordpress - 502 Bad Gateway

Using the sample recipe I am deploying a WordPress solution on EC2: juju bootstrap --constraints "instance-type=t1.micro" juju set-constraints instance-type=t1.micro juju debug-log juju deploy mysql ...
3
votes
1answer
67 views

Installing packages that require system restart, from a Juju charm

I'm writing a Juju charm that installs some new packages, some of which require a system restart. In particular, daemontools-run installs an Upstart file, which would start svcanboot on the next ...
3
votes
1answer
1k views

MaaS nodes are enlisted but never show up

I am trying to get a private cloud running in a test environment with the use of virtual box, there have been a number of sites I have seen where this is a possibility. If this test is successful it's ...
3
votes
1answer
243 views

Can juju be used in other region than the US?

Is there a way to bootstrap and/or deploy a server in Amazon EC2 not in the US region ? In juju's constraints, it seems that we can only choose region a, b, c or d which are in the US. Thanks for help ...