Bug 1979578

Summary: [16.1] 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.1 (Train)CC: elicohen, jbadiapa, skovili
Target Milestone: z8Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-0.5.1-1.20211202153350.902c3c8.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1979577 Environment:
Last Closed: 2022-03-24 11:00:12 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, 1979577    
Bug Blocks:    

Description Juan Larriba 2021-07-06 13:10:07 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:46 UTC
*** Bug 1980239 has been marked as a duplicate of this bug. ***

Comment 5 Sree 2022-03-02 02:16:45 UTC
Tested and Verified on 16.1 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 10 errata-xmlrpc 2022-03-24 11:00:12 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 16.1.8 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-2022:0986