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
66 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
137 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
831 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
152 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
1answer
100 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
236 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
540 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
761 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
196 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
135 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
53 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
79 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
883 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
181 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
252 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
152 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
235 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
809 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
158 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
502 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
2answers
518 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
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
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
223 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
275 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
818 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
754 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
1answer
116 views

Is it possible to “stop” a particular unit in juju?

I need to "stop" a unit in juju. Remove or destroy are not good options for my case, is there any way for "stop"ing a unit?
3
votes
2answers
950 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
754 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
349 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
243 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
52 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
61 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
260 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
100 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
96 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
227 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
73 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
58 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
84 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
747 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
967 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
680 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
71 views
+100

I can't deploy mysql to LXC:0 with juju

I used "juju deploy --to lxc:0 mysql" to deploy mysql. But ,the container start failed.--"error: container failed to start" so,I used dmesg to look error message: [1318582.474759] init: ...
3
votes
0answers
327 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, ...