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
2answers
227 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
526 views

How can I access local juju instances from other network hosts?

I'm running juju on a headless machine, and already have networking configured so the rest of the network can connect to lxc guests deployed using the br0 bridge. Unfortunately, Juju creates it's own ...
3
votes
1answer
751 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
189 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
1answer
95 views

Juju and Openstack provisioning

I'm new to Juju and Openstack and currently deploying two- and three-node openstack test environment using Juju manual provider. At my first attempt I tried to deploy services to my hosts using --to ...
3
votes
1answer
40 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
68 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
2answers
814 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
171 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
246 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
142 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
221 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
745 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
152 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
468 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
1k 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
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
212 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 ...
3
votes
1answer
258 views

How to manage service relations in Juju at fine grained unit level?

My service recipe: DB Server <-> App Server <-> Web Reverse Proxy. My relation requirements are: 1 unit of DB Server related 1 (specific) unit of App Server 1 unit of Web Reverse Proxy ...
3
votes
2answers
772 views

What does admin-secret mean in Juju config file for Ec2 environment

What does admin-secret means in Juju config file for Ec2 environment. And how can i retrieve it from aws. Also what does control-bucket means, it says about s3. but how can i get the key?
3
votes
1answer
726 views

Is it possible to remove or fix a node from maas after juju bootstrap?

I don't want to destroy environment of juju. Is there any way that let me to delete a node in maas with minium change? Or, if some way can fix the node, that's perfect. My juju status: machines: ...
3
votes
2answers
445 views

Can Ping but Cannot SSH to Openstack VM Instance

Have a multi-node MAAS-JUJU-Openstack setup, i.e., nova-cloud-controller, nova-compute, and quantum/neutron gateway are on separate hosts. In this setup, MAAS and openstack share 10.0.0.0/24 as their ...
3
votes
3answers
465 views

juju Bootstrap --debug failed to connect https://streams.canonical.com

How can I fix this case, my condition : MAAS Server on VM Juju in Main server All ubuntu 14.04 Here is the error curl(6) "could not resolve host: streams.canonical.com" Setting up ...
3
votes
1answer
272 views

Can't bootstrap with Juju due to “ error back from server: 401 UNAUTHORIZED”

I have this little MAAS with only one node ready to deploy (ubuntu 12.04 Precise pangolin)... I was trying to set up the Juju enviroment but i continously get this error $ juju bootstrap Bootstrap ...
3
votes
1answer
219 views

(JuJu) How to install “ubuntu-12.04-server-cloudimg-amd64.tar.gz” manually?

Because of an error over using juju , I've downloaded these two files: https://cloud-images.ubuntu.com/server/releases/precise/release-20140227/ubuntu-12.04-server-cloudimg-amd64.tar.gz ...
3
votes
1answer
46 views

Is it possible to achieve HA using the rabbitmq-server juju charm?

Is it possible to achieve HA using the rabbitmq-server juju charm? Is it possible to have mastar/slaves? Hot Standby, like the PostgreSQL charm? Thanks
3
votes
1answer
48 views

Create a new pair of ssh key before deploy charm

Our application requires each node in a cluster has the same pair of SSH keys. We provide the default one in the charm but it'd better to generate new one before deploy. THE SAME KEYS WILL BE COPIED ...
3
votes
2answers
245 views

Bootstrap to OpenStack cloud asks password to log in

I'm testing the new beta OpenStack cloud of CloudVPS.com and hitting a few problems. The first problem (which I assume is very likely CloudVPS beta related) is that about half of the time the ...
3
votes
1answer
99 views

Juju MySQL for WordPress with Percona

Is there any benefit in using Percona as a distro for WordPress? Does it actually allow me to use Extradb or is it still limited to Innobd?
3
votes
1answer
94 views

How to supply the ssh keys needed to access an application repo with Juju?

