Bug 1954079 - Backup and Restore: Backup openstack client integration gives 8000 lines of output when passing --nfs-setup and --rear-setup
Summary: Backup and Restore: Backup openstack client integration gives 8000 lines of o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ga
: 16.2 (Train on RHEL 8.4)
Assignee: Juan Badia Payno
QA Contact: myadla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-27 14:39 UTC by myadla
Modified: 2021-09-15 07:14 UTC (History)
9 users (show)

Fixed In Version: python-tripleoclient-12.5.1-2.20210603180733.95feb7c.el8ost.1
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 07:14:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 788459 0 None MERGED [only-train] BnR overwrite the json output 2021-05-04 13:58:01 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:14:55 UTC

Description myadla 2021-04-27 14:39:19 UTC
Description of problem:
Backup and Restore: Backup openstack client integration gives 8000 lines of output when passing --nfs-setup and --rear-setup

Listed commands below:

$ openstack undercloud backup --setup-nfs --inventory /home/stack/backup-inventory.yaml

$ openstack undercloud backup  --setup-rear 
--inventory /home/stack/backup-inventory.yaml


Version-Release number of selected component (if applicable): RHOS-16.2-RHEL-8-20210420.n.0, tripleo-ansible-0.6.1-2.20210323013845.00f09d9.el8ost.1.noarch

How reproducible: 100%


Steps to Reproduce:
1. Deploy openstack
2. Create an inventory file for your NFS server, undercloud, and overcloud in 
/home/stack/backup-inventory.yaml

3. Log onto the undercloud and run
$ openstack undercloud backup --setup-nfs --inventory /home/stack/backup-inventory.yaml ---> gives 8000 lines of ouptut


Actual results: 8000+ lines of output and is unformatted in JSON

Expected results: Formatted output with something concise. (PASS or FAIL)

Additional info:

Comment 1 Juan Badia Payno 2021-04-28 09:49:21 UTC
There is a patch to overwrite the default configuration of the output.

It can also be overwritten by,
ANSIBLE_STDOUT_CALLBACK=tripleo openstack undercloud backup --setup-nfs --inventory /home/stack/backup-inventory.yaml

Comment 9 errata-xmlrpc 2021-09-15 07:14:29 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 (RHOSP) 16.2 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/RHEA-2021:3483


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