liyao20060101 发表于 2015-12-24 16:09:31

openstack image list: error: unrecognized arguments: --property status=active

devstack安装OpenStack时候报错如下:


[*]11870 2015-05-27 07:24:58.982 | usage: openstack image list [-h] [-f {csv,html,json,table,yaml}] [-c COLUMN]

[*]11871 2015-05-27 07:24:58.983 | [--max-width ]
[*]11872 2015-05-27 07:24:58.983 | [--quote {all,minimal,none,nonnumeric}]
[*]11873 2015-05-27 07:24:58.983 | [--page-size ] [--long]
[*]11874 2015-05-27 07:24:58.983 | openstack image list: error: unrecognized arguments: --property status=active
[*]11875 2015-05-27 07:24:59.031 | ++ case "${#images
[*]}" in
[*]11876 2015-05-27 07:24:59.031 | ++ echo 'Found no valid images to use!'
[*]11877 2015-05-27 07:24:59.031 | Found no valid images to
这主要是由于python-openstackclient的版本太低导致的,openstack image list命令执行的时候不识别参数--property,只要升级即可解决。


[*]sudo pip install python-openstackclient --upgrade

页: [1]
查看完整版本: openstack image list: error: unrecognized arguments: --property status=active