Tente executar sudo apt-get install juju
antes de executar sudo openstack-install
.
Documentação seguida: link onde a Canonical diz "Esta é de longe a melhor maneira de instalar uma nuvem openstack ".
Eu instalei um servidor Ubuntu 14.04 com o MAAS, fiz a configuração do MAAS e o PXE inicializou 7 nós. Depois disso, eu corri "sudo apt install openstack" que foi OK. Então, "sudo openstack-install"
InstalerGUI: escolhido "Autopilot Landscape Openstack", depois preenchi as credenciais do MAAS. Então, quando a instalação começa, eu recebo "ERRO FATAL OCORREU: Problema com o bootstrap de juju"
De ~ / .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.
PERGUNTA: Existe algo mais faltando na documentação? Há algum pacote ou instalação de juju faltando?
Existem várias falhas / informações ausentes na documentação da "melhor maneira" do canonical, então não estou surpreso se essa também é a razão pela qual estou preso à minha instalação.
Por favor ajude
Estes comandos são feitos durante a instalação:
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 *
***************************************************
Tente executar sudo apt-get install juju
antes de executar sudo openstack-install
.