refactor volume status in managing vol

Registered by wanghao

Currently, quota reservation in managing vol/snp is processed in cinder-volume. That will cause some bug[1].
Although we have a patch[2] to improve this issue, but still able to abuse project's volume/snapshot quota by doing some manage/unmanage tricks(See Michal's review in patchset 26).

So we need a way to solve it completely.
There's a refactoring to introduce 'manage_starting' and 'error_managing' status into managing process like what manila is using now. If volume is in error_managing, quota wouldn't be decreased when delete this volume.

[1]: https://bugs.launchpad.net/cinder/+bug/1504007
[2]: https://review.openstack.org/#/c/232436/

Blueprint information

Status:
Complete
Approver:
Sean McGinnis
Priority:
Low
Drafter:
wanghao
Direction:
Approved
Assignee:
wanghao
Definition:
Approved
Series goal:
Proposed for ocata
Implementation:
Implemented
Milestone target:
milestone icon ocata-1
Started by
wanghao
Completed by
wanghao

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/1504007,n,z

Addressed by: https://review.openstack.org/333164
    Refactor volume status in managing vol

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.