Estou instalando o autopilot Openstack no servidor Ubuntu 15.04. Eu instalei o Maas e juntei os nós com sucesso. Eu testei a conexão do Maas instalando o juju e implantando o serviço. mas quando eu quero instalar o openstack, ele encontra erro no bootstraping.
Eu sigo as instruções no link
Eu depuro a instalação e obtenho estes:
config.yaml
headless: true
install_type: OpenStack Autopilot
landscapecreds:
admin_email: [email protected]
admin_name: admin
maas_apikey: [redacted]
maas_server: 10.1.0.100
system_email: [email protected]
maascreds:
api_host: 10.1.0.100
api_key: [redacted]
openstack_password: [redacted]
openstack_release: kilo
ubuntu_series: trusty
comando
DEBUG_JUJU_BOOTSTRAP=1 sudo -E openstack-install -c config.yaml --debug
commands.log
[INFO: 12-30 01:18:40] Starting OpenStack Installer v0.99.24
[INFO: 12-30 01:18:40] Start command: ['/usr/bin/openstack-install', '-c', 'config.yaml', '--debug']
[INFO: 12-30 01:18:40] Running Kilo release
[INFO: 12-30 01:18:40] Performing a OpenStack Autopilot install
[INFO: 12-30 01:21:48] Bootstrapping Juju
[INFO: 12-30 01:21:49] Bootstrapping Juju
[ERROR: 12-30 01:22:11] Fatal error
Traceback (most recent call last):
File "/usr/share/openstack/cloudinstall/controllers/installbase.py", line 150, in start
self.do_install()
File "/usr/share/openstack/cloudinstall/controllers/installbase.py", line 134, in do_install
self.loop, self.ui, self.config).run()
File "/usr/share/openstack/cloudinstall/controllers/install/landscape.py", line 80, in run
self._do_install_existing_maas()
File "/usr/share/openstack/cloudinstall/controllers/install/landscape.py", line 42, in _do_install_existing_maas
self.config, self.landscape_tasks).do_install()
File "/usr/share/openstack/cloudinstall/controllers/install/multi.py", line 131, in do_install
raise Exception("Problem with juju bootstrap.")
Exception: Problem with juju bootstrap.
[INFO: 12-30 01:22:11] Stopping eventloop
[INFO: 12-30 01:22:11] Cleanup, saving latest config object.
quando eu tentei inicializar manualmente. Eu recebi este erro:
comando:
JUJU_HOME=~/.cloud-install/juju/ juju bootstrap --debug
Erro:
2015-12-29 22:10:53 INFO juju.cmd cmd.go:129 Bootstrap failed, destroying environment
2015-12-29 22:10:53 INFO juju.provider.common destroy.go:22 destroying environment "maas"
2015-12-29 22:10:53 INFO juju.provider.common destroy.go:33 destroying instances
2015-12-29 22:10:54 INFO juju.provider.common destroy.go:53 destroying storage
2015-12-29 22:10:54 ERROR juju.cmd supercommand.go:429 failed to bootstrap environment: cannot start bootstrap instance: gomaasapi: got error back from server: 500 INTERNAL SERVER ERROR (('UNHANDLED', 'Unknown Error [sajjad-maas:pid=774:cmd=CreateHostMaps:ask=b3]'))
Obrigado por sua ajuda.
Cumprimentos
Sajjad