Autopilot 无法安装在 VMware ESXi 5.5 上

Autopilot 无法安装在 VMware ESXi 5.5 上

嗨,Ubuntu OpenStack Autopilot 团队,

尽管已启用嵌套虚拟化,但我无法在 VMware ESXi 5.5 上安装自动驾驶仪。我运行的是最新更新的 Ubuntu 14.04.1。

当我尝试使用单系统模式安装时出现此情况:

INFO • 11-12 09:53:36 [LINE:102, FUNC:<module>] • cloudinstall • cloud-install starting
INFO • 11-12 09:53:36 [LINE:73, FUNC:status_context] • cloudinstall.core • Get started by entering an Openstack password to use in your cloud ..
DEBUG • 11-12 09:53:36 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 2, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=2>
DEBUG • 11-12 09:53:40 [LINE:108, FUNC:submit] • cloudinstall.ui.dialog • Callback on : OrderedDict([('password', <EditInput selectable flow widget>), ('confirm_password', <EditInput selectable flow widget>)])
INFO • 11-12 09:53:40 [LINE:73, FUNC:status_context] • cloudinstall.core • Choose your installation path ..
DEBUG • 11-12 09:53:40 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 4, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=4>
DEBUG • 11-12 09:53:43 [LINE:157, FUNC:submit] • cloudinstall.ui • Callback on : OrderedDict([('Single', <RadioButton selectable flow widget 'Single' state=True>), ('Multi', <RadioButton selectable flow widget 'Multi' state=False>), ('Multi with existing MAAS', <RadioButton selectable flow widget 'Multi with existing MAAS' state=False>), ('Landscape', <RadioButton selectable flow widget 'Landscape' state=False>)])
INFO • 11-12 09:53:43 [LINE:73, FUNC:status_context] • cloudinstall.core • Building environment
DEBUG • 11-12 10:00:36 [LINE:417, FUNC:container_run] • cloudinstall.utils • Running in container: sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p .juju
DEBUG • 11-12 10:00:38 [LINE:421, FUNC:container_run] • cloudinstall.utils • b''
DEBUG • 11-12 10:00:39 [LINE:417, FUNC:container_run] • cloudinstall.utils • Running in container: sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p ~/.cloud-install
DEBUG • 11-12 10:00:40 [LINE:50, FUNC:global_exchandler] • cloudinstall.utils • Traceback (most recent call last):
  File "/usr/share/openstack/cloudinstall/utils.py", line 420, in container_run
    ret = check_output(cmd, stderr=STDOUT, shell=True)
  File "/usr/lib/python3.4/subprocess.py", line 616, in check_output
    raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command 'sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p ~/.cloud-install' returned non-zero exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/openstack/cloudinstall/utils.py", line 64, 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/single_install.py", line 159, in do_install
    self.copy_installdata_and_set_perms()
  File "/usr/share/openstack/cloudinstall/single_install.py", line 105, in copy_installdata_and_set_perms
    utils.container_run(self.container_name, 'mkdir -p ~/.cloud-install')
  File "/usr/share/openstack/cloudinstall/utils.py", line 424, in container_run
    "({1}:{2}) Error: {3}".format(cmd, name, ip, e))
Exception: There was a problem running (sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p ~/.cloud-install) in the container (uoi-bootstrap:10.0.3.169) Error: Command 'sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p ~/.cloud-install' returned non-zero exit status 1

这是我尝试使用横向模式安装时的情况:

