capacity-headroom
Currently there is no way for admin users to have a clear knowledge of how much block storage capacity left totally to be deployed in Cinder. Another fact is that the utilization of the block storage may be very low at some time. For example, a backend may have 100G, only 20G is used and other 80G will not be touched for a long time. Actually the 80G may be lent to others for a temporary time and could be the virtual capacity.
The capacity-headroom topic will expose the remaining virtual block storage capacity totally which is available to allocate. It will notify the Ceilometer service about the total/free/
Steps:
1. Calculate the virtual_free capacity for each pool and then sum for the backend
Calculates the virtual_free capacity if thin provisioning is supported.
According to the over subscription mechanism implemented for LVM,
the remaining virtual capacity for a backend can be used as terminology :
apparent_
apparent_
total_capacity * max_over_
2. Notify total/free/
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Medium
- Drafter:
- Xin, Xiaohui
- Direction:
- Approved
- Assignee:
- Xin, Xiaohui
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Needs Code Review
- Milestone target:
- None
- Started by
- Xin, Xiaohui
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
capacity headroom
Addressed by: https:/
capacity-
Addressed by: https:/
Moving capacity-headroom spec to mitaka cycle
Addressed by: https:/
Wrap the method to calculate virtual free capacity