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

Fixed In Version: tripleo-ansible-3.3.1-0.20220204021043.c195ba1.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2034849
Environment:
Last Closed: 2022-06-15 07:40:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 826385 0 None MERGED The NFS directory parameter is hardcoded instead of re-used 2022-01-28 09:29:26 UTC
Red Hat Issue Tracker OSP-12355 0 None None None 2022-01-28 09:26:01 UTC
Red Hat Issue Tracker UPG-4947 0 None None None 2022-01-28 09:26:19 UTC

Description Juan Larriba 2022-01-28 09:22:50 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


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