Bug 1989680
Summary: | RBD Volume can't be removed if other volumes were created from a snapshot of this volume and were not removed | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Emilien Macchi <emacchi> | |
Component: | openstack-cinder | Assignee: | Eric Harney <eharney> | |
Status: | CLOSED MIGRATED | QA Contact: | Evelina Shames <eshames> | |
Severity: | high | Docs Contact: | RHOS Documentation Team <rhos-docs> | |
Priority: | medium | |||
Version: | 16.2 (Train) | CC: | alfrgarc, ebarrera, eduen, eharney, enothen, eshames, gcharot, gfidente, itbrown, jobernar, jveiraca, ltoscano, mdemaced, pgrist, rlobillo, udesale | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2231960 (view as bug list) | Environment: | ||
Last Closed: | 2024-01-05 11:06:21 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1997715, 2231960 | |||
Bug Blocks: |
Description
Emilien Macchi
2021-08-03 17:40:01 UTC
The V2 CLONE API makes it impossible to delete the snapshot without removing the original volume test-pvc. However, in order to delete the cloned volume, cinder expects an extra configuration: rbd_flatten_volume_from_snapshot [1]. This config is set to False by default. To solve this issue enable it on cinder.conf. [1] https://opendev.org/openstack/cinder/src/branch/master/cinder/volume/drivers/rbd.py#L1073 *** Bug 2050163 has been marked as a duplicate of this bug. *** For Openshift on Openstack, this bug is provoking the K8s being hung on PVC deletion. Rising the severity. Hello Currently there is a Cinder upstream patch in progress. We need changes in Glance similar to Cinder to allow deletion of parent images that have dependent volumes. Eric lead the discussion at Bobcat PTG https://wiki.openstack.org/wiki/CinderBobcatPTGSummary#RBD_deletion_issues Cheers, The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |