Juju bootstrap, install

Posted by Robert G. on Ask Ubuntu See other posts from Ask Ubuntu or by Robert G.
Published on 2014-06-06T19:57:01Z Indexed on 2014/06/10 9:41 UTC
Read the original article Hit count: 395

Filed under:
|

I would like to test MAAS + JUJU + OpenStack (I followed the documentation on maas.ubuntu.org)

I already made a test environment:

  • 1 MAAS server wich will also run JuJu
  • 10 KVM servers for Openstack

The KVM servers are already in "ready" state in MAAS.

I would like to set up JuJu but i could not which is drives me crazy.

My environments.yaml:

environments:
maassrv:
type: maas
maas-server: 'http://${192.168.1.116}/MAAS/'
maas-oauth: 'my-key-from-maas'
authorized-keys-path: /root/.ssh/id_rsa.pub
admin-secret: 1234
default-series: trusty

When I run "juju status -e maassrv` :

ERROR Unable to connect to environment "maassrv".
Please check your credentials or use 'juju bootstrap' to create a new environment.

Error details:
environment "maassrv" not found

OK, it's right, so i should run juju bootstrap -e maassrv:

ERROR environment "maassrv" not found

When i run the command without the -e switch:

error: no environment specified

So, I am stuck here, I already added the required ssh keys to maas too. I ran out of ideas why it isn't working.

© Ask Ubuntu or respective owner

Related posts about juju

Related posts about maas

  • MAAS not working

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I'm trying a whole week to make MASS to work, but no results. This is the procedure: maas createsuperuser sudo apt-get install maas-dhcp maas-import-isos apt-get install maas-enlist tftpd-hpa maas-import-isos After this I start node machine with PXE as default first boot device, and select option… >>> More

  • Step by Step Install of MAAS and JUJU

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    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 server owns the router which handles the DHCP and DNS. Any assistance is greatly appreciated. When I am at the end… >>> More

  • MAAS nodes stuck on "maas-enlisting-node"

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I am trying to set up an MAAS cluster, but am having some issues adding nodes. The nodes boot up from the TFTP server on the master server, display a login screen (with the hostname "maas-enlisting-node") and stop. I cannot log in with ubuntu/ubuntu or with my SSH keys. The MAAS server is running… >>> More

  • Unable to uninstall maas completely

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I'm not able to uninstall MAAS sudo apt-get purge maas ; sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done Package 'maas' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 2 not fully… >>> More

  • not able to upgrade maas to 1.4?

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I am running ubuntu 13.04 LTS, and maas version runnung is maas 1.3+bzr1470+dfsg-0+1474+175~ppa0~ubuntu13.04.1, so i'm trying to upgrade it to mass 1.4 but its failing, sam@xsmaas01:~$ sudo apt-get install maas [sudo] password for sam: Reading package lists... Done Building dependency tree … >>> More