Juju is a next generation service modelling and execution framework.

learn more… | top users | synonyms (2)

4
votes
1answer
203 views

Can juju detect down service?

I would like to have a MySQL separated on two servers with one being a master and the other a slave. Can juju detect if the master is down and promote the slave or would I have to do it manually? ...
4
votes
4answers
3k views

Invalid SSH key error in juju when using it with MAAS

This is the output of juju from a clean install with 2 nodes all running 12.04 juju bootstrap - finishes with no errors and allocates the machine to the user but still no joy after juju ...
3
votes
5answers
5k views

JUJU and ERROR environment has no access-key or secret-key

following the official guide: [1]https://juju.ubuntu.com/docs/config-maas.html and considered that I've generated the ssh key (added it to UI of MAAS) and the API key, my environments.yaml file ...
8
votes
1answer
553 views

How can I relaunch juju daemons without stop/starting local LXC containers?

I'm using juju in local mode with LXC. I updated juju on the host with a classical: apt-get install juju And had a plentyful of python errors in juju debug-log probably because juju processes ...
7
votes
1answer
2k views

problem with juju on Ubuntu Openstack - Canonical Distribution

During the installation of Ubuntu Openstack - Canonical Distribution (step 4 ubuntu.com/download/cloud/install-ubuntu-openstack) I've received an error with Juju. Juju made the bootstrapping of the ...
6
votes
1answer
465 views

Is juju only for cloud usage?

Can Juju be used on a single server to make it easier to deploy services like MySQL and any other Charms that are available? I understand that it is a tool to deploy and manage huge cloud servers but ...
5
votes
1answer
3k views

How do I prepare MAAS to serve images on OpenStack?

I've got Openstack ready with MAAS, how do I prepare the cloud with Ubuntu images so I can deploy it with Juju?
5
votes
2answers
850 views

How to resolve “ERROR machine is already provisioned” in manual provision set up?

