我正在尝试使用自动驾驶仪安装 openstack
运行 sudo openstack-install 后填写信息
landscapecreds:
admin_email: [email protected]
admin_name: admin
maas_apikey: xxxx:xxxx:xxxx
maas_server: 172.16.0.1/MAAS/
system_email: [email protected]
maascreds:
api_host: 172.16.206.55/MAAS/
api_key:xxxx:xxxx:xxxx
openstack_password: xxxx
openstack_release: juno
显示没有就绪系统挂了。我已删除 ~/.cloud-install 文件夹
然后再次尝试运行 openstack-install 命令,输入 api 密钥后,它给了我下面的空白页面,这是 command.log 给我的
[DEBUG • 07-27 13:37:50] • cloudinstall.config • (config.py, juju_env, 201)]
Querying juju env in /home/ubuntu/.cloud-install/juju/environments/maas.jenv
[DEBUG • 07-27 13:37:50] • cloudinstall.utils • (utils.py, global_exchandler, 63)]
Traceback (most recent call last):
File "/usr/bin/openstack-status", line 109, in <module>
core.start()
File "/usr/share/openstack/cloudinstall/core.py", line 620, in start
self.initialize()
File "/usr/share/openstack/cloudinstall/core.py", line 148, in initialize
self.authenticate_juju()
File "/usr/share/openstack/cloudinstall/core.py", line 131, in authenticate_juju
if not len(self.config.juju_env['state-servers']) > 0:
File "/usr/share/openstack/cloudinstall/config.py", line 207, in juju_env
raise ConfigException('Unable to load environments file. Is '
cloudinstall.config.ConfigException: Unable to load environments file. Is juju bootstrapped?
[INFO • 07-27 13:37:50] • cloudinstall.utils • (utils.py, cleanup, 91)]
Cleanup, saving latest config object.
[DEBUG • 07-27 13:37:50] • cloudinstall.utils • (utils.py, cleanup, 97)]
Attempting to reset the terminal
答案1
我意识到我的问题在哪里
maas_server: 172.16.0.1/MAAS
我已经给出了 MAAS 的 IP,然后/马萨诸塞 要解决这个问题
#to remove the proxy configuration
http_proxy=
https_proxy
sudo mv ./.cloud-install ./.cloud-install-backup
sudo openstack-install
当询问 MAAS IP 时仅提供 IP
注意:如果您使用代理,请删除代理配置