INFO • 11-17 02:36:00 [LINE:102, FUNC:<module>] • cloudinstall • cloud-install starting
INFO • 11-17 02:36:00 [LINE:73, FUNC:status_context] • cloudinstall.core • Get started by entering an Openstack password to use in your cloud ..
DEBUG • 11-17 02:36:00 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 2, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=2>
DEBUG • 11-17 02:36:05 [LINE:108, FUNC:submit] • cloudinstall.ui.dialog • Callback on : OrderedDict([('password', <EditInput selectable flow widget>), ('confirm_password', <EditInput selectable flow widget>)])
INFO • 11-17 02:36:05 [LINE:73, FUNC:status_context] • cloudinstall.core • Choose your installation path ..
DEBUG • 11-17 02:36:05 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 4, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=4>
DEBUG • 11-17 02:36:07 [LINE:157, FUNC:submit] • cloudinstall.ui • Callback on : OrderedDict([('Single', <RadioButton selectable flow widget 'Single' state=False>), ('Multi', <RadioButton selectable flow widget 'Multi' state=False>), ('Multi with existing MAAS', <RadioButton selectable flow widget 'Multi with existing MAAS' state=False>), ('Landscape', <RadioButton selectable flow widget 'Landscape' state=True>)])
INFO • 11-17 02:36:07 [LINE:73, FUNC:status_context] • cloudinstall.core • Please enter your Landscape information and optionally an existing MAAS Server IP. If MAAS is not defined a new one will be created for you.
DEBUG • 11-17 02:36:07 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 5, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=5>
DEBUG • 11-17 02:36:22 [LINE:108, FUNC:submit] • cloudinstall.ui.dialog • Callback on : OrderedDict([('admin_email', <EditInput selectable flow widget>), ('admin_name', <EditInput selectable flow widget>), ('system_email', <EditInput selectable flow widget>), ('maas_server', <EditInput selectable flow widget>), ('maas_apikey', <EditInput selectable flow widget>)])
INFO • 11-17 02:36:22 [LINE:73, FUNC:status_context] • cloudinstall.core • Running ..
DEBUG • 11-17 02:36:22 [LINE:70, FUNC:_save_lds_creds] • cloudinstall.landscape_install • No maas credentials entered, doing a new MAAS install
INFO • 11-17 02:36:22 [LINE:73, FUNC:status_context] • cloudinstall.core • Please select a network interface that is not currently listening to any DHCP or DNS requests. This will be the interface MAAS will use to manage its own DNS/DHCP services.
DEBUG • 11-17 02:36:22 [LINE:50, FUNC:global_exchandler] • cloudinstall.utils • Traceback (most recent call last):
  File "/usr/bin/openstack-install", line 104, in <module>
    install.start()
  File "/usr/share/openstack/cloudinstall/core.py", line 263, in start
    self.main_loop()
  File "/usr/share/openstack/cloudinstall/install.py", line 72, in main_loop
    self.loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 274, in run
    self.screen.run_wrapper(self._run)
  File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 268, in run_wrapper
    return fn()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 339, in _run
    self.event_loop.run()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 669, in run
    self._loop()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 706, in _loop
    self._watch_files[fd]()
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 390, in _update
    self.process_input(keys)
  File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 490, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 588, in keypress
    *self.calculate_padding_filler(size, True)), key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/share/openstack/cloudinstall/ui/dialog.py", line 53, in keypress
    super().keypress(size, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 1583, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 2265, in keypress
    key = w.keypress((mc,) + size[1:], key)
  File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 385, in keypress
    return self._original_widget.keypress((maxcol, self.height), key)
  File "/usr/lib/python3/dist-packages/urwid/listbox.py", line 985, in keypress
    key = focus_widget.keypress((maxcol,),key)
  File "/usr/lib/python3/dist-packages/urwid/container.py", line 2265, 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/openstack/cloudinstall/ui/dialog.py", line 109, in submit
    self.emit_done_signal(self.input_items)
  File "/usr/share/openstack/cloudinstall/ui/dialog.py", line 115, in emit_done_signal
    emit_signal(self, 'done', *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/landscape_install.py", line 71, in _save_lds_creds
    self._do_install_new_maas()
  File "/usr/share/openstack/cloudinstall/landscape_install.py", line 55, in _do_install_new_maas
    post_tasks=self.landscape_tasks).run()
  File "/usr/share/openstack/cloudinstall/multi_install.py", line 246, in run
    self.prompt_for_interface()
  File "/usr/share/openstack/cloudinstall/multi_install.py", line 255, in prompt_for_interface
    if_names = sorted(get_network_interfaces().keys())
  File "/usr/share/openstack/cloudinstall/netutils.py", line 75, in get_network_interfaces
    rd[name] = dict(ipaddress=get_ip_addr(name),
  File "/usr/share/openstack/cloudinstall/netutils.py", line 35, in get_ip_addr
    return str(_networkinfo(interface)['network'].ip)
  File "/usr/share/openstack/cloudinstall/netutils.py", line 27, in _networkinfo
    nw = re.search("inet (\d+\.\d+\.\d+\.\d+/\d+)", out).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'

除了上述错误日志,还有更多不同类型的错误日志,但我没有保留。如果发现更多,稍后会发送。

答案1

看起来您遇到了两个不同的错误,它们都已在上周修复。

如果您更新软件包并重试,您应该会获得更多成功:

sudo apt-get update
sudo apt-get install openstack

谢谢!

相关内容