I set up a manually provisioned environment successfully (in local network among x3 12.04 ubuntu servers.) However adding the second machine failed twice. After the third try (installed missing ...
4
votes
2answers
298 views

juju deploy: series does not match

I ran these commands: juju generate-config juju switch manual Then I edited the environment file to add the host address. Then: juju bootstrap juju deploy --to 0 juju-gui And I got the error ...
4
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 ...
4
votes
1answer
630 views

Post Deploy MAAS cleanup

I have a mostly working MAAS cluster. I'm still learning juju, but while I'm doing that, I wanted to take this opportunity to do some clean-up tasks. Here are my goals: Configure ntp on the nodes. ...
3
votes
1answer
222 views

Fault Tolerance With MAAS and juju

I have juju installed on the MAAS server, is it possible to do fault tolerance ? If is it possible, how do I apply?
3
votes
1answer
208 views

Computers not reporting to landscape

I had working Landscape after installing Openstack with openstack-installer. After some time, and after rebooting everything, and after some struggling with juju (Landscape is not running after a ...
3
votes
5answers
3k 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
686 views

How do I deploy a local charm from the Juju GUI?

Is there a way to configure Juju GUI deploy local charm? I install vagrant/virtualbox local provider but doesn't see this feature either.
2
votes
1answer
74 views

Is it possible to deploy multiple charms in one click?

I want to make a service consisting of multiple nodes running multiple services that work together. I can make a charm for every single node, but then the user would have to know what charms are ...
2
votes
1answer
653 views

juju bootstrap fails with connection refused errors

We have the following MAAS setup- One node is setup as the server with both MAAS cluster and region controllers running on it. We added 2 nodes which are in a private virtual LAN with the server node. ...
2
votes
1answer
205 views

“initialising SSH storage failed” on bootstrap with manual provider

I'm trying to use the manual provider to setup a juju environment on a remote server; when I try juju bootstrap I get: ERROR initialising SSH storage failed: failed to create storage dir: ...
2
votes
1answer
399 views

Deploying a Node.js app using Juju

A little background. We are attempting to improve the deployment flow of our Node.js application, and decided to investigate Juju. I am attempting to deploy a small practice express app (which does ...
2
votes
0answers
187 views

juju bootstrap fails in Azure (BadRequest - The affinity group name is empty or was not specified.) [closed]

Commmand and results copied below. I'm aware of https://bugs.launchpad.net/juju-core/+bug/1236136 but this is a separate issue as I am using the West US region for everything. This occurs when ...
1
vote
0answers
65 views

MaaS & juju not provisioning in parallel

If juju is provisioning serially, how do I get it to provision multiple machines in parallel? I can do 36 machine overnight (5 & 1/2 hours), but 1000 machine would, literally, take a week at the ...
1
vote
2answers
282 views

Ceilometer deployment

This is next question after making: Landscape openstack juju management Now I'm trying to deploy ceilometer. doing this by juju deploy ceilometer ...
1
vote
1answer
266 views

installing Ubuntu Openstack - Canonical Distribution on a virtual environment

I've tried to install Ubuntu Openstack - Canonical Distribution using this new Ubuntu guide. During step 3, i use the following command to install MaaS; sudo apt install maas I've received this ...
1
vote
1answer
95 views

How to locally add my charms to the juju-gui?

I know there are something like this export JUJU_REPOSITORY=/var/repository/charms or charms can be deployed by drag and drop from desktop directly to the juju-gui canvas. But i mean how add my ...
7
votes
1answer
157 views

How do I deploy a specific revision of a charm?

I am trying to deploy a charm, mongodb with the following: juju deploy mongodb but the newest revision introduced a bug, or for some other reason I want to deploy an older version of the charm, how ...
5
votes
1answer
608 views

Can I use juju with LXC in a non-local configuration?

I've looked at this post for setting up juju on a local environment with lxc. However, is there a way to use juju with lxc in a non-local environment? I am looking at a scenario where lxc containers ...
4
votes
1answer
44 views

What's the best way to have a charm control Juju?

Is it possible to a charm to ask juju to start another machine, add instances of a service or destroy instances? For instance, by doing something simular to the juju gui: how juju gui performs the ...
4
votes
1answer
891 views

hook failed: “shared-db-relation-changed” when using OpenStack in the same system as Juju/MAAS

I have been trying to setup OpenStack on 14.04 using one machine. I have managed to get MAAS setup and JUJU bootstrapped with two machines, one machine to MAAS and another node that I am trying to ...
4
votes
1answer
4k views

Why does upstart fail to start my juju service with Unknown job: juju-ubuntu-0?

I'm having issues launching juju on an lxc container through regular juju deploy commands: juju bootstrap juju deploy ubuntu The ubuntu juju status continually says pending. The LXC starts, and I ...
3
votes
0answers
173 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
367 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
1k 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 ...
2
votes
1answer
103 views

Can't upgrade juju from 1.25.3 to 1.25.4 due to missing tools

I am trying to upgrade juju version from 1.25.3 to 1.25.4. but I am getting error juju.cmd supercommand.go:429 no matching tools available Used the repository add-apt-repository ppa:juju/stable ...
2
votes
1answer
208 views

Is there a Juju REST API?

Is there a REST API for juju or the only possible ways to communicate with it are by juju command-line and juju gui? A service can communicate with juju main agent and, for instance, add a new unit or ...
2
votes
1answer
237 views

Cannot get juju works with OpenStack Juno

I am trying to use juju to work with OpenStack Juno but failed. The version of juju is 1.22.0-trusty-amd64. The VM is running and I can ssh into it, update / upgrade. Below is the steps I followed: ...
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
1answer
153 views

MAAS/juju not cleaning up nodes

I've been playing with MAAS and juju (using 14.04 LTS) for the first time and have a single node in my cluster which PXE boots fine via WOL when I do a juju bootstrap. I'm having an issue where after ...
2
votes
3answers
3k 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 ...
2
votes
1answer
433 views

Can't Deploy Wordpress with juju

Successfully deployed mysql on machine 0, and forced deployment of wordpress on the same machine, i.e., juju deploy --to 0 -repository:/xxxx local:trusty:/wordpress. juju status shows installation ...
2
votes
1answer
710 views

Can juju add-machine be used to prepare a machine for service deployment?

I'm using juju 1.16.3 and I am attempting to use juju add-machine to get a MaaS node ready for a service deployment. I want to get Ubuntu installed and ready so service deployment takes less time. The ...
2
votes
1answer
542 views

What's the lastest version of Openstack that I can deploy with Juju? Where can find this information?

I've been trying to deploy openstack. I thought Havana was the latest, but deployed nova cloud controller, and the log said 2013-10-24 19:13:25 INFO juju juju-log.go:66 nova-cloud-controller/0: ...
2
votes
1answer
438 views

Juju didn't configure rabbitmq for openstack?

I have installed ubuntu Openstack HA with juju with all 24 servers. But my openstack is not working at all. On dashboard on every page I get errors saying "could not retrieve usage information", ...
2
votes
2answers
293 views

Tried to follow the EC2 Juju guide and it fails

I am evaluating Juju and when following the very basic tutorial https://juju.ubuntu.com/docs/getting-started.html, literally following every single instruction to a T, all I end up when trying to ...
1
vote
1answer
316 views

Openstack-Install - Problem with juju bootstrap

Having problems running Openstack-Install, using MAAS and Autopilot. Getting error Problem with juju bootstrap. Complete .cloud-install/commands.log file: http://pastebin.com/ANBMZwLs It deploys a ...
1
vote
1answer
309 views

mysql/percona: Unable to set password for the Percona Server “root” user- ppc64el

Enviroment I work for IBM and trying to prototype netboot (pxe) for ubuntu. This question is used to identify an issue that was encountered when using juju to deploy the ...
1
vote
1answer
591 views

How to install MaaS correctly in Ubuntu Server 14.04 Trusty and commit nodes

I have been trying to install MaaS on my laptop with Ubuntu 14.04 server. I installed maas with Mutiple server install with MAAS and its running fine. Then I imported pxe-boot images and currently ...
1
vote
1answer
84 views

Is it possible to deploy to specific machine with bundle

I want to make a bundle where I specify which machine to deploy a charm to. Is this possible?
1
vote
1answer
131 views

Cannot bootstrap on MAAS due to invalid information for a node

Hello I have trying to bootstrap maas but when I do, I got this error ERROR failed to bootstrap environment: cannot start bootstrap instance: getInstanceNetworkInterfaces failed: invalid hardware ...
1
vote
1answer
129 views

Is there a way to statically map MAC addresses to IP addresses for machines in MAAS?

I have few (11) servers in MAAS that will be used for OpenStack deployment. I want to give specific IP addresses to specific nodes in the MAAS. Is there a way to map the MAC address to IP address so ...
1
vote
2answers
1k views

How do I deploy the OpenStack bundle to one machine?

Is it possible to deploy the OpenStack bundle to one machine with the CLI? Is it possible to edit the example.yaml bundle with --to machine? If yes, how?