4

I am attempting to setup an Openstack cloud via Ubuntu's instructions. My MAAS server is up and running with my equipment properly checked in. When I run sudo openstack-install with "Landscape OpenStack Autopilot" as my selection, after I enter the admin email, name, MAAS server IP and API, the script fails with "A fatal error has occured: Problem with juju bootstrap." Here is the content from my command.log:

[DEBUG ⢠07-27 11:15:26] ⢠cloudinstall.multi_install ⢠(multi_install.py, do_install, 137)]
   Bootstrapping Juju: JUJU_HOME=/home/cgaeth/.cloud-install/juju juju  bootstrap
[DEBUG ⢠07-27 11:15:27] ⢠cloudinstall.multi_install ⢠(multi_install.py, do_install, 143)]
   Problem during bootstrap: '{'output': 'error: cannot parse "/home/cgaeth/.cloud-install/juju/environments.yaml": YAML error: line 7: found character that cannot start any token\n', 'status': 2}'
[DEBUG ⢠07-27 11:15:27] ⢠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.

Now line 7 in the environments.yaml file is the MAAS API key. I have checked the file and the key is correct. Has anyone else run into this?

7
  • Please format your question.
    – A.B.
    Jul 27, 2015 at 15:16
  • I may have figure this out. It appears that you cannot have special characters in your admin secret password. Changed the password and moved passed this error. Jul 27, 2015 at 18:53
  • Write an answer.
    – A.B.
    Jul 27, 2015 at 18:55
  • That was the answer. Jul 27, 2015 at 20:03
  • @ChristopherGaeth: He means to write it as an answer and not just a comment, then accept your own answer.
    – user364819
    Jul 28, 2015 at 15:51

1 Answer 1

5

It appears that you cannot have special characters in your admin secret password.

Bug report: https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/672

3
  • Nice catch! I've reported it in our bug tracking system if you want to follow along, we can move the conversation there and just leave this closed. Thanks! Sep 3, 2015 at 13:29
  • 1
    @ChristopherGaeth : if you could visit the issue that Jorge filed for you and let us know what character caused the problem so we can test a fix, that'd be great. Thanks! Sep 3, 2015 at 21:49
  • @ChristopherGaeth or even just post the character here so we can fix it. Sep 16, 2015 at 18:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .