Back to bug 2022121

Who When What Removed Added
Red Hat One Jira (issues.redhat.com) 2021-11-10 19:29:53 UTC Link ID Red Hat Issue Tracker OSP-10759
Sofia Enriquez 2021-11-10 19:30:36 UTC CC eharney, ltoscano, senrique
Assignee cinder-bugs senrique
Priority unspecified medium
Keywords Triaged
Sofia Enriquez 2021-11-10 19:31:50 UTC Link ID OpenStack gerrit 810406
Status NEW POST
RHEL Program Management 2021-11-10 22:13:06 UTC Target Release 16.1 (Train on RHEL 8.2) --- --- 16.2 (Train on RHEL 8.4)
Luigi Toscano 2021-11-10 22:13:38 UTC Target Milestone z8 z2
Sofia Enriquez 2022-01-10 14:04:53 UTC Status POST MODIFIED
Doc Type If docs needed, set a value Bug Fix
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.
Fixed In Version openstack-cinder-15.6.1-2.20211218044843.c093eda.el8osttrunk
OSP Team 2022-01-12 07:02:19 UTC Fixed In Version openstack-cinder-15.6.1-2.20211218044843.c093eda.el8osttrunk openstack-cinder-15.6.1-2.20211218044843.c093eda.el8ost
errata-xmlrpc 2022-01-31 15:13:51 UTC Status MODIFIED ON_QA
Tzach Shefi 2022-02-27 11:22:38 UTC Status ON_QA VERIFIED
Roger Heslop 2022-02-28 18:58:34 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 NFS driver would block attempts to delete OpenStack Storage snapshots in the error state, which prevented users from removing broken snapshot DB entries. With this update, the restriction is removed so that you can clean up failed snapshots.
CC rheslop
errata-xmlrpc 2022-03-23 18:22:23 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2022-03-23 22:12:24 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2022-03-23 22:12:24 UTC
errata-xmlrpc 2022-03-23 22:12:49 UTC Link ID Red Hat Product Errata RHBA-2022:1001

Back to bug 2022121