Cinder client command fails without any messages when enable_v1_api is set to false in the cinder.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When enable_v1_api is set to false in the cinder.conf, the cinder command 'cinder list' is executed but fails silently.
It just give a message "ERROR: 'volumes'". I don't know that command execution fails because of the value of enable_v1_api.
I think the error message should give us more useful information. When enable_v1_api is set to false, argument
'--os-volume-
[DEFAULT]
log_dir = /opt/stack/log
os_privileged_
os_privileged_
os_privileged_
glance_api_servers = http://
osapi_volume_
logging_
logging_
logging_
logging_
volume_clear = zero
rpc_backend = rabbit
default_volume_type = huawei_18000
enabled_backends = huawei_18000
os_region_name = RegionOne
enable_v1_api = false
periodic_interval = 60
stack@openstack
ERROR: 'volumes'
stack@openstack
stack@openstack
stack@openstack
+----+-
| ID | Status | Name | Size | Volume Type | Bootable | Multiattach | Attached to |
+----+-
+----+-
the cinder-api log:
2015-08-25 14:49:13.023 DEBUG eventlet.
2015-08-25 14:49:13.025 INFO cinder.
2015-08-25 14:49:13.025 DEBUG cinder.
2015-08-25 14:49:13.027 INFO cinder.
2015-08-25 14:49:13.027 INFO eventlet.
Changed in python-cinderclient: | |
status: | New → Invalid |