RBD: Never send capabilities notification

Bug #1760529 reported by Yang Shengming
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Medium
Brin Zhang

Bug Description

Since the function _update_volume_stats in rbd driver doesn't put 'pools' in return value, the 'if' statement in host_manager.py will always return empty list before sending capabilities notification.

Because of this, while using ceph as cinder backend, ceilometer 'capacity.backend.*' type metrics not working.

Tags: ceph drivers rbd
Brin Zhang (zhangbailin)
Changed in cinder:
assignee: nobody → Brin Zhang (zhangbailin)
Eric Harney (eharney)
Changed in cinder:
importance: Undecided → Medium
Revision history for this message
Eric Harney (eharney) wrote :

Drivers are not required to report pools info in their stats results:

https://opendev.org/openstack/cinder/src/tag/16.0.0/cinder/scheduler/host_manager.py#L239

Changed in cinder:
status: New → Invalid
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.