server - Autopilot setup error - Ask Ubuntu
this question has answer here:
- unable run openstack-installer error 2 answers
i trying setup small cloud on qemu/kvm tryout maas/autopilot/juju.
i have 4 vms:
1) ubuntu 16.04.1 x64: maas controller 2.0.0+bzr5189-0ubuntu1
2) ubuntu 16.04.1 x64: node 1 (deployed)
3) ubuntu 16.04.1 x64: node 2 (deployed)
4) ubuntu 14.04.5 x64: node 3 (ready) ==> autopilot install target
so made available third node in "ready" status in maas , tried install autopilot on maas controller, bootstrap worked , deployed ubuntu trusty automatically on available node 3, have ssh access.
but error in process:
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 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 integers or slices, not nonetype
it seems missing user/password ? didn't prompt else maas host , maas key.
i started scratch running on ubuntu server 14.04.5 lts amd64 (trusty) , autopilot setup working properly.
maas controller => version 1.9.4+bzr4592
autopilot / landscape ==> version 16.06
i followed guide: https://insights.ubuntu.com/2013/11/15/interested-in-maas-and-juju-heres-how-to-try-it-in-a-vm/
Comments
Post a Comment