Bug 2047669 - [16.1] backup-and-restore role allows to set tripleo_backup_and_restore_nfs_storage_folder, but doesn't apply it properly
Summary: [16.1] backup-and-restore role allows to set tripleo_backup_and_restore_nfs_s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.1 (Train)
Hardware: All
OS: All
medium
medium
Target Milestone: z9
: 16.1 (Train on RHEL 8.2)
Assignee: Juan Larriba
QA Contact: myadla
URL:
Whiteboard:
Depends On: 2034849
Blocks: 2047668
TreeView+ depends on / blocked
 
Reported: 2022-01-28 09:24 UTC by Juan Larriba
Modified: 2022-12-07 20:26 UTC (History)
3 users (show)

Fixed In Version: tripleo-ansible-0.5.1-1.20220201163748.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2034849
Environment:
Last Closed: 2022-12-07 20:25:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 826388 0 None MERGED The NFS directory parameter is hardcoded instead of re-used 2022-01-28 09:30:18 UTC
Red Hat Issue Tracker OSP-12356 0 None None None 2022-01-28 09:26:05 UTC
Red Hat Issue Tracker UPG-4948 0 None None None 2022-01-28 09:26:29 UTC
Red Hat Product Errata RHBA-2022:8795 0 None None None 2022-12-07 20:26:01 UTC

Description Juan Larriba 2022-01-28 09:24:31 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 11 errata-xmlrpc 2022-12-07 20:25:32 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.9 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:8795


Note You need to log in before you can comment on or make changes to this bug.