Bug 2034849 - [16.2] backup-and-restore role allows to set tripleo_backup_and_restore_nfs_storage_folder, but doesn't apply it properly
Summary: [16.2] 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.2 (Train)
Hardware: All
OS: All
medium
medium
Target Milestone: z3
: 16.2 (Train on RHEL 8.4)
Assignee: Juan Larriba
QA Contact: myadla
URL:
Whiteboard:
Depends On:
Blocks: 2047668 2047669
TreeView+ depends on / blocked
 
Reported: 2021-12-22 10:58 UTC by Alex Stupnikov
Modified: 2022-06-22 16:03 UTC (History)
2 users (show)

Fixed In Version: tripleo-ansible-0.8.1-2.20220201005252.2718509.el8osttrunk
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2047668 2047669 (view as bug list)
Environment:
Last Closed: 2022-06-22 16:02:31 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:04 UTC
Red Hat Issue Tracker OSP-11927 0 None None None 2021-12-22 11:00:09 UTC
Red Hat Issue Tracker UPG-4885 0 None None None 2021-12-22 16:10:40 UTC
Red Hat Product Errata RHBA-2022:4793 0 None None None 2022-06-22 16:03:05 UTC

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


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