Bug 1979577

Summary: [16.2] Fix tripleo_backup_and_restore_rear_simulate boolean check
Product: Red Hat OpenStack Reporter: Juan Larriba <jlarriba>
Component: tripleo-ansibleAssignee: Juan Larriba <jlarriba>
Status: CLOSED ERRATA QA Contact: Sree <skovili>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: elicohen, jbadiapa, skovili
Target Milestone: z2Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-0.8.1-2.20210802224809.1b0544f.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1979551
: 1979578 (view as bug list) Environment:
Last Closed: 2022-03-23 22:10:49 UTC Type: ---
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: 1979551    
Bug Blocks: 1979578, 1980239    

Description Juan Larriba 2021-07-06 13:07:20 UTC
If |bool is not added to the check, "--extra-vars tripleo_backup_and_restore_rear_simulate=false" is considered to be True.

Comment 2 Juan Larriba 2021-07-08 09:10:10 UTC
*** Bug 1980237 has been marked as a duplicate of this bug. ***

Comment 6 Sree 2022-03-02 02:15:45 UTC
Tested and Verified on 16.2 version:

Ran the below command while backing up of control plane.

openstack overcloud backup  --inventory /home/stack/backup-inventory.yaml --extra-vars '{"tripleo_backup_and_restore_ceph_auth_file": "/var/lib/ceph/ceph-authentication.bak", "tripleo_backup_and_restore_hide_sensitive_logs": "false" , ”tripleo_backup_and_restore_rear_simulate": "false"}'

False boolean should result in backup and not simulation so, backup files where generated for the control planes.

Comment 11 errata-xmlrpc 2022-03-23 22:10:49 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 (Release of components for Red Hat OpenStack Platform 16.2.2), 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-2022:1001