1.运行:apt-get install juju

1.运行:apt-get install juju

我正在尝试让 juju-core 引导到我的 OpenStack 云。我从 Openstack 中提取了环境文件,但当我尝试引导时,我看到 Openstack 返回了“404”错误。看来 http 消息构建不正确,但这可能是配置问题。

任何帮助都将不胜感激!

在此处输入图片描述

# To use Juju with your Openstack cloud:

1.运行:apt-get install juju

2.将此文件复制到$HOME/.juju/environments.yaml

3. 填写所有空白字段

4.运行“juju bootstrap”并部署服务!

#

environments:
  openstack:
    type: openstack
    auth-url: http://controller:5000/v3
    auth-mode: userpass
    use-floating-ip: true
    # Please provide the UUID of the network to use if you have
    # more than one network configured for your tenant.
    # network:
    region: RegionOne
    username: admin
    # Please provide the password you use to access the
    # OpenStack cloud.
    password:
    tenant-name: admin


juju bootstrap -v
Bootstrap failed, cleaning up the environment.
ERROR there was an issue examining the environment: authentication failed.

Please ensure the credentials are correct. A common mistake is
to specify the wrong tenant. Use the OpenStack "project" name
for tenant-name in your environment configuration.

谢谢,埃里克

相关内容