Ubuntu – problem with juju on Ubuntu Openstack – Canonical Distribution


During the installation of Ubuntu Openstack – Canonical Distribution (step 4 ubuntu.com/download/cloud/install-ubuntu-openstack) I've received an error with Juju.
Juju made the bootstrapping of the node, the ubuntu installer started but at the end of the procedure the node went in shut down. I've tried to resolve that editing the environments.yaml file and added the bootstrap-timeout to 3600, (all vnode use the fastpath-installer),

sudo nano /usr/share/openstack/templates/juju-env/maas.yaml

like that

default: maas

    type: maas
    maas-server: 'http://x.x.x.x/MAAS/'
    maas-oauth: 'LnLE8w3grRK6hLcVgF:xxxxxxx'
    admin-secret: richardsith
    default-series: trusty
    authorized-keys-path: ~/.ssh/id_rsa.pub
    apt-http-proxy: 'http://x.x.x.x:8000/'
    lxc-clone: true
    bootstrap-timeout: 3600

    type: openstack
    use-floating-ip: true
    use-default-secgroup: true
    network: ubuntu-net
    auth-url: http://keystoneurl:5000/v2.0/
    tenant-name: ubuntu
    region: RegionOne
    auth-mode: userpass
    username: ubuntu
    password: richardsith

and then I run the command

 $: sudo openstack-install

enter image description here

enter image description here

after that the node made the reboot and during the boot I saw that

enter image description here

after some minutes the installer went head

enter image description here

the node means ready but after few seconds went down, and on .commands.log the log is this


I've also try to make the bootstrapping manually with debug with juju receiving the following log http://paste.ubuntu.com/9342625/

Best Answer

This step has been resolved extended the bootstrap-timeout to 3600 in the last upgrade of Ubuntu Openstack - Canonical Distribution. To make that run the following commands

sudo apt-get update
sudo apt-get dist-upgrade

See this link https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/280#event-204277001

With this solution the installer, in my lab, has continued with the procedure.

Related Question