Volumes Tied To a Consistency Group Can Be Deleted

Bug #1413427 reported by Mike Perez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Mike Perez

Bug Description

Volume delete allows a volume to be deleted, even though it's part of a consistency group. Discussed this with Xing, and this was a missing check and shouldn't be allowed. Additional patches will be giving the ability to remove a volume from a consistency group [1].

[1] - https://blueprints.launchpad.net/cinder/+spec/consistency-groups-kilo-update

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/149095

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/149095
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=eb107145173fb71314de9b10cf3ca50c74442519
Submitter: Jenkins
Branch: master

commit eb107145173fb71314de9b10cf3ca50c74442519
Author: Mike Perez <email address hidden>
Date: Wed Jan 21 16:06:49 2015 -0800

    Prevent deleting volumes in a consistency group

    Currently you have to destroy the consistency group if you want to
    delete these volumes. In the Kilo release, we'll have the ability to
    remove a volume from a consistency group, which then can be deleted.

    Closes-Bug: #1413427
    Change-Id: Ice8ab88a89e447a08c3ce71c7698dd5fcf02d1e9

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
TaoBai (baitao2020) wrote :

Hi Mike

Can I know the reason why a volume in CG can't be deleted ? What's the thinking in this design?

Thanks

Tao

Revision history for this message
Mike Perez (thingee) wrote :

If a volume is part of a consistency group, might be an accident to remove it. You can first remove it from the consistency group, then delete the volume.

Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.