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:
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
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