Bug 2049498

Summary: OSP17 - Backup and Recovery:: Set properly the default inventory file
Product: Red Hat OpenStack Reporter: Juan Badia Payno <jbadiapa>
Component: python-tripleoclientAssignee: Fernando Díaz <fdiazbra>
Status: CLOSED ERRATA QA Contact: Sree <skovili>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.0 (Wallaby)CC: hbrock, jlarriba, jslagle, mburns, skovili
Target Milestone: gaKeywords: Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-16.4.1-0.20220616012325.3cb4bda.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 12:18:58 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:

Description Juan Badia Payno 2022-02-02 11:06:39 UTC
The backup and recovery operation with the CLI have a wrong default path on the inventory file.

The default path is addressed to /home/stack/tripleo-inventory.yaml that needed to be generated manually.

The new release the inventory is generated automatically and the path is not that one.

Also the restoration command does not have the inventory argument, which makes the commands very different. We need to make the commands more consistent. Added on the review [817138]

Some related usefull links:
- https://github.com/openstack/python-tripleoclient/blob/master/tripleoclient/v1/undercloud_backup.py
- https://github.com/openstack/python-tripleoclient/blob/master/tripleoclient/v1/overcloud_backup.py
- https://github.com/openstack/python-tripleoclient/blob/master/tripleoclient/v1/overcloud_restore.py
- [817138] https://review.opendev.org/c/openstack/python-tripleoclient/+/817138

Comment 6 errata-xmlrpc 2022-09-21 12:18:58 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 17.0 (Wallaby)), 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/RHEA-2022:6543