juju - OpenStack installer fails, but node has 'Deployed' status? - Ask Ubuntu


i'm trying setup cloud openstack. official maas ubuntu cloud documentation has brief steps, it's taken me under month of on , off work stage of installation. must have had 50 attempts of removing, re-adding, , re-commissioning nodes due trial , error processes i've been through...

anyway, got point of deploying first node evening! commissioned test node , ran sudo openstack-install start installation process. ran 15-20 minutes , node has 'deployed' status, installation had failed once again. here's error got maas error log:

joel@ubuntu-maas-controller:~/.juju$ cat ~/.cloud-install/*.log [info: 11-02 18:31:34, openstack-install:227] starting openstack installer v0.99.28 [info: 11-02 18:31:34, openstack-install:228] start command: ['/usr/bin/openstack-install'] [info: 11-02 18:31:34, openstack-install:239] creating juju directories: /home/joel/.cloud-install/juju [info: 11-02 18:31:35, openstack-install:295] running liberty release [info: 11-02 18:31:53, installbase.py:132] performing autopilot install [info: 11-02 18:31:53, utils.py:780] pollinate: sudo su - -c 'pollinate -q -r --curl-opts "-k --user-agent uoi/8b82a068-2aca-4034-931b-ad64a320dc96/il"' [debug: 11-02 18:32:14, landscape.py:75] existing maas defined, doing lds installation existing maas. [debug: 11-02 18:32:24, utils.py:627] ssh keys exist user, used instead. [debug: 11-02 18:32:24, multi.py:139] bootstrapping juju: juju_home=/home/joel/.cloud-install/juju juju  bootstrap  [debug: 11-02 18:53:05, multi.py:145] problem during bootstrap: '{'output': '', 'status': 1, 'err': 'bootstrapping environment "maas"\nstarting new instance initial state server\nlaunching instance\nwarning no architecture specified, acquiring arbitrary node\n - /maas/api/1.0/nodes/node-cca09526-a116-11e6-b6cb-001b789e22aa/\ninstalling juju agent on bootstrap instance\nwaiting address\nattempting connect free-effect.maas:22\nattempting connect free-effect.maas:22\nattempting connect 10.0.4.32:22\nattempting connect 10.1.1.114:22\nwarning: ecdsa host key \'free-effect.maas\' differs key ip address \'10.1.1.114\'\noffending key ip in /home/joel/.ssh/known_hosts:5\nmatching host key in /home/joel/.ssh/known_hosts:6\r\nlogging /var/log/cloud-init-output.log on remote host\nrunning apt-get update\nrunning apt-get upgrade\ninstalling package: curl\ninstalling package: cpu-checker\ninstalling package: bridge-utils\ninstalling package: rsyslog-gnutls\ninstalling package: cloud-utils\ninstalling package: cloud-image-utils\ninstalling package: tmux\nfetching tools: curl -ssfw \'tools %{url_effective} downloaded: http %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s \' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/agent/1.25.6/juju-1.25.6-trusty-amd64.tgz]>\ntimeout, server free-effect.maas not responding.\r\nerror failed bootstrap environment: subprocess encountered error code 255\nsessions still open, not unmounting\n'}' [error: 11-02 18:53:05, gui.py:269] fatal error has occurred: problem juju bootstrap.  [error: 11-02 18:53:05, gui.py:270] problem juju bootstrap. traceback (most recent call last):   file "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run     result = self.fn(*self.args, **self.kwargs)   file "/usr/share/openstack/cloudinstall/controllers/install/multi.py", line 146, in do_install     raise exception("problem juju bootstrap.") exception: problem juju bootstrap. [debug: 11-02 18:53:05, error.py:35] showing error view for: problem juju bootstrap. [error: 11-02 18:53:36, ev.py:130] exception in ev.run(): traceback (most recent call last):   file "/usr/share/openstack/cloudinstall/ev.py", line 128, in run     self.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 1326, in run     self._loop.run_forever()   file "/usr/lib/python3.4/asyncio/base_events.py", line 276, in run_forever     self._run_once()   file "/usr/lib/python3.4/asyncio/base_events.py", line 1172, in _run_once     handle._run()   file "/usr/lib/python3.4/asyncio/events.py", line 120, 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/share/openstack/cloudinstall/gui.py", line 136, in keypress     return super().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/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/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/openstack/cloudinstall/ui/views/error.py", line 66, in cancel     raise systemexit("install exited because of error.") systemexit: install exited because of error. [debug: 11-02 18:53:37, utils.py:59] juju version: 1.25.6-trusty-amd64 [info: 11-02 18:53:37, utils.py:61] cleanup, saving latest config object. joel@ubuntu-maas-controller:~/.juju$ cat ~/.cloud-install/*.log | more [info: 11-02 18:31:34, openstack-install:227] starting openstack installer v0.99.28 [info: 11-02 18:31:34, openstack-install:228] start command: ['/usr/bin/openstack-install'] [info: 11-02 18:31:34, openstack-install:239] creating juju directories: /home/joel/.cloud-install/juju [info: 11-02 18:31:35, openstack-install:295] running liberty release [info: 11-02 18:31:53, installbase.py:132] performing autopilot install [info: 11-02 18:31:53, utils.py:780] pollinate: sudo su - -c 'pollinate -q -r --curl-opts "-k --user-agent uoi/8b82a068-2aca-4034-931b-ad64a320dc96/il"' [debug: 11-02 18:32:14, landscape.py:75] existing maas defined, doing lds installation existing maas. [debug: 11-02 18:32:24, utils.py:627] ssh keys exist user, used instead. [debug: 11-02 18:32:24, multi.py:139] bootstrapping juju: juju_home=/home/joel/.cloud-install/juju juju  bootstrap  [debug: 11-02 18:53:05, multi.py:145] problem during bootstrap: '{'output': '', 'status': 1, 'err': 'bootstrapping environment "maas"\nstarting new instance in itial state server\nlaunching instance\nwarning no architecture specified, acquiring arbitrary node\n - /maas/api/1.0/nodes/node-cca09526-a116-11e6-b6cb-001 b789e22aa/\ninstalling juju agent on bootstrap instance\nwaiting address\nattempting connect free-effect.maas:22\nattempting connect free-effect.ma as:22\nattempting connect 10.0.4.32:22\nattempting connect 10.1.1.114:22\nwarning: ecdsa host key \'free-effect.maas\' differs key  ip address \'10.1.1.114\'\noffending key ip in /home/joel/.ssh/known_hosts:5\nmatching host key in /home/joel/.ssh/known_hosts:6\r\nlogging /var/log/cl oud-init-output.log on remote host\nrunning apt-get update\nrunning apt-get upgrade\ninstalling package: curl\ninstalling package: cpu-checker\ninstalling package:  bridge-utils\ninstalling package: rsyslog-gnutls\ninstalling package: cloud-utils\ninstalling package: cloud-image-utils\ninstalling package: tmux\nfetching tools : curl -ssfw \'tools %{url_effective} downloaded: http %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s \' --re try 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/agent/1.25.6/juju-1.25.6-trusty-amd64.tgz]>\ntimeout, server free-effect.maas not responding .\r\nerror failed bootstrap environment: subprocess encountered error code 255\nsessions still open, not unmounting\n'}' [error: 11-02 18:53:05, gui.py:269] fatal error has occurred: problem juju bootstrap.  [error: 11-02 18:53:05, gui.py:270] problem juju bootstrap. traceback (most recent call last):   file "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run     result = self.fn(*self.args, **self.kwargs)   file "/usr/share/openstack/cloudinstall/controllers/install/multi.py", line 146, in do_install     raise exception("problem juju bootstrap.") exception: problem juju bootstrap. [debug: 11-02 18:53:05, error.py:35] showing error view for: problem juju bootstrap. [error: 11-02 18:53:36, ev.py:130] exception in ev.run(): traceback (most recent call last):   file "/usr/share/openstack/cloudinstall/ev.py", line 128, in run     self.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 1326, in run     self._loop.run_forever()   file "/usr/lib/python3.4/asyncio/base_events.py", line 276, in run_forever     self._run_once()   file "/usr/lib/python3.4/asyncio/base_events.py", line 1172, in _run_once     handle._run()   file "/usr/lib/python3.4/asyncio/events.py", line 120, in _run 

is download operation that's failing here? i've tried disabling proxy setting within maas settings (as per solved reply of this github issue) i'm running out of ideas , feel i'm going around in circles.

edit: realised can't ping outside network node can nslookup ip dns kinda working. assume must networking problem? continue tests , report if anywhere.

any appreciated. thank you.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User