Back to bug 1741453

Who When What Removed Added
Tzach Shefi 2019-08-15 09:08:58 UTC Priority unspecified medium
Severity unspecified low
Tzach Shefi 2019-08-20 04:37:35 UTC Summary RFE enhance Cindersnapshot-delete --force Fix Cinder snapshot-delete --force
Severity low medium
Eric Harney 2019-08-20 15:48:38 UTC CC eharney
Alan Bishop 2019-08-27 12:43:35 UTC Keywords Triaged
CC abishop
Assignee cinder-bugs senrique
Eric Harney 2019-08-27 13:13:33 UTC Summary Fix Cinder snapshot-delete --force NFS snapshot deletion issue
Sofia Enriquez 2019-08-28 16:08:22 UTC Status NEW ASSIGNED
Sofia Enriquez 2019-08-28 20:42:38 UTC Status ASSIGNED ON_DEV
Link ID OpenStack gerrit 679138
Sofia Enriquez 2019-08-30 17:50:48 UTC Link ID Launchpad 1842088
Doc Type If docs needed, set a value Bug Fix
Luigi Toscano 2020-06-24 17:48:34 UTC Target Release --- 16.1 (Train on RHEL 8.2)
Target Milestone --- z2
Luigi Toscano 2020-09-08 10:58:11 UTC Target Milestone z2 z3
Luigi Toscano 2020-10-21 13:06:15 UTC Target Milestone z3 z4
Luigi Toscano 2021-01-12 11:54:54 UTC Target Milestone z4 z5
Luigi Toscano 2021-03-24 12:43:54 UTC Target Milestone z5 z6
Luigi Toscano 2021-03-31 21:48:15 UTC Target Milestone z6 z7
Andy Stillman 2021-04-09 19:51:47 UTC Docs Contact ccopello astillma
Andy Stillman 2021-06-18 19:30:32 UTC Docs Contact astillma rhos-docs
Luigi Toscano 2021-07-09 13:31:38 UTC CC ltoscano
Target Milestone z7 z8
Sofia Enriquez 2021-08-20 20:19:26 UTC Status ON_DEV POST
Sofia Enriquez 2021-08-20 20:20:27 UTC Version 15.0 (Stein) 16.1 (Train)
Luigi Toscano 2021-08-20 23:02:50 UTC Version 16.1 (Train) 15.0 (Stein)
Sofia Enriquez 2021-11-05 16:53:31 UTC Status POST ON_DEV
Link ID OpenStack gerrit 810406
Sofia Enriquez 2021-11-08 19:07:47 UTC Status ON_DEV POST
Red Hat One Jira (issues.redhat.com) 2021-11-10 19:07:57 UTC Link ID Red Hat Issue Tracker OSP-701
Sofia Enriquez 2021-11-10 19:33:25 UTC Summary NFS snapshot deletion issue [16.1] NFS snapshot deletion issue
Sofia Enriquez 2022-01-10 14:02:31 UTC Fixed In Version openstack-cinder-15.4.0-1.20220107213400.58f0e73.el8ost
Doc Text Cause: The NFS driver doesn't allow you to delete snapshots in error state when snapshot support is disable.

Consequence: I'm facing some scenarios where snapshots are enabled then a snapshot is created and after that then snapshots are disabled. This results in error state snapshots that can't be deleted. Another scenario is - with nfs snapshot support disable from the beginning- the API layer allows the snapshot to be created but the NFS driver sets the status to "error" leaving the snapshot in the DB with error state. Because of that, I have snapshots in error state that I'm not able to delete.
Fix: Allow removing NFS snapshots in error status

Result: The purpose of this fix allows deleting snapshots in error state. It makes sense to block creating snapshots when snapshot support is False. However, when deleting a snapshot we don't want to block attempts to delete a broken snapshot DB entry, which is necessary to clean up a failed snapshot creation.
Status POST MODIFIED
errata-xmlrpc 2022-01-24 09:27:09 UTC Status MODIFIED ON_QA
Tzach Shefi 2022-03-07 12:55:28 UTC Status ON_QA VERIFIED
Roger Heslop 2022-03-07 17:46:06 UTC Doc Text Cause: The NFS driver doesn't allow you to delete snapshots in error state when snapshot support is disable.

Consequence: I'm facing some scenarios where snapshots are enabled then a snapshot is created and after that then snapshots are disabled. This results in error state snapshots that can't be deleted. Another scenario is - with nfs snapshot support disable from the beginning- the API layer allows the snapshot to be created but the NFS driver sets the status to "error" leaving the snapshot in the DB with error state. Because of that, I have snapshots in error state that I'm not able to delete.
Fix: Allow removing NFS snapshots in error status

Result: The purpose of this fix allows deleting snapshots in error state. It makes sense to block creating snapshots when snapshot support is False. However, when deleting a snapshot we don't want to block attempts to delete a broken snapshot DB entry, which is necessary to clean up a failed snapshot creation.
Before this update, the OpenStack NFS driver blocked attempts to delete snapshots in an error state when snapshot support is disabled. New or existing snapshots are placed in an error state when snapshot support is disabled, but users could not remove these failed snapshots. With this update, users can now remove NFS snapshots in error status.
CC rheslop
errata-xmlrpc 2022-03-23 08:09:49 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2022-03-24 10:59:07 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2022-03-24 10:59:07 UTC
errata-xmlrpc 2022-03-24 10:59:41 UTC Link ID Red Hat Product Errata RHBA-2022:0986

Back to bug 1741453