Inspection Mechanism For Capacity Limited Host

Registered by wangxiyuan

Cinder has a scheduler filter called "CapacityFilter" which allow users to create volume under capacity limit. But some APIs which don't go through cinder-scheduler will break the destination host's capacity . Such as extend volume, create volume from snapshot, copy volume and so on.
So IMO, we need add an inspection mechanism for this APIs to ensure that these actions should not break the destination host's capacity.
This bp will introduce a check function at API layer and the APIs which may break the capacity will be checked before send the requset to cinder-volume.

Blueprint information

Status:
Complete
Approver:
Sean McGinnis
Priority:
Low
Drafter:
wangxiyuan
Direction:
Approved
Assignee:
wangxiyuan
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-3
Started by
Sean McGinnis
Completed by
Sean McGinnis

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/inspection-mechanism-for-capacity-limited-host,n,z

Addressed by: https://review.openstack.org/308869
    Inspection Mechanism For Capacity Limited Host

Addressed by: https://review.openstack.org/512276
    Schedule the request to scheduler when creating from snapshot

Addressed by: https://review.openstack.org/517574
    Schedule request to scheduler when create group from resource

Addressed by: https://review.openstack.org/538413
    Schedule request to scheduler when manage existing snapshot

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.