Our app is hosted on a private repo that requires an SSH key to access, and the node-app charm assumes that the repo is available publicly. Is there a way to install the key automatically and ...
3
votes
1answer
214 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 ...
3
votes
1answer
71 views

How to use the Wordpress Juju charm to add existing database content

I've been looking at the Wordpress juju charm and I'd like to use it to create instances of developer.ubuntu.com for testing and design purposes. I believe I can use it as-is, apart from one bit: the ...
3
votes
1answer
56 views

A Juju Charm that configure dependencies to work with jenkins

I'm doing a charm that installs jenkins and stuff. If the User already have an account on github and create a new repository named "builder", he can put the dependencies for the job as app engine, gwt ...
3
votes
2answers
494 views

How does juju expose work?

If I expose my service, for instance teamspeak server, on what address it will be running? On my server address? For example: my server has an address of 158.37.15.167. If I deploy teamspeak from my ...
3
votes
2answers
83 views

juju cache to different folder

I am writing a juju charm for a project and I would like to test and debug locally. I have a somewhat small SSD drive which I have my OS installed on and my home folder on the larger non SSD drive. ...
3
votes
1answer
736 views

What is needed for the authorized-keys in the environments.yaml file?

I am trying to get Juju working in HPCloud; however, I can't figure out what is needed for the authorized-keys in the environment.yml file. I already read this post How can I configure Juju for ...
3
votes
1answer
59 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

How do I fix a “User timeout caused connection failure” error?

I'm following these instructions - How do I configure juju for local usage? and all appears well until : juju deploy mysql - which gives 2012-08-01 16:14:58,560 INFO Searching for charm ...
3
votes
1answer
950 views

Using Juju with private Openstack cloud deployment?

I'm seeing a number of problems trying to use Juju with our internally deployed Openstack cloud. Most of this appears to be centered around DNS host resolution as well as the need to deal with our ...
3
votes
1answer
654 views

How do I gracefully shutdown a Juju Charm?

My charm controls a service that can detect when it's no longer needed, and should shut itself down. Is there a defined way to shutdown the system in a way that Juju considers appropriate? Can I ...
3
votes
0answers
235 views

Juju bootstrap node can't access Ubuntu archives via MAAS

I am trying to install MAAS and Juju on VirtualBox. The network configuration of VirtualBox is set to NAT Network. Everything is just fine. I am able to PXE boot. But when I start juju bootstrap, ...
3
votes
1answer
529 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 ...
3
votes
0answers
254 views

isnt there any descriptive step by step guide for MAAS + juju + Ceph + Openstach HA deployment? [closed]

I know this is the guide - https://wiki.ubuntu.com/ServerTeam/OpenStackHA , but Its not just descriptive enough? I saw in few question's answers that above link is still yet to be updated, but when? ...
3
votes
1answer
836 views

Juju won't run on orchestra due to ssh error

I've got orchestra installed and running, and I have managed to build my first three nodes. Now I want to get down to the business of managing their environments. I've installed JuJu on my main ...
2
votes
3answers
45 views

What does “LDS” stand for in the openstack reference implementation?

Looking on this page, I see "LDS" mentioned. http://www.ubuntu.com/cloud/ubuntu-openstack/reference-architecture Go to the "Services Virtualized High Availability" tab, and look at the virtualized ...
2
votes
2answers
438 views

Horizon: Apache exceptions at import_module

I've deployed Openstack using juju, and everything looks normal except that I cannot browse to openstack-dashboard. I get error 500 Internal Server Error. I looked through apache2 logs at that node ...
2
votes
3answers
33 views
+50

How do I manage changing users in a charm?

I'm writing a charm in which I need to change user to install some packages. When I start juju-deploy all this running as root... So, I try to change my user and is not possible. If anyone has any ...
2
votes
2answers
230 views

Ubuntu Juju local configure failed

When i run bootstrap in How do I configure juju for local usage? i got this error. I have done the same steps. So why that error is comming? Then i checked the permission for index.json file i changed ...