openstack install fails at juju bootstrap

Bug #1447575 reported by juan c caballero
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-installer
New
Undecided
Unassigned

Bug Description

fatal error, when openstall install tries to bootstrap juju...

see error from commands.log..attached

Revision history for this message
juan c caballero (juancc2007) wrote :

[DEBUG • 04-23 07:30:22] • cloudinstall.multi_install • (multi_install.py, do_install, 143)]
   Problem during bootstrap: '{'output': 'Bootstrapping environment "maas"\nStarting new instance for initial state server\nLaunching instance\nWARNING no architecture was specified, acquiring an arbitrar$
[DEBUG • 04-23 07:30:22] • 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 • 04-23 07:37:37] • cloudinstall.utils • (utils.py, cleanup, 91)]
   Cleanup, saving latest config object.
[DEBUG • 04-23 07:37:37] • cloudinstall.utils • (utils.py, cleanup, 97)]
   Attempting to reset the terminal

Revision history for this message
Nicolas Leiva (nicolasleiva) wrote :

I'm experiencing something similar when running Landscape OpenStack Autopilot (Problem with juju bootstrap):

[DEBUG • 04-23 10:10:17] • cloudinstall.landscape_install • (landscape_install.py, _save_lds_creds, 81)]
   Existing MAAS defined, doing a LDS installation with existing MAAS.
[DEBUG • 04-23 10:10:59] • cloudinstall.multi_install • (multi_install.py, do_install, 137)]
   Bootstrapping Juju: JUJU_HOME=/home/nleiva/.cloud-install/juju juju bootstrap
[DEBUG • 04-23 10:10:59] • cloudinstall.multi_install • (multi_install.py, do_install, 143)]
   Problem during bootstrap: '{'status': 1, 'output': 'sudo: juju: command not found\n'}'
[DEBUG • 04-23 10:10:59] • 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 • 04-23 10:11:56] • cloudinstall.utils • (utils.py, cleanup, 91)]
   Cleanup, saving latest config object.
[DEBUG • 04-23 10:11:56] • cloudinstall.utils • (utils.py, cleanup, 97)]
   Attempting to reset the terminal
nleiva@controller:~$

Revision history for this message
Nicolas Leiva (nicolasleiva) wrote :

Please disregard my message, in my case Juju wasn't installed after following the steps at http://www.ubuntu.com/download/cloud/install-ubuntu-openstack

   Problem during bootstrap: '{'status': 1, 'output': 'sudo: juju: command not found\n'}'

Revision history for this message
juan c caballero (juancc2007) wrote :

futher testing, shows that this maybe machine specific, using IBM X336 and DEll 1950 gen3. problem only occurs with IBM x336.

Revision history for this message
Adam Stokes (adam-stokes) wrote :

This error:

" Problem during bootstrap: '{'output': 'Bootstrapping environment "maas"\nStarting new instance for initial state server\nLaunching instance\nWARNING no architecture was specified, acquiring an arbitrar$
"

Did you make sure to import your boot images within maas?

Revision history for this message
juan c caballero (juancc2007) wrote :

yes

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.