1

我一直在反复尝试遵循此(http://www.ubuntu.com/download/cloud/install-ubuntu-openstack)指南,了解如何安装 OpenStack/MASS/juju 等...不幸的是,每次都有失败的。我每次都使用带有空白 Ubuntu 14.04 的专用服务器来做这件事。我每次都会收到不同的错误。这里是其中的一些:

DEBUG • 11-12 22:33:39 [LINE:50, FUNC:global_exchandler] • cloudinstall.utils • Tra$
  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 139, in do_insta$
    utils.ssh_genkey()
  File "/usr/share/openstack/cloudinstall/utils.py", line 571, in ssh_genkey
    print("Unable to generate key: {0}".format(out['stderr']))
KeyError: 'stderr'

DEBUG • 11-12 22:32:17 [LINE:50, FUNC:global_exchandler] • cloudinstall.utils • Tra$
  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_wrap$
    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 690, in _loop
    ready, w, err = select.select(fds, [], fds, timeout)

我肯定错过了一些东西,因为我现在已经尝试了 15 次以上:(。

任何见解将不胜感激!

4

1 回答 1

3

我通过不以 root 身份而是以我的普通用户身份运行 openstack-instal 解决了这个问题。

于 2014-11-14T19:22:17.840 回答