juju 和 Maas 部署失败

juju 和 Maas 部署失败

我正在尝试引导一台 VM 机器以部署 Openstack 云,但它挂起了,如下所示:

maasadmin@FGSUSSUMAAS01:~$ juju bootstrap stagingmaas
Creating Juju controller "stagingmaas" on stagingmaas
Looking for packaged Juju agent version 2.2.6 for amd64
Launching controller instance(s) on stagingmaas...
- qrdf8y (arch=amd64 mem=10G cores=10)
Fetching Juju GUI 2.10.2
Waiting for address
Attempting to connect to 10.x.0.10:22  <<<<<<<<<<<

maasadmin@FGSUSSUMAAS01:~/openstack-stg$ juju --version
2.2.6-xenial-amd64

有没有什么办法可以解决这个问题?

另请注意,如果我在bootstrap.config文件中使用以下详细信息,引导就会成功。10.139.0.50 是 maas 服务器的私有 IP。

default-series: xenial
no-proxy: localhost
http-proxy: http://10.x.0.50:8000 
https-proxy: http://10.x.0.50:8000
ftp-proxy: http://10.x.0.50:8000

如果我在配置文件中使用 maas 服务器的公共 IP,引导就会失败。

如您所见,10.x.0.50 是 maas 服务器的私有 IP,并且 Openstack 部署失败:

Machine  State    DNS          Inst id  Series  AZ       Message
0        down     10.x.0.17  4rc3n3   xenial  default  Failed deployment: Power state queried: on
0/lxd/0  pending               pending  xenial
0/lxd/1  pending               pending  xenial
0/lxd/2  pending               pending  xenial
0/lxd/3  pending               pending  xenial
0/lxd/4  pending               pending  xenial
1        down     10.x.0.18  gst3at   xenial  default  Failed deployment: Power state queried: on
1/lxd/0  pending               pending  xenial
1/lxd/1  pending               pending  xenial
1/lxd/2  pending               pending  xenial
1/lxd/3  pending               pending  xenial
2        down     10.x.0.19  s8pct4   xenial  default  Failed deployment: Power state queried: on
3        down     10.x.0.20  7nrsab   xenial  default  Failed deployment: Power state queried: on
4        down     10.x.0.21  7pqsdy   xenial  default  Failed deployment: Power state queried: on

另请参阅附件。

因此,为了开始部署,我需要解决引导问题。

相关内容