Juju is a next generation service modelling and execution framework.

learn more… | top users | synonyms (2)

3
votes
1answer
75 views

How to get $db_host as domain from Juju?

I'm using a manual enviroment with Juju, and to not lose the machines I've added them all as machinename.local (using avahi-discover). It's not possible to use static ips because of some rules from ...
3
votes
1answer
33 views

On what events the “install” hook get triggered

I am looking at this doc https://juju.ubuntu.com/docs/authors-charm-hooks.html which says the install hook is run first, but it does not specify which triggers the "install" hook. Is "juju deploy" ...
3
votes
1answer
330 views

Problems with Ceph installation in Juju deployed OpenStack environment

We are running in to an issue setting up ceph to be used as backend for cinder using the charms. Our environment consists of OpenStack icehouse on Ubuntu 14.04 (Trusty). Most of the documents on ceph ...
3
votes
1answer
1k views

MAAS PXE_BOOT: How can i limit what images are downloaded from the command 'import-boot-images'

I'm setting up a MAAS server where i want to download only one image for my nodes to boot via PXE_Boot. when i initiate a command to import boot images i want to restrict to download only 14.04, how ...
3
votes
1answer
460 views

juju bootstrap in maas fails to retrieve juju tools

I installed MAAS, added the Nodes and created the juju but while i tried the following code juju bootstrap I am getting this error. WARNING no tools available, attempting to retrieve from ...
3
votes
1answer
363 views

How can I change the version (default-series) that Juju deploys?

I have installed MAAS server on one machine and have two other nodes. In the web interface of the MAAS server I have set distro to 13.10 and commissioning to 13.10. When I use juju bootstrap it ...
3
votes
2answers
1k views

Juju/MAAS in vSphere to test OpenStack

I have the below setup in my lab vSphere to test Openstack deployment with juju. MAAS server vm have 2 interfaces [ one have internet access using proxy and another internal 192.168 n/w for dhcp and ...
3
votes
2answers
594 views

juju cant ssh service units

I have deployed Ceph with Juju. I am trying to ssh in with the following command: sam@maas01:~$ sudo juju ssh ceph/0 Permission denied (publickey,password). error: exit status 255 I have my public ...
3
votes
1answer
1k views

configure juju with openstack using keystone

I am trying to integrate juju with openstack. I have a virtual machine and on that I have installed openstack grizzly using devstack script. Now I want to configure juju with openstack (want to ...
3
votes
1answer
276 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
1k views

Juju + openstack. Bootstrap is successful, But cant create any other services

A bit of context. I'm running Openstack, deployed via MAAS running in VMWare 5.1u1. I used this guide for MAAS: http://maas.ubuntu.com/docs/quantal/install.html And this one for Openstack: ...
3
votes
1answer
263 views

How can I see the juju-core debug-log without tailing it?

I wanted to watch my env get deployed using the debug-log command juju debug-log But I forgot, so now my env is deployed so tailing the log is useless. Where can I find the full log?
3
votes
1answer
547 views

How do I configure Juju for use on Azure?

I usually setup my entire stack with apt-get packages, however I thought I might give Juju a try. I'm using a fresh copy of Ubuntu 13.04 on Azure. I managed to install install the juju package and ...
3
votes
1answer
138 views

Extending Apache charm to include Apache Modules

I want to deploy apache with modules such as mapcache and mapserver. Can the apache charm be reused as a library? The apache charm is non-trivial so I don't want to copy the apache charm module and ...
3
votes
1answer
596 views

Does MaaS have any log?

Using following articles, Testing MAAS Ubuntu Cloud Infrastructure with MAAS and Juju I tried to setup Ubuntu Server 12.04's private cloud in a virtual environment provided by KVM and ...
3
votes
1answer
422 views

How to configure jenkins using juju charm

I already have installed the jenkins charm. My question is how can I configure jenkins before deploy/after installation automatically? I want to authomatically, for example, install the github plugin ...
3
votes
1answer
1k views

How do I configure Juju to use Amazon Web Services (AWS)?

I'd like to deploy services on AWS, how can I configure Juju to do this?
3
votes
1answer
89 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
172 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
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 ...
3
votes
1answer
3k 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
357 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
1answer
142 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
274 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
2k 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
859 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
256 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
3answers
83 views

Cleanup rabbitmq queue

how can I cleanup (delete messages) in a rabbitmq queue? I'm using Ubuntu 14.04 and rabbitmq-server 3.2.4-1 Example: # rabbitmqctl list_queues -p openstack Listing queues ... ... notifications.info ...
3
votes
1answer
31 views

How to use fabric with juju

I'm using the python-django charm to deploy a small django-based site, with the local provider for test purposes. So far the deployment itself has worked, but I'd like to be able to manage the site ...
3
votes
1answer
216 views

LXD and Juju management

Would it be practical to create LXD containers on different servers and in the container use Ubuntu and juju? If it is, could juju see LXD containers as different machines?
3
votes
1answer
160 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
2answers
374 views

can't bootstrap in Landscape OpenStack Autopilot

I use MAAS to make landscape openstack outopilot. I use sudo openstack-install but failed. This is my commands.log INFO • 01-28 11:21:33 [LINE:156, FUNC:<module>] • cloudinstall • cloud-install ...
3
votes
1answer
88 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
250 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
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 ...
3
votes
1answer
76 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
97 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
1answer
239 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
490 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
188 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
333 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
171 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
945 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
260 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?