Juju is a next generation service modelling and execution framework.

learn more… | top users | synonyms (2)

3
votes
4answers
1k 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
4k 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
90 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
2k 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
265 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
2answers
1k 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
957 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
118 views

Issue bootstraping juju 2.0 on maas xenial setup

Trying to bootstrap juju on my maas set up, my physical no is aquired it fails after that. Can't figure out what to do rama@Maas:~$ juju bootstrap maas maas/172.17.6.253 --to snoutlike-ute.maas ...
3
votes
1answer
283 views

juju state server upgrade

I have a juju state server (the bootstrap machine) that will not start the API service that listens on port 17070. I believe this is because of bug: https://bugs.launchpad.net/juju-core/+bug/1434680 ...
3
votes
1answer
278 views

Adding opencontrail to maas juju openstack

I have a working icehouse openstack environment with neutron ovs and gre tunnels. The environment was set using maas and juju (deployed openstack charms). Would like to configure opencontrail instead ...
3
votes
1answer
167 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
1answer
640 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
366 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
80 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
82 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
370 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
117 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
104 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
351 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
338 views

How to change charm service IP from default 10.0.0.X if running juju on local?

I set up a private cloud on local following by https://juju.ubuntu.com/get-started/local/ and configured network followed by How do I run Juju on a local server? (The difference is the IP address in ...
3
votes
1answer
79 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
83 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
98 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
875 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
2k 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
1k 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
933 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
38 views

crm status failing to work after adding remote node

My setup: 1. Ubuntu 14.04.4 LTS 2. Kilo Release (2015.1.3) 3. pacemaker: 1.1.10+git20130802-1ubuntu2.3 4. pacemaker-cli-utils: 1.1.10+git20130802-1ubuntu2.3 5. corosync: 2.3.3-1ubuntu2 6. ...
3
votes
0answers
65 views

Cannot Deploy Charms from Charm Store

Ran into a strange problem, on juju 1.24.2-utopic-amd64 and 1.7.0+bzr3299-0ubuntu1~utopic, when trying to deploy a charm to a node, e.g. juju deploy --config ./kilo.yaml nova-compute nova-compute-01 ...
3
votes
0answers
171 views

Wordpress deployed with JUJU using LXC fail

When I deploy the wordpress and mysql charms with juju on my maas controller like so: juju deploy --to lxc:0 wordpress juju deploy --to lxc:0 mysql juju add-relation wordpress:db mysql:db --debug ...
3
votes
1answer
49 views

Can you prevent Juju from destroying machines?

I've been experimenting with Juju and after I deploy a service to a node if I destroy it the node is released from Juju back into the MaaS pool. From the documentation it doesn't seem like this ...
3
votes
0answers
442 views

JUJU Error “ERROR failed to bootstrap environment: waited for 10m0s without being able to connect: ”

Having a bit of a struggle with bootstrapping Juju using juju-quickstart -i With two separate ubuntu clusters, we are having the same exact error (displayed below). I've confirmed I can SSH to ...
3
votes
1answer
61 views

Recover access to a juju env after losing the jenv file

I have a juju environment comprised of three servers, setup via manual provider. After a hardware failure I lost the .jenv file for the manual environment. I still have the admin-user password and can ...
3
votes
0answers
262 views

jujud won't start because of different ip address

Is there anyone who can tell me how to modify both public and private IP of juju bootstrap node stored in mongodb? I have an all in one openstack server. This week, I launched a vm named juju-core ...
3
votes
0answers
468 views

Deploying OpenStack with just two machines with Juju

i've followed the Marco Ceppi guide (http://marcoceppi.com/2014/06/deploying-openstack-with-just-two-machines/comment-page-1/#comment-70358) about how to deploy openstack on just 2 node. I tried to ...
3
votes
0answers
832 views

Openstack Juno Qunatum Charm on 14.04

Can't create any network, private or public: # neutron net-create priv1 -v --debug DEBUG: keystoneclient.session REQ: curl -i -X GET http://keystone1.maas17:5000/v2.0 -H "Accept: ...
3
votes
0answers
590 views

openstack-install Can't import Boot Images

Trying openstack-install, http://www.ubuntu.com/download/cloud/install-ubuntu-openstack, on a Trusty server - hoping to get Openstack Juno going - but having problems with importing images. Install ...
3
votes
1answer
607 views

Juju deploy charm juju-gui fails with connection time out

I am using Juju 1.18.4. The environment is bootstrapped and here is the juju status environment: maas machines: "0": agent-state: started agent-version: 1.18.4 dns-name: ...
3
votes
0answers
245 views

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

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
603 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
871 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
393 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
867 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
1answer
153 views

juju charm relation hooks are not running?

Hi i have developed two charms server charm and application charm.I need to add relation between them and and want to get server IP address for application charm.I have added relation-joined and ...
2
votes
2answers
706 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
2answers
120 views

Installation of Openstack via autopilot with only one Disk per Node [duplicate]

I plan to use autopilot to install a Openstack cloud on a bunch of servers, which have single SSDs installed. The requirements say, 2 disks per node are required, as stated here: ...
2
votes
2answers
99 views

Where to install Juju

I'm reading the question at How do I install Landscape for personal use? and have a question regarding the install of Juju: Is Juju to be installed on the "Landscape Dedicated Server"?
2
votes
2answers
480 views

Why install OpenStack [closed]

I am trying to understand why someone would need OpenStack when MAAS and Juju are available. I know that MAAS abstracts the machines in order to use them as resources and Juju allows to install ...
2
votes
3answers
98 views

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
389 views

Is it possible to specify an image or list of packages to install on a per-node basis in MAAS?

Or, is this a job for juju instead?