安装 openstack、ubuntu 14.04 和 MAAS 时出现严重错误

安装 openstack、ubuntu 14.04 和 MAAS 时出现严重错误

遵循的文档:http://www.ubuntu.com/download/cloud/install-ubuntu-openstack Canonical 表示“这是迄今为止安装 openstack 云的最佳方式”。

我已经安装了带有 MAAS 的 Ubuntu 14.04 服务器,完成了 MAAS 配置,并且 PXE 启动了 7 个节点。之后,我运行了“sudo apt install openstack”,一切正常。因此,“sudo openstack-install”

InstalerGUI:选择“Landscape Openstack Autopilot”,然后填写 MAAS 凭证。因此,当安装开始时,我收到“发生严重错误:juju bootstrap 出现问题”

来自 ~/.cloud-install/commands.log:

DEBUG ⢠06-17 08:12:43] ⢠cloudinstall.landscape_install ⢠(landscape_install.py, _save_lds_creds, 81)]
   Existing MAAS defined, doing a LDS installation with existing MAAS.
[DEBUG ⢠06-17 08:12:53] ⢠cloudinstall.multi_install ⢠(multi_install.py, do_install, 137)]
   Bootstrapping Juju: JUJU_HOME=/home/ubuntu/.cloud-install/juju juju  bootstrap
[DEBUG ⢠06-17 08:12:53] ⢠cloudinstall.multi_install ⢠(multi_install.py, do_install, 143)]
   Problem during bootstrap: '{'output': 'sudo: juju: command not found\n', 'status': 1}'
[DEBUG ⢠06-17 08:12:53] ⢠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.

问题:文档中还缺少什么吗?是否缺少一些 juju 软件包或安装?

规范的“最佳方式”文档中存在多处失败/缺失信息,因此如果这也是我安装困难的原因,我并不感到惊讶。

请帮忙

这些命令在安装期间完成:

16.june
ubuntu 14.04 LTS with MAAS installed.  IP: 10.250.50.5  

sudo apt-get install software-properties-common  
OK  
sudo add-apt-repository ppa:juju/stable  
OK  
sudo add-apt-repository ppa:maas-maintainers/stable  
OK  
sudo add-apt-repository ppa:cloud-installer/stable  
OK  
sudo apt update  
DONE  
sudo apt-get dist-upgrade  
DONE  
sudo maas-region-admin createadmin      (admin/admin)  
OK - logged into  MAAS  
MAASGUI: imported image 14.04  


sudo -i  
mkdir -p /home/maas  
chown maas:maas /home/maas  
chsh -s /bin/bash maas  
sudo -u maas ssh-keygen  
Copied the public key from /var/lib/maas/.ssh/id_rsa.pub to MAAS GUI - "admin" - "preferences" - Add-SSH-key

\# install amtterm (including amttool)
\#
sudo apt-get install amtterm  
AMT_PASSWORD=Password1+  
arp -an |grep -v incom  #to find AMT interfaces.   

\# Configured network parameters in MAAS GUI.

\# MAAS GUI: PXE booted 7 nodes, they are in "ready" mode, and power management is configured. (AMT)

sudo apt install openstack  
done  
sudo openstack-install  
--installerGUI: Chosen Landscape Openstack Autopilot  
--installerGUI: Filled in MAAS credentials  
return: 

******************** Info *************************
* A fatal error has occured: Problem with juju    *
* bootstrap.                                      *
* See ~/.cloud-install/commands for further info. *
* Close                                           *
***************************************************

答案1

sudo apt-get install juju跑步前尝试跑步sudo openstack-install

相关内容