2016-07-20 66 views
0

我正在Ubuntu 14.04 x64上安裝Devstack(穩定/千克)。我試了很多時間,得到了流動錯誤:Devstack安裝,oslo_log ImportError:無法導入名稱versionutils?

2016-07-20 13:24:59.856 | + /usr/local/bin/keystone-manage db_sync 
2016-07-20 13:25:00.933 | Traceback (most recent call last): 
2016-07-20 13:25:00.934 | File "/usr/local/bin/keystone-manage", line 6, in <module> 
2016-07-20 13:25:00.934 |  from keystone.cmd.manage import main 
2016-07-20 13:25:00.934 | File "/opt/stack/keystone/keystone/cmd/manage.py", line 32, in <module> 
2016-07-20 13:25:00.934 |  from keystone.cmd import cli 
2016-07-20 13:25:00.934 | File "/opt/stack/keystone/keystone/cmd/cli.py", line 24, in <module> 
2016-07-20 13:25:00.934 |  from oslo_log import versionutils 
2016-07-20 13:25:00.935 | ImportError: cannot import name versionutils 
2016-07-20 13:25:00.950 | + exit_trap 
2016-07-20 13:25:00.952 | + local r=1 
2016-07-20 13:25:00.952 | ++ jobs -p 
2016-07-20 13:25:00.953 | + jobs= 
2016-07-20 13:25:00.953 | + [[ -n '' ]] 
2016-07-20 13:25:00.953 | + kill_spinner 
2016-07-20 13:25:00.953 | + '[' '!' -z '' ']' 
2016-07-20 13:25:00.953 | + [[ 1 -ne 0 ]] 
2016-07-20 13:25:00.953 | + echo 'Error on exit' 
2016-07-20 13:25:00.953 | Error on exit 
2016-07-20 13:25:00.953 | + generate-subunit 1469020399 701 fail 
2016-07-20 13:25:01.941 | + [[ -z /opt/stack/logs ]] 
2016-07-20 13:25:01.941 | + /home/chao/devstack/tools/worlddump.py -d /opt/stack/logs 
2016-07-20 13:25:02.103 | df: '/mnt/hgfs': Protocol error 
2016-07-20 13:25:02.139 | + exit 1 

回答

0

這實際上是見過幾次,一個bug報告,以及: https://bugs.launchpad.net/devstack/+bug/1468465

同時,你可以嘗試以下步驟,看看是否有幫助:

  • Unstack,清理並重新安裝python-pip。然後stack.sh,如果再次出現問題,請手動安裝特定版本的缺失軟件包,即使這不是推薦的方法。
相關問題