Tagged Questions

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

learn more… | top users | synonyms (2)

1
vote
1answer
37 views

How can i change the admin-secret for juju?

Is there a way, how can I change the admin-secret password for Juju with MAAS environment once the Juju is bootstrapped? I know that I can specify that field BEFORE in enviroments.yaml by ...
1
vote
1answer
21 views

How to report a bug and contribute a fix for juju

What process should I follow as a user of juju or a developer wishing to contribute a patch or bugfix to the project? The answer should include: How to file a bug and where? How to propose a patch ...
1
vote
0answers
233 views

How to solve openstack instance error “no valid host found”?

I've deployed openstack using juju and tried to launch a new instance which gives an error "no valid host was found". I've checked out other questions on this community and across the web with same ...
2
votes
1answer
106 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. ...
3
votes
1answer
56 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 ...
1
vote
1answer
35 views

How to rearrange machine numbers on Juju?

I have this output from juju status: environment: manual machines: "0": agent-state: started agent-version: 1.20.9 dns-name: juju.local instance-id: 'manual:' series: trusty ...
0
votes
1answer
23 views

How can I automatically restart charms after boot up

Here is the case: How can I automatically restart charms after boot up?
2
votes
1answer
56 views

Can not login to OpenStack Dashboard

When i try to log in to OpenStack Dashboard i get this error."An error occurred authenticating. please try again later." I also saw that i need to point the dashboard toward keystone via the ...
3
votes
0answers
105 views

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

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: ...
0
votes
0answers
30 views

how to destroy the machine of dead [duplicate]

$juju status environment: maas machines: "0": agent-state: started agent-version: 1.18.4 dns-name: node11.maas instance-id: ...
0
votes
1answer
32 views

MAAS - Choose a Mirror of the Ubuntu Archive: Bad archive mirror

I'm testing MAAS in a virtual network on Ubuntu Trusty LTS. I done the following steps: Importing the boot images. Creating 6 virt-nodes, and making their boot as PXE. The nodes already added to ...
0
votes
1answer
302 views

How to launch instance in openstack when error says “no valid hosts found”?

I've deployed openstack using juju on maas. I've created few images and trying to launch a new instance like CirrOs test instance. I'm getting error saying "no valid hosts found". I've checked my ...
0
votes
1answer
119 views

Ubuntu Openstack cloud-installer error: kvm container creation failed

I'm trying to install OpenStack on an older server using the Ubuntu cloud-installer. I have virtualization enabled in BIOS and kvm-ok tells me that I'm good to use KVM with acceleration. $ kvm-ok ...
1
vote
1answer
46 views

how to deploy puppet master and puppet agent with juju?

I've an ubuntu 14.04lts server with MaaS and Juju, and both of them are installed via ppa stable. I'd like to deploy puppet master on a Juju node and puppet agent on the other node present on my ...
1
vote
1answer
136 views

Error bootstrapping juju environment maas, crypto/rsa: verification error

I bootstrapped the juju environment for maas. It was working fine but, my bootstrapped node formatted due to network boot. I then removed juju and deleted the environments directory and reinstalled ...
0
votes
1answer
19 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
1answer
24 views

Cannot deploy juju charms

I have a switch connecting all my nodes and NIC 1 from the maas server. NIC 2 is connected to the internet(external access). I enabled IP forwarding and NAT to allow our nodes to get external access. ...
0
votes
1answer
32 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": ...
0
votes
1answer
54 views

MAAS Cluster without juju and Openstack

I couldn't find proper documentation about MAAS installation but finally I made my own MAAS server and 1 node and it is working now. My idea about MAAS was that nodes share their computing power with ...
0
votes
0answers
44 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 ...
1
vote
1answer
77 views

Juju how to resolve this error “ERROR cannot assign unit ”xxxx“ to machine 1: series does not match”

After to make the upgrade of MaaS via ppa stable and installed Juju by ppa stable, during the deploy of the service I've received this error $: juju deploy --to 1 mysql Added charm ...
0
votes
1answer
21 views

juju Charmstore server install failed

i want to install juju charm store in local machine.After i installing charm-store(https://github.com/juju/charmstore) i retrieve some charms from public repository using charmload ...
1
vote
1answer
47 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
11 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
13 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
29 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
0answers
96 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 ...
3
votes
1answer
120 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
15 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 ...
0
votes
1answer
40 views

How Can I define machine when I try to add units on JUJU web interface?

Here is the situation: I have my charm deployed using Juju and MAAS. When I try to add units using the GUI for the same charm the machine incrementally goes from machine #1 to machine number #n (n ...
2
votes
0answers
29 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 ...
0
votes
1answer
46 views

How to setup a server for my application for cloud computing?

Requirement: I am the developer of a software which can do enormous number crunching. The number crunching software should be installed on the server. I have a client side application which ...
1
vote
1answer
61 views

Horizon dashboard not run

I've a question for you, after to deploy all service via Juju to realize a Cloud infrastructure using Openstack, I can not open the Horizon Dashboard. In Juju-gui ...
1
vote
1answer
26 views

Charm Using RabbitMQ

Here is problem: 1) I have a RabbitMQ on JUJU 2) I have a charm , it tries to use RabbitMQ, written by java , I'll call it myCharm. 3) myCharm needs Hostname or ip address of rabbitMQ How can I ...
0
votes
2answers
46 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 ...
0
votes
1answer
134 views

Juju bootstrap environment fails

i have a problem during deploying my first juju environment "maas". The host is commissioned by MAAS but during the juju deployment there is this error: Setting up libtcmalloc-minimal4 (2.1-2ubuntu1) ...
1
vote
1answer
32 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 ...
0
votes
1answer
79 views

After reboot allocated node gets commissioned again

si had set up a maas with juju and deployed Openstack into it for testing. During my vacation i shut down all computers. Afterwards i started at first the maas server, then the node where juju was ...
2
votes
3answers
56 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
53 views

juju error: certificate expired/not-valid

On Ubuntu 14.04, I'm seeing below errors in juju machine log after deploying a juju charm for nova-compute : 2014-08-18 06:50:42 ERROR juju apiclient.go:119 state/api: websocket.Dial ...
2
votes
0answers
191 views

Juju deployment fails due to “container failed to start” error

I had tried to deploy mysql and i had this error: agent-state-info: container failed to start Outputs from log as following: Line 47: machine-0: 2014-08-14 02:02:30 INFO juju.state.api ...
1
vote
1answer
56 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
1answer
53 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: ...
1
vote
1answer
23 views

Need help for run charm-server in local server?

Hi i need to run juju charm-store in my local machine.i clone this one(https://github.com/juju/charmstore) and try to run the server.but it failed.i want to install juju-server and build environment ...
4
votes
2answers
102 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 ...
2
votes
1answer
32 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. ...
1
vote
1answer
91 views

How to give a Juju charm a static ip address - wordpress

I have a wordpress charm installed via juju. In order for me to access this charm through public ip, I port forwarded the ip into my server's public ip address. Recently, the ip address of the ...
0
votes
1answer
31 views

How do I use fastcgi with the apache2 charm?

I need use mod-fastcgi, How i can config with the juju precise apache2 ? I use : juju set apache2 enable_modules=fastcgi return by juju debug-log : unit-apache2-1: 2014-08-06 01:37:42 INFO ...
1
vote
1answer
61 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
32 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?