Landscape fails during juju bootstrap

Bug #1461003 reported by Dgn_OABS
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-installer
New
Undecided
Unassigned

Bug Description

I've got my MAAS and behind my server I've got my 5 nodes (VM and Machine) all are ready to use (status ready in MAAS)

First I used MAAS and JUJU without Landscape and it works perfectly fine. Juju bootstrap OK. Use charm OK. I installed charm like mysql and wordpress. After that I destroyed my bootstrap environment to use the autopilot.

I used this:

sudo add-apt-repository ppa:cloud-installer/stable

sudo apt install openstack

sudo openstack-install

I launched all these commands on my Maas server.

But I've got this an error "Problem with JuJu bootstrap"

And I don't understand why ?

Here is my ~/.cloud-install/commands.log

[DEBUG • 06-01 18:19:46] • cloudinstall.ui.dialog • (dialog.py, _build_widget, 93)]
   Num items: 2, items: <ListBox selectable box widget>
[DEBUG • 06-01 18:19:56] • cloudinstall.ui.dialog • (dialog.py, submit, 111)]
   Callback on : OrderedDict([('password', <EditInput selectable flow widget>), ('confirm_password', <EditInput selectable flow widget>)])
[DEBUG • 06-01 18:20:48] • cloudinstall.ui • (__init__.py, submit, 214)]
   Callback on : OrderedDict([('Landscape OpenStack Autopilot', (<RadioButton selectable flow widget 'Landscape OpenStack Autopilot' state=True>, 'Benefit from best practices in c$
[INFO • 06-01 18:20:48] • cloudinstall.install • (install.py, do_install, 129)]
   Performing a Landscape OpenStack Autopilot install
[DEBUG • 06-01 18:20:48] • cloudinstall.ui.dialog • (dialog.py, _build_widget, 93)]
   Num items: 4, items: <ListBox selectable box widget>
[DEBUG • 06-01 18:23:07] • cloudinstall.ui.dialog • (dialog.py, submit, 111)]
   Callback on : OrderedDict([('admin_email', <EditInput selectable flow widget>), ('admin_name', <EditInput selectable flow widget>), ('maas_server', <EditInput selectable flow w$
[DEBUG • 06-01 18:23:07] • cloudinstall.landscape_install • (landscape_install.py, _save_lds_creds, 81)]
   Existing MAAS defined, doing a LDS installation with existing MAAS.
[DEBUG • 06-01 18:24:23] • cloudinstall.utils • (utils.py, ssh_genkey, 819)]
   ssh keys exist for this user, they will be used instead.
[DEBUG • 06-01 18:24:23] • cloudinstall.multi_install • (multi_install.py, do_install, 137)]
   Bootstrapping Juju: JUJU_HOME=/home/tibo/.cloud-install/juju juju bootstrap
[DEBUG • 06-01 18:32:54] • cloudinstall.multi_install • (multi_install.py, do_install, 143)]
   Problem during bootstrap: '{'status': 1, 'output': 'Bootstrapping environment "maas"\nBootstrap failed, destroying environment\nERROR failed to bootstrap environment: Juju cannot bootstrap because no tools are available for your environment.\nYou may want to use the \'agent-metadata-url\' configuration setting to specify the tools location.\n\n'}'
[DEBUG • 06-01 18:32:54] • cloudinstall.utils • (utils.py, global_exchandler, 63)]
   Traceback (most recent call last):
  File "/usr/share/openstack/cloudinstall/utils.py", line 78, in run
    super().run()
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/openstack/cloudinstall/machinewait.py", line 127, in do_continue
    self.installer.do_install()
  File "/usr/share/openstack/cloudinstall/multi_install.py", line 144, in do_install
    raise Exception("Problem with juju bootstrap.")
Exception: Problem with juju bootstrap.

[INFO • 06-02 12:05:03] • cloudinstall.utils • (utils.py, cleanup, 91)]
   Cleanup, saving latest config object.
[DEBUG • 06-02 12:05:03] • cloudinstall.utils • (utils.py, cleanup, 97)]
   Attempting to reset the terminal

summary: - Landscape Openstack-installer fails during juju bootstrap
+ Landscape fails during juju bootstrap
Revision history for this message
Adam Stokes (adam-stokes) wrote :

Can you try our experimental ppa:

sudo add-apt-repository ppa:cloud-installer/experimental

See if the problem persists

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.