Bug 1041679 - [RFE][cinder]: Add a "flat_volume" api to break dependency between a volume created from a snapshot and its parent snapshot
Summary: [RFE][cinder]: Add a "flat_volume" api to break dependency between a volume ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/cind...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 18:37 UTC by RHOS Integration
Modified: 2015-11-20 19:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:18:54 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 18:37:01 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/add-flat-volume-api.

Description:

For some backends  such like ceph and nexenta , they use CoW/Layering mechanism for cloning, that introduce a dependency between child volume and its parent snapshot/volumes. I want to add a flat_volume api extenssion(include api extension and also a dummy implementation in volume/driver.py), that willing to allow user to flat the child volume , thus remove the dependency.
Currently ,with such dependency, user cannot delete the parent volume/snapshot unless they deleted all child volumes cloned from them.This may not make sense for some use cases such like a tenant admin want to delete a base volume image,but there are still some running VMs using the child volumes.
With the flat_volume api(and also its implementation in backend driver), it allow such use case.

Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.