cinder get-capabilities , Only one backend volume stats and properties information can be obtained

Bug #1732323 reported by jialiang gao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
In Progress
Undecided
jialiang gao

Bug Description

I configured two volume backend in a host, and retrieved the backend volume stats and properties information on this host through "cinder get-capabilities", which only showed the first volume backend status and properties information

stack@openstack:~$ cinder service-list
+------------------+-----------------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+-----------------------+------+---------+-------+----------------------------+-----------------+
| cinder-backup | openstack | nova | enabled | up | 2017-11-14T02:42:23.000000 | - |
| cinder-scheduler | openstack | nova | enabled | up | 2017-11-14T02:42:18.000000 | - |
| cinder-volume | openstack@ceph | nova | enabled | up | 2017-11-14T02:42:16.000000 | - |
| cinder-volume | openstack@lvmdriver-1 | nova | enabled | up | 2017-11-14T02:42:23.000000 | - |
+------------------+-----------------------+------+---------+-------+----------------------------+-----------------+

stack@openstack:~$ cinder get-capabilities openstack
+---------------------+--------------------------------------------------+
| Volume stats | Value |
+---------------------+--------------------------------------------------+
| description | None |
| display_name | None |
| driver_version | 3.0.0 |
| namespace | OS::Storage::Capabilities::openstack@lvmdriver-1 |
| pool_name | None |
| replication_targets | [] |
| storage_protocol | iSCSI |
| vendor_name | Open Source |
| visibility | None |
| volume_backend_name | lvmdriver-1 |
+---------------------+--------------------------------------------------+
+---------------------+----------------------------------------------------------------------------------------------------------------------------------+
| Backend properties | Value |
+---------------------+----------------------------------------------------------------------------------------------------------------------------------+
| compression | {u'type': u'boolean', u'description': u'\u542f\u7528\u538b\u7f29\u3002', u'title': u'Compression'} |
| qos | {u'type': u'boolean', u'description': u'\u542f\u7528 QoS\u3002', u'title': u'QoS'} |
| replication_enabled | {u'type': u'boolean', u'description': u'\u542f\u7528\u590d\u5236\u3002', u'title': u'Replication'} |
| thin_provisioning | {u'type': u'boolean', u'description': u'\u8bbe\u7f6e\u81ea\u52a8\u7cbe\u7b80\u914d\u7f6e\u3002', u'title': u'Thin Provisioning'} |
+---------------------+----------------------------------------------------------------------------------------------------------------------------------+

jialiang gao (chialiang)
Changed in python-cinderclient:
assignee: nobody → jialiang gao (chialiang)
status: New → In Progress
jialiang gao (chialiang)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.