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 | - |
+------------------+-----------------------+------+---------+-------+----------------------------+-----------------+
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 ------- -----+- ------- ------- ------- -+----- -+----- ----+-- -----+- ------- ------- ------- ------+ ------- ------- ---+ ------- -----+- ------- ------- ------- -+----- -+----- ----+-- -----+- ------- ------- ------- ------+ ------- ------- ---+ 14T02:42: 23.000000 | - | 14T02:42: 18.000000 | - | 14T02:42: 16.000000 | - | lvmdriver- 1 | nova | enabled | up | 2017-11- 14T02:42: 23.000000 | - | ------- -----+- ------- ------- ------- -+----- -+----- ----+-- -----+- ------- ------- ------- ------+ ------- ------- ---+
+------
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------
| cinder-backup | openstack | nova | enabled | up | 2017-11-
| cinder-scheduler | openstack | nova | enabled | up | 2017-11-
| cinder-volume | openstack@ceph | nova | enabled | up | 2017-11-
| cinder-volume | openstack@
+------
stack@openstack:~$ cinder get-capabilities openstack ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ function' : None, u'total_volumes': 1, u'provisioned_ capacity_ gb': 0.0, u'multiattach': False, u'thin_ provisioning_ support' : True, u'free_ capacity_ gb': 4.75, u'location_info': u'LVMVolumeDriv er:openstack: stack-volumes- lvmdriver- 1:thin: 0', u'total_ capacity_ gb': u'4.75', u'thick_ provisioning_ support' : False, u'reserved_ percentage' : 0, u'QoS_support': False, u'max_over_ subscription_ ratio': 20.0}] | lvmdriver- 1 | ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ u7528\u538b\ u7f29\u3002' , u'title': u'Compression'} | u7528\u590d\ u5236\u3002' , u'title': u'Replication'} | u7f6e\u81ea\ u52a8\u7cbe\ u7b80\u914d\ u7f6e\u3002' , u'title': u'Thin Provisioning'} | ------- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+
+------
| Volume stats | Value |
+------
| driver_version | 3.0.0 |
| pools | [{u'pool_name': u'lvmdriver-1', u'filter_function': None, u'goodness_
| sparse_copy_volume | True |
| storage_protocol | iSCSI |
| topic | openstack@
| vendor_name | Open Source |
| volume_backend_name | lvmdriver-1 |
+------
+------
| Backend properties | Value |
+------
| compression | {u'type': u'boolean', u'description': u'\u542f\
| 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\
| thin_provisioning | {u'type': u'boolean', u'description': u'\u8bbe\
+------