Bug 1254470 - [Doc] Fail to delete a snapshot after creating a volume from that snapshot using Cinder RBD driver
Summary: [Doc] Fail to delete a snapshot after creating a volume from that snapshot us...
Keywords:
Status: CLOSED DUPLICATE of bug 1437392
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 7.0 (Kilo)
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
: ---
Assignee: Cinder Bugs List
QA Contact: Tzach Shefi
Laura Marsh
URL:
Whiteboard:
: 1254471 1570420 1574364 (view as bug list)
Depends On:
Blocks: 1135132 1570420 1574364
TreeView+ depends on / blocked
 
Reported: 2015-08-18 08:22 UTC by Yogev Rabl
Modified: 2022-08-17 13:15 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1570420 1574364 1575652 (view as bug list)
Environment:
Last Closed: 2019-10-08 21:52:31 UTC
Target Upstream Version:
Embargoed:
tshefi: automate_bug+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1485897 0 None None None Never
OpenStack gerrit 281550 0 'None' NEW RBD: postpone snapshot removal until final volume deleted 2021-02-12 17:19:03 UTC
Red Hat Issue Tracker OSP-4530 0 None None None 2022-08-17 13:15:16 UTC
Red Hat Knowledge Base (Solution) 3214921 0 None None None 2018-11-14 02:41:41 UTC

Description Yogev Rabl 2015-08-18 08:22:15 UTC
Description of problem:
The deletion of a snapshot fails with the error 

2015-08-18 11:11:39.198 4418 ERROR cinder.volume.manager [req-e721e329-ba76-4088-bce6-dbfb0757fe05 b7bc6cb74f5d4935b8a994d4c4582de2 e577bce6013b4fde98e5e44bc82e7ca1 - - -] Cannot delete snapshot 0b33c534-7f52-4aa5-9fbb-725eb929b771: snapshot is busy

while exists a volume that was created from it. 

Version-Release number of selected component (if applicable):
python-cinder-2015.1.0-3.el7ost.noarch
ceph-common-0.80.8-7.el7cp.x86_64
openstack-cinder-2015.1.0-3.el7ost.noarch
python-cinderclient-1.2.1-1.el7ost.noarch


How reproducible:
100% 

Steps to Reproduce:
1. Create a volume 
2. Take a snapshot of the volume
3. Create a new volume from the snapshot
4. Delete the snapshot 
5. Check the snapshot list

Actual results:
The snapshot stays in a available state

Expected results:
The Cinder client will provide an output that explains why the action failed or set the snapshot with a deleted tag in the Ceph pool and delete the snapshot record in Cinder

Comment 3 Sergey Gotliv 2015-09-21 12:58:00 UTC
*** Bug 1254471 has been marked as a duplicate of this bug. ***

Comment 4 Jon Bernard 2016-02-17 22:23:06 UTC
I believe the current patch in review most correctly addresses the problem.

Comment 5 Jon Bernard 2016-08-18 14:31:17 UTC
Just to clarify, patch is complete and awaiting reviews upstream.

Comment 6 Elise Gafford 2016-11-01 16:53:09 UTC
No recent progress on this issue (no review attention on upstream patch). Low priority. Moving to RHOS 11 for triage.

Comment 17 Sean Cohen 2018-05-07 14:30:40 UTC
This issue will be addressed by Bug 1575652 - [RFE] RBD driver update to postpone snapshot removal until final volume deleted that is scoped for OSP15 release.

Sean

Comment 18 Sean Cohen 2018-05-07 14:31:53 UTC
*** Bug 1574364 has been marked as a duplicate of this bug. ***

Comment 19 Sean Cohen 2018-05-07 14:31:56 UTC
*** Bug 1570420 has been marked as a duplicate of this bug. ***

Comment 27 Paul Grist 2019-01-16 18:52:56 UTC
Is this something that will never be fixed for RBD?  I think the dictates how we want to documented it - either as a known bug or a permanent warning.

Comment 28 Jon Bernard 2019-01-17 00:22:54 UTC
We could provide a solution where the snapshot is hidden or the volume is flattened, but I’m not aware of any existing requests for this.  I don’t expect it change in in the near-term.


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