我一直在尝试遵循这个(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次以上:(。
非常感谢任何见解!
答案 0 :(得分:3)
我通过不以root身份运行openstack-instal而是以普通用户身份运行来解决这个问题。