Bug 2034849

Summary: [16.2] backup-and-restore role allows to set tripleo_backup_and_restore_nfs_storage_folder, but doesn't apply it properly
Product: Red Hat OpenStack Reporter: Alex Stupnikov <astupnik>
Component: tripleo-ansibleAssignee: Juan Larriba <jlarriba>
Status: CLOSED ERRATA QA Contact: myadla
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: ayefimov, mciecier
Target Milestone: z3Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: tripleo-ansible-0.8.1-2.20220201005252.2718509.el8osttrunk Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2047668 2047669 (view as bug list) Environment:
Last Closed: 2022-06-22 16:02:31 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:
Bug Depends On:    
Bug Blocks: 2047668, 2047669    

Description Alex Stupnikov 2021-12-22 10:58:35 UTC
Description of problem:

I may be in the wrong here, but after taking a look at backup-and-restore role in RHOSP 16.2 it looks like tripleo_backup_and_restore_nfs_storage_folder parameter is not applied properly:
- we use it to setup NFS server [1]
- we don't use it to setup ReaR [2]: hard-coded tripleo_backup_and_restore_output_url and tripleo_backup_and_restore_backup_url definitions are used


[1]
https://github.com/openstack/tripleo-ansible/blob/stable/train/tripleo_ansible/roles/backup-and-restore/setup_nfs/tasks/main.yml#L106-L119

[2]
https://github.com/openstack/tripleo-ansible/blob/stable/train/tripleo_ansible/roles/backup-and-restore/templates/local.conf.j2
https://github.com/openstack/tripleo-ansible/blob/stable/train/tripleo_ansible/roles/backup-and-restore/defaults/main.yml#L70-L71

Comment 1 Juan Larriba 2022-01-10 15:37:30 UTC
Thanks for the feedback, working on resolving it.

Comment 10 errata-xmlrpc 2022-06-22 16:02:31 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.3 (Train)), 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:4793