Questions tagged [juju]
Juju is a Charmed Operator Framework, composed of a Charmed Operator Lifecycle Manager and the Charmed Operator SDK.
1,430
questions
9
votes
2
answers
24k
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 ...
3
votes
1
answer
124
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 ...
4
votes
1
answer
235
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?
OK ...
5
votes
3
answers
663
views
How to deploy multiple juju services on the same server with MaaS
I have 6 services that I need to deploy with 5 physical servers. Would it be ok to deploy juju gui with haproxy? How would you deploy multiple services to one server. I saw some documentation for ...
5
votes
1
answer
477
views
Is there a way to set the MAAS password via a preseed?
As has been asked before (here and here) I need to set a password during commissioning for my nodes. I realize that ssh keys are set (and I have one) but I need to log in to the node directly as ...
1
vote
1
answer
419
views
How do I fix a "failed to list contents of container" error?
I'm running Juju in the Windows 7 OS. When running juju bootstrap, the following error occurred:
C:\Users\t00106584>juju bootstrap
error: failed to list contents of container: juju-...
1
vote
1
answer
212
views
How do I find the credentials for PostgreSQL deployed via a charm?
I have deployed the postgresql charm (the recommended one) and tweaked its configuration but now I would like to know the parameters to connect to it like username, password... in the readme there is ...
2
votes
1
answer
434
views
Does the juju charm for postgresql automatically replicates if set up manually?
The recommended juju charm for postgresql states a nice feature in its readme which is when configured as a standalone server it has the ability to become a master / slave with replication when adding ...
2
votes
1
answer
219
views
How can I deploy a new service in Juju GUI specifying the destination machine?
I would like to deploy a new service in the juju GUI specifying on which machine it should run. I mean the equivalent of doing juju deploy --to 0 mysql.
2
votes
1
answer
2k
views
How to remove a relation in Juju after destroying one of the associated services?
I am trying out Juju and while playing I created a service, Django, and then Mongodb. I associated them and then destroyed mongodb. Now my Django service is in an error status: agent-state-info: 'hook ...
3
votes
1
answer
131
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 ...
2
votes
1
answer
243
views
How can I know which machine Juju is actually using?
I am trying Juju on Azure and I have installed quite a few services that I have now destroyed to keep only the minimum services. But now I can see I have 8 virtual machines created on Azure while I ...
0
votes
1
answer
98
views
Problem with IP Openstack MAAS
So i'm using Ubuntu Server 12.04LTS and MAAS with JuJu OpenStack Folsom.
I'm already have one problem with Nova Network. When i using Quantum Gateway in Quotas show me fixed IP -1.
What's the problem?
0
votes
1
answer
305
views
Juju-Gui Charm API did not respond
After deploying juju-gui, It isn't able to communicate with the Charm API for some reason.
When looking into the Chrome debugger I get errors like
XMLHttpRequest cannot load https://manage....
5
votes
4
answers
3k
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 /etc/default/...
0
votes
1
answer
404
views
Problem with upload images openstack
I'm working with MAAS and juju. And I use 6 nodes for Openstack.
Everything goes good! But when I try to upload ubuntu-cloud-image there are errors.
Thu Sep 26 09:43:43 UTC 2013: ====== extracting ...
2
votes
1
answer
581
views
Does juju helps to build own private cloud?
Will juju help me to create my own cloud for my organization, we want to create private cloud for my organisation if it helps what are the guidelines that we need to got through?
1
vote
2
answers
2k
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
1
answer
63
views
Is there a juju PostGIS charm out there?
I wonder if somebody has created if someone knows if exists a Postgis juju charm out there. Any help is very welcome.
0
votes
1
answer
330
views
juju can not reach servers
I installed maas server and juju client tools, but when I try to run any deploy command or run juju status I get these error messages:
Please check your credentials or use 'juju bootstrap' to create ...
7
votes
1
answer
312
views
Should MaaS and Juju get installed on one of my servers or on a client system?
I've been struggling with MaaS and Juju slightly. I have two servers that I want to use as nodes, but I am unsure of where to install MaaS and Juju.
Do they get installed on one of my two servers?
...
1
vote
1
answer
454
views
How can I debug a juju client command?
I'm having issues bootstrapping with juju, where are logs that I can review?
7
votes
2
answers
3k
views
Juju GUI public IP
I have been trying to install juju with juju-gui on my virtual machine (Fresh installation Ubuntu 13.04 64-bit)
To configure my local environment I installed mongodb-server and lxc.
After ...
2
votes
1
answer
770
views
Scaled down Openstack Grizzly installation with Juju and Maas
I would like to test Openstack Grizzly deployment in the similar way described in How can I install Openstack Grizzly using Juju and MAAS? with a limited number of servers, leveraging on Virtual-Maas ...
3
votes
1
answer
417
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 ...
4
votes
1
answer
8k
views
juju error: hook failed: "config-changed"
I am deploying ha ha cluster for keystone, cluter is up and both units are showing agent state "Started" but one unit is showing error as "error: hook failed: "config-changed"
I sshed to that unit and ...
4
votes
1
answer
1k
views
Not able to destroy service as agent-state is down
I am unable to destroy service as on of the unit agent says its down. I see that this bug has been fixed as stated here unit destruction depends on unit agents
But I am not getting whats the solution ...
1
vote
1
answer
165
views
12.04 Keystone charm fails to deploy: How do I debug it?
I have a MaaS setup and on top of that I'm trying deploying openstack, following the video at https://www.youtube.com/watch?v=V2H3fat0K5w
The problem I am having is that the keystone charm keeps ...
1
vote
1
answer
147
views
Configure a container for using it with juju
Is there a way to use juju o LXC containers that have not been created by juju bootstrap? The only configuration options for local containers are the root-dir and the admin-secret, which I understand ...
5
votes
1
answer
220
views
Is it possible to trace the add-relation hooks in debug-hooks window?
Is it possible to trace the add-relation hooks in debug-hooks window? Are there particular environmental variables I need to set to be successful?
My juju-core version is 1.13.3.
I want to observe ...
17
votes
1
answer
31k
views
How to set environment variable before running script inside hooks/install?
I am create a simple charm to get my symfony2 webapp from git and deploy it on ec2.
After getting the source from git, I want to run composer to resolve dependencies but I keep getting this error:
...
1
vote
2
answers
535
views
"Unexpected Error interacting with provider: 403 FORBIDDEN" error when trying to bootstrap
in the maas portal :ht tp://192.168.101.148/MAAS,i can see 6 nodes,and the status are all:ready.
and my environments.yaml file is :
environments:
maas:
type: maas
maas-server: ht tp:/...
1
vote
1
answer
213
views
Can I deploy Juju on Eucalyptus?
Please let me know if I can deploy juju on Eucalyptus, if yes please provide me the configuration details which i need to edit on environments.yaml file.
4
votes
3
answers
37k
views
"psycopg2.OperationalError: could not connect to server: Connection refused" error when bootstrapping
After the successful import of the ssh keypairs, the bootstrap generates this error.
Can anyone help me?
connection_factory=connection_factory, async=async)
psycopg2.OperationalError: could not ...
2
votes
1
answer
2k
views
Installing ceph and ceph-osd charms on same machine?
I have 3 ceph nodes, I have decided to install ceph monitor plus ceph osd on all 3 servers. In order to do that I deployed 1st ceph charm on all 3 nodes. Till here everything was fine, I was even able ...
2
votes
1
answer
93
views
How do I install a Ubuntu on the cloud that can be accessed by any computer browser?
I would like to install Ubuntu and eventually a virtual OS of windows inside Ubuntu in the cloud that can be accessed by any browser. In case I lose or damage my computer I wish not only to access ...
3
votes
1
answer
1k
views
juju hangs when connecting to mongo
Whenever I run any juju activity which connects to mongodb, the connection seems to connect OK but hang. I'm using the stable ppa and running on ubuntu 13.04 desktop.
$ juju status --debug
2013-09-05 ...
5
votes
2
answers
4k
views
ceph status fails due to "ERROR: missing keyring" error
I have deployed 3 ceph mon nodes using juju and maas. From juju status all ceph mon nodes are up and fine. but i did ssh into one of the ceph node and was just trying to get ceph status. and its ...
3
votes
1
answer
348
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 ...
4
votes
1
answer
2k
views
agent-state-info: 'hook failed: "config-changed" deploy wordpress using juju
I have one virtual machine on Windows Azure.
I have installed juju inside my virtual machine.
I want to deploy wordpress on my vm. I'm run on 64 bit machine
I've read this blog about step by step how ...
1
vote
0
answers
25
views
is openstack swift required for juju integration? [duplicate]
For juju integration with openstack, is swift object store a requirement?
I have a private setup with nova-compute, nova-network, keystone and glance. But don't have swift. Exact question had been ...
3
votes
2
answers
992
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
1
answer
2k
views
juju error: flag provided but not defined: --force-machine
I am running command,
>juju deploy --config ceph.yaml --force-machine 1 local:ceph-osd
Which giving me error
error: flag provided but not defined: --force-machine
Any idea? if its syntax error ...
1
vote
3
answers
1k
views
Is it possible to deploy a juju service to multiple specific machines?
i am trying to deploy HA ceph like shown in OpenstackHA But i wanted to deploy Ceph MON and Ceph OSD on same 3 machines. So in order to that, my 1st cmd will be,
juju deploy --config local.yaml -n 3 ...
3
votes
1
answer
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 ...
1
vote
1
answer
296
views
Juju can't connect to environment
I have been trying to run juju status -e maas but it keeps giving me the error
2013-08-12 10:00:48,301 INFO Connecting to environment...
2013-08-12 10:00:48,357 ERROR Cannot connect to environment: ...
2
votes
2
answers
671
views
Is the nginx charm stable for production?
I'll like to use the nginx charm in production and will like to know if it's stable and ready enough for production.
Yes, I'm talking about specific juju charm for Nginx. I'm talking about this:
...
0
votes
1
answer
1k
views
error: environment has no access-key or secret-key
I just installed a juju enviornment, which required me to make this ssh-key prerequisite for later on,
ssh-keygen -t rsa -b 2048
But I think I made a fatal error by leaving the file to save the ...
2
votes
2
answers
772
views
Cannot bootstrap due to clout-init "errors running cloud_config [final]: [scripts-user]"
I have installed maas server and configured juju also, And bootstrapped juju for 1st time, which I know will install zookeeper on 1 "ready" state VM available in MAAS.
So I observed this ...
1
vote
0
answers
46
views
Bootstrapping Juju 1.13 to private OpenStack [duplicate]
I've been trying for ages now to get Juju to bootstrap with my private OpenStack installation. Starting with 1.11 I've been stuck with this error during bootstrap:
error: cannot start bootstrap ...