Erro de configuração do piloto automático [duplicado]

1

Estou tentando configurar uma pequena nuvem no QEMU / KVM para testar o MAAS / Autopilot / JUJU.

Eu tenho 4 VMs:

1) Ubuntu 16.04.1 x64: Controlador MAAS 2.0.0 + bzr5189-0ubuntu1

2) Ubuntu 16.04.1 x64: nó 1 (Implantado)

3) Ubuntu 16.04.1 x64: nó 2 (Implantado)

4) Ubuntu 14.04.5 x64: nó 3 (Pronto) == > alvo de instalação do piloto automático

Então disponibilizei o terceiro nó no status "Ready" no MAAS e tentei instalar o Autopilot nele a partir do controlador MAAS, o bootstrap funcionou e ele implementou o Ubuntu Trusty automaticamente no nó disponível 3, eu tenho acesso SSH.

painel do Autopilot do OpenStack

Mas recebo este erro no processo:

misterz@controller:~$ conjure-up openstack
Exception in ev.run():
Traceback (most recent call last):
  File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/share/conjure-up/conjure/ui/views/welcome.py", line 35, in keypress
    return super().keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 2269, in keypress
    key = w.keypress((mc,) + size[1:], key)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/share/conjure-up/conjure/ui/views/welcome.py", line 72, in done
    self.cb(result.label)
  File "/usr/share/conjure-up/conjure/controllers/welcome.py", line 31, in finish
    self.app.controllers['jujucontroller'].render()
  File "/usr/share/conjure-up/conjure/controllers/jujucontroller.py", line 153, in render
    Juju.switch(c)
  File "/usr/share/conjure-up/conjure/juju.py", line 241, in switch
    cls.login(True)
  File "/usr/share/conjure-up/conjure/juju.py", line 96, in login
    password = account['users'][current_user]['password']
TypeError: list indices must be integers or slices, not NoneType
Traceback (most recent call last):
  File "/usr/bin/conjure-up", line 9, in <module>
    load_entry_point('conjure-up==0.1.2', 'console_scripts', 'conjure-up')()
  File "/usr/share/conjure-up/conjure/app.py", line 222, in main
    app.start()
  File "/usr/share/conjure-up/conjure/app.py", line 171, in start
    EventLoop.run()
  File "/usr/share/conjure-up/ubuntui/ev.py", line 83, in run
    cls.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1328, in run
    raise self._exc_info[0](self._exc_info[1]).with_traceback(self._exc_info[2])
  File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/share/conjure-up/conjure/ui/views/welcome.py", line 35, in keypress
    return super().keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 2269, in keypress
    key = w.keypress((mc,) + size[1:], key)
  File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/share/conjure-up/conjure/ui/views/welcome.py", line 72, in done
    self.cb(result.label)
  File "/usr/share/conjure-up/conjure/controllers/welcome.py", line 31, in finish
    self.app.controllers['jujucontroller'].render()
  File "/usr/share/conjure-up/conjure/controllers/jujucontroller.py", line 153, in render
    Juju.switch(c)
  File "/usr/share/conjure-up/conjure/juju.py", line 241, in switch
    cls.login(True)
  File "/usr/share/conjure-up/conjure/juju.py", line 96, in login
    password = account['users'][current_user]['password']
TypeError: list indices must be integers or slices, not NoneType

Parece que estou perdendo algum usuário / senha? Eu não recebi nenhuma solicitação para nada além do meu host MAAS e chave MAAS.

    
por MisterZ 09.11.2016 / 14:54

1 resposta

0

Eu comecei do zero com tudo rodando no Ubuntu Server 14.04.5 LTS amd64 (Trusty) e a configuração do piloto automático está funcionando corretamente.

Controlador MAAS = > Versão 1.9.4 + bzr4592

Piloto automático / Paisagem == > Versão 16.06

Eu segui este guia: link

    
por MisterZ 10.11.2016 / 17:27