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
80 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
161 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
962 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
131 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
260 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
1k views

How do I deploy a charm from a local repository?

I am trying to run the Charm tutorial from the juju documentation by creating a new charm from a local repository. I started by installing the charms from bzr to my local ubuntu 12.04 desktop running ...
3
votes
1answer
829 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
234 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
64 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
160 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
70 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
88 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
222 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
266 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
1answer
433 views

Ceph Openstack HA installation with maas and juju but partially on physical servers and few on virtual machines

I am planning to deploy OpenStackHA which 28 servers, which is quit a lot for me. So i am thinking to put up few of roles like rabbitmq, mysql, cloud controller, horizon on virtual machines on KVM ...
3
votes
2answers
174 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
306 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
1k 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
168 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
729 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
75 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
252 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
336 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
994 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
862 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
153 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
145 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
3answers
2k 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
2k 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
561 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
321 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
68 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
73 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
306 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
114 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
102 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
289 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
263 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
76 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
71 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
93 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
797 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
826 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 ...