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?