AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 550641
Accepted
chrone
chrone
Asked: 2014-11-18 07:11:48 +0800 CST2014-11-18 07:11:48 +0800 CST 2014-11-18 07:11:48 +0800 CST

无法在 VMware ESXi 5.5 上安装 Autopilot

  • 772

嗨 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'

与上面不同的错误日志有更多,但我没有保留它。如果有发现,稍后会发送更多。

vmware
  • 1 1 个回答
  • 516 Views

1 个回答

  • Voted
  1. Best Answer
    Mike McCracken
    2014-11-18T10:15:12+08:002014-11-18T10:15:12+08:00

    看起来您遇到了两个独立的错误,这两个错误均已在上周修复。

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

    sudo apt-get update
    sudo apt-get install openstack
    

    谢谢!

    • 2

相关问题

  • VMWare Fusion 3.1 上缺少声音

  • 如何将多部分 VMDK 磁盘映像转换为 qcow2?

  • 来宾在 VMware Player 中调整 Ubuntu 10.04 64 位大小不起作用 [关闭]

  • vmware/virtualbox 3d 加速

  • 哪个更好:Win7 主机运行 VMware 和 Ubuntu 来宾,反之亦然?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve