add api to support flattening volume

Registered by Cheng Li

CEPH is the well known backend of cinder volume. Cinder supports creating copy-on-write volume from snapshot.[1]
For example, volumeA -> snapshotA -> volumeB.
Now the user wants to delete volumeA and snapshotA, as they will not use them.
But they are not able to delete them. Because volumeB depends on them in CEPH layer.

If the user flattens volumeB in CEPH, then he/she will be able to delete volumeB.
We can add the flatten api in cinder, so that the user doesn't have to operate CEPH directly.

[1] http://docs.ceph.com/docs/master/rbd/rbd-snapshot/#layering

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Cheng Li
Direction:
Needs approval
Assignee:
Cheng Li
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Sean McGinnis

Related branches

Sprints

Whiteboard

We will not expose an API through Cinder specifically for one type of backend. If anything, the ceph driver should be updated to just handle this situation correctly.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.