![Ubuntu Openstack 安装程序卡在对话框中](https://linux22.com/image/1052957/Ubuntu%20Openstack%20%E5%AE%89%E8%A3%85%E7%A8%8B%E5%BA%8F%E5%8D%A1%E5%9C%A8%E5%AF%B9%E8%AF%9D%E6%A1%86%E4%B8%AD.png)
我尝试安装Ubuntu Openstack 安装程序 Kilo使用命令sudo openstack-install
。但是这发生了。以下是日志:
[INFO: 10-21 11:01:05, openstack-install:200] Starting OpenStack Installer v0.99.23
[INFO: 10-21 11:01:05, openstack-install:201] Start command: ['/usr/bin/openstack-install']
[INFO: 10-21 11:01:05, openstack-install:212] Creating juju directories: /root/.cloud-install/juju
[INFO: 10-21 11:01:08, openstack-install:265] Running Kilo release
[ERROR: 10-21 11:01:08, ev.py:145] Exception in ev.run():
Traceback (most recent call last):
File "/usr/share/openstack/cloudinstall/ev.py", line 143, in run
self.loop.run()
File "/usr/local/lib/python3.4/dist-packages/urwid/main_loop.py", line 278, in run
self._run()
File "/usr/local/lib/python3.4/dist-packages/urwid/main_loop.py", line 375, in _run
self.event_loop.run()
File "/usr/local/lib/python3.4/dist-packages/urwid/main_loop.py", line 1008, in run
self._ioloop.start()
File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 646, in start
event_pairs = self._impl.poll(poll_timeout)
File "/usr/local/lib/python3.4/dist-packages/urwid/main_loop.py", line 913, in poll
callback()
File "/usr/local/lib/python3.4/dist-packages/urwid/main_loop.py", line 560, in entering_idle
self.draw_screen()
File "/usr/local/lib/python3.4/dist-packages/urwid/main_loop.py", line 575, in draw_screen
self.screen.draw_screen(self.screen_size, canvas)
File "/usr/local/lib/python3.4/dist-packages/urwid/raw_display.py", line 837, in draw_screen
self.write(l)
File "/usr/local/lib/python3.4/dist-packages/urwid/raw_display.py", line 266, in write
self._term_output_file.write(data)
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 0-73: ordinal not in range(256)
[INFO: 10-21 11:01:08, utils.py:85] Cleanup, saving latest config object.
关于如何修复此问题,我有什么想法吗?
谢谢
答案1
您需要配置 PuTTY 以使用 UTF8 作为其编码。