Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2143265

Summary: [OSP17.1]Block deletion of existing snapshots on creation command
Product: Red Hat OpenStack Reporter: Fernando Díaz <fdiazbra>
Component: tripleo-ansibleAssignee: Fernando Díaz <fdiazbra>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: jbadiapa, jpretori, mciecier
Target Milestone: z2Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-3.3.1-0.20230919125549.5b464ef.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-16 14:32:01 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:

Description Fernando Díaz 2022-11-16 13:30:37 UTC
Existing controller snapshots are being deleted when the command to create snapshots is executed and a second execution is required for them to be created again. 
The correct behavior would be:
1. Not allow to create snapshots if they already exist, forcing the user to execute the delete command. 
2. If the command to create snapshots is executed and they already exist, the user  should be informed. 
3. Snapshots should only be created if none exist.

Comment 4 Lukas Svaty 2023-06-16 08:13:29 UTC
Bulk moving target milestone to GA after the release of Beta on 14th June '23.

Comment 8 David Rosenfeld 2023-08-10 17:07:05 UTC
Moving back to ON_DEV. Executed the snapshot command:

openstack overcloud backup snapshot

twice, but no message was displayed to user indicating that snapshots already exist.

Comment 22 errata-xmlrpc 2024-01-16 14:32:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 17.1.2 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:0209