Juju is a next generation service orchestration framework. It has been likened to APT for the cloud.

learn more… | top users | synonyms (2)

9
votes
2answers
15k views

Step by Step Install of MAAS and JUJU

I am working on understanding the pieces that I am missing in being able to deploy Juju across the other MAAS nodes. I don't know If I have a step out of place, or missing a few. The MaaS server ...
1
vote
2answers
1k views

juju credential error masage

Please check your credentials or use 'juju bootstrap' to create a new environment. Error details: no reachable servers. Error: Unable to connect to environment "maas". Please check your credentials ...
1
vote
1answer
37 views

When do relation-broken hooks get triggered?

Here (https://juju.ubuntu.com/docs/authors-charm-hooks.html), the section titled "-relation-broken" explains two scenarios when a relation-broken hook is triggered. It will only be called after ...
1
vote
0answers
252 views

deploying charms using juju fails with tcp connection timed out

Environment: juju bootstrapped environment with MAAS [ Juju 1.19.x] Connected to internet: wget https://store.juju.ubuntu.com/charm-info?charms=cs%3Atrusty%2Fjuju-gui-3 works with the charm ...
0
votes
1answer
45 views

Semantics of Containers, which is used to deploy service-units, are not clear

If we have a look at the status of a Juju environment we can see a set of machines and services. Within the services we can see a set of service-units. environment: local machines: "0": ...
1
vote
0answers
141 views

Can I setup MaaS/Juju and OpenStack completely offline?

I am trying to setup Openstack using the Ubuntu Cloud recommended way with MAAS + JUJU. I have some basic questions as I am very new to MAAS Setup. Can the MAAS Environment(including the minimal OS ...
0
votes
0answers
84 views

JUJU - deployed wordpress and mysql - Error establishing a database connection

After a week of deploying wordpress on juju with mysql, the site has gone down with the error: "Error establishing a database connection". Juju status is not working at all and I can't seem to ssh on ...
3
votes
1answer
144 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?
1
vote
1answer
104 views

Is there a way to force destroy a machine?

I've got a unit that is stuck in pending mode, how can I forcefully destroy it?
0
votes
1answer
13 views

Do I have to explicitly declare ports if I've defined an interface?

Do I have to do open_port 80 in my install hook if I declare my app to be http, or will juju expose do that for me?
1
vote
1answer
16 views

Trigerring hooks for user-defined events

If I look at the MySQL charm (https://jujucharms.com/precise/mysql-48/?text=mysql#code) it includes a lot of hooks. According to my understanding each hook is triggered by Juju runtime when deploying ...
1
vote
1answer
47 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 ...
1
vote
1answer
20 views

Relation between hooks and service's units in juju

Is the relation between hooks and services's units one-to-one or one-to-many? Consider: I have one charm as a service in juju. If I add another unit to same service, the system creates another hook ...
4
votes
1answer
420 views

Can I make the MAAS server Juju machine 0?

On a MAAS cluster, if I do a "juju bootstrap", it creates a bootstrapping node from one of the free machines in the MAAS cluster, which becomes machine 0. Is it possible for me to make the MAAS ...
2
votes
0answers
294 views

Swift Through Horizon

Deployed a single node swift, i.e., containing both swift-proxy and swift-storage charms, in a multi-node openstack environment. Here is my config file: swift-proxy: zone-assignment: 'manual' ...
2
votes
0answers
30 views

How do I keep Juju in sync across multiple computers? [duplicate]

Juju is great when it's being used on a single workstation. However I have two laptops, and a Desktop that I use fairly often. If I bootstrap an environment on my desktop, I'd like to interact with ...
1
vote
2answers
46 views

How to permanently remove a charm from the juju charms store?

I have already added a charm in juju charms store. Now I want to remove from the charms store. Can anyone explain how to do this?
4
votes
3answers
1k views

Juju remove units stuck in dying state so I can start over?

I have machines running on MaaS using Juju. Some of them failed to deploy because a hook didn't run because of an (invalid) setting I set in the config. In the Jju UI, I tried marking them as ...
0
votes
2answers
90 views

Can I implement a SaaS infrastructure with Juju?

My aim is to implement software as a service using cloud computing. Can we use Juju for implementation of Software as a service? We can deploy MySQL and Wordpress using Juju. But I want to install ...
4
votes
2answers
715 views

Juju returns “No matching node is available” when trying to bootstrap a MaaS

This is my error while doing bootstrap , the status of nodes i added were declared and now i have accept and commising and it says comminsing started , i need help please .. clusteruser@cluster:~$ ...
3
votes
2answers
2k views

Juju bootstrap gives me a “409 CONFLICT” error

am defining a Juju environment on Ubuntu 12.04LTS but when i give command "juju bootstrap", it generates error i.e Unexpected Error interacting with provider: 409 CONFLICT 2012-04-13 02:25:01,025 ...
1
vote
1answer
70 views

can't make juju charm-store server?

I am trying to run juju charm-server in my local machine.I followed these steps.(https://github.com/juju/charmstore) but it gives this error.When i enter make command it gives this one. Makefile:49: ...
2
votes
1answer
54 views

Can percona-cluster be used with LXC

Can percona-cluster charm be safely placed in anto LXC containers? If so, what would be the juju commands to achieve this?
2
votes
1answer
33 views

How to determine the IPs of other components while deploying a charm on nova-compute?

I am writing a custom charm that is installed on the nova-compute. D uring the installation, I need to configure some OS files with the information of OS controller, cinder, neutron gateway etc. ...
2
votes
3answers
83 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 ...
1
vote
1answer
111 views

juju illegal base64 data at input byte 9

After bootstrap a environment via manual provisioning, juju give me the following output for juju status: ERROR Unable to connect to environment "manual". Please check your credentials or use 'juju ...
1
vote
1answer
90 views

How can I configure multiple MaaS environments for juju?

i've realized a vMaaS with 3 vnodes where i deployed juju-gui (node1) and openstack in the other 2 nodes (node2,node3). These last ones at moment are in ready status on vMaaS. Then i've added other ...
1
vote
1answer
61 views

MaaS distributes new ip on every reboot

I have a working installation of MaaS in Version 1.5 on Trusty. I've deployed a juju bootstrap node already through it and have some 15 other physical machines in ready state. I've successfully ...
1
vote
1answer
52 views

Can't deploy charms due to missing metadata files

I'm trying to run juju deploy from my local repository: juju deploy --repository=charms local:precise/stack When I do I get this message: WARNING failed to load charm at ...
1
vote
0answers
411 views

Cannot Download Charm From juju-gui

Trying to do a simple provisioning through juju-gui, i.e., Mysql and Wordpress combo; however, when I press the deploy button, I get the following notification: Error deploying mysql Could not deploy ...
1
vote
1answer
76 views

Error Message `code.google.com/p/go.crypto/pbkdf2 file not found`

I am new to GO language. I want to make a juju charm-store server but it's giving me this error: imports code.google.com/p/go.crypto/pbkdf2: exec: "hg": executable file not found` this is the ...
1
vote
2answers
207 views

juju bootstrap ssh no route

the problem is based on the context of VirtualBox, they are set on 3 virtual machines whose nodes are associated with a cluster controller, however when it completes the execution of "juju bootstrap" ...
1
vote
1answer
163 views

juju handshake node error..why (juju.state open.g:93 TLS handshake failed: x509:certificate has expired or is not yet valid

there is an error on the node..reads 2014-05-25 14:00:00 ERROR juju.state open.g:93 TLS handshake failed: x509: certificate has expired or is not yet valid 2014-05-25 14:00:01 ERROR juju.state ...
1
vote
2answers
299 views

How to reset MAAS 1.5 , LTS 14.04 Setting

I've been experimenting with MAAS, following https://insights.ubuntu.com/2013/11/15/interested-in-maas-and-juju-heres-how-to-try-it-in-a-vm/, using 14.04. I must done something wrong, as I am not able ...
-1
votes
1answer
24 views

juju charm relation-joined hook not working?

i have two charms and i want to build relationship and get details from server charm(server charm and application charm).Now i can add relationship.But it is not running application-relation-joined in ...
3
votes
1answer
548 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 ...
4
votes
1answer
220 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 ...
2
votes
1answer
102 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 ...
1
vote
1answer
74 views

juju add a unit to a pending agent

I do have a service with a unit pending because theres no machines to add that unit. After I add a machine, how to assign the pending unit to that machine? I've searched under google and in the ...
1
vote
0answers
264 views

Connect VM directly to external network in openstack

I have installed openstack using MaaS and JuJu on Ubuntu 14.04 machines. I am using Neutron openstack for networking which is installed on a VM. I can assign a floating IP to VM and ping it. However ...
1
vote
1answer
40 views

juju server relation hook files are not running?

Hi This question based one this link.How do I add a relationship between two charms to pass information between them? want to add relation to two charms.First one is server charm and other one is ...
2
votes
1answer
480 views

JUJU MAAS Bootstrap all on VM

1) I have maas server on Vm with 4 node all ubuntu 14.04 trusty 2) I have another VM as JUJU server i tried to bootstrap juju i got this error: ERROR bootstrap failed: cannot upload bootstrap tools: ...
5
votes
1answer
194 views

How do I add a relationship between two charms to pass information between them?

I am new to juju. So far I have created and started deploying one application charm and sever charm separately. But now from the application I need to add relationship to server charm and get details ...
1
vote
0answers
262 views

Creating custom images for MAAS install

I am trying to deploy a Juju charm which requires an updated 3.11 kernel on Ubuntu 12.04. Since kernel update requires a reboot, I'm thinking of creating a custom image which has the updated kernel. ...
0
votes
3answers
113 views

Installing and start using juju in ubuntu

I am new ubuntu user . I am looking forward to install juju core in ubuntu and learn how to use it. My environment : Installed a VM using Oracle Virtual box. Ubuntu 13.10 How do i install and ...
1
vote
1answer
30 views

How can you change position of a machine in juju?

After I have destroyed a machine with the following command: $: juju destroy-machine --force 3 in an juju environment. My question is; is there a way to say to a new node added in Juju to use as ...
0
votes
1answer
106 views

deploy a swift-storage in juju

deploying the swift-storage in a vnode after the status the result is this swift-storage-zone2: charm: cs:trusty/swift-storage-2 exposed: false units: swift-storage-zone2/0: ...
2
votes
2answers
379 views

How to use juju with a VPS host?

Is possible to use juju with a VPS hosting provider? I think "local enviroment" is the most close option, but I realize that is not possible to have access to it through other enveriments.
0
votes
1answer
376 views

Juju Icehouse-Openstack LXC

Trying to instantiate an LXC image on a compute node, by changing virt-type (string) field, under nova-compute charm to lxc. This, however, does not update the virt_type, in nova-compute.conf file. ...
0
votes
1answer
353 views

How to correctly configure cinder charm to use loopback device for storage?

I am using the cinder charm (cs:trusty/cinder-4) and am trying to deploy on a machine with only a single disk. What's the right way to specify using a loopback file? Based on examples I have seen, I ...