Openstack-install juju 引导错误

Openstack-install juju 引导错误

我正在尝试通过 Ubuntu 的说明设置 Openstack 云。我的 MAAS 服务器已启动并运行,我的设备已正确检查。当我sudo openstack-install选择“Landscape OpenStack Autopilot”运行时,在我输入管理员电子邮件、姓名、MAAS 服务器 IP 和 API 后,脚本失败并显示“发生致命错误:juju bootstrap 出现问题”。以下是我的 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.

现在文件中的第 7 行environments.yaml是 MAAS API 密钥。我检查了文件,密钥是正确的。还有其他人遇到过这种情况吗?

答案1

看来您的管理员密码中不能包含特殊字符。

错误报告:https://github.com/Ubuntu-Solutions-Engineering/openstack-installer/issues/672

相关内容