Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1868066

Summary: tripleo-ansible-inventory script should support "--os-cloud" option
Product: Red Hat OpenStack Reporter: Cédric Jeanneret <cjeanner>
Component: openstack-tripleo-validationsAssignee: mathieu bultel <mbultel>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: aschultz, emacchi, jjoyce, jschluet, slinaber, tvignaud
Target Milestone: z2Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-11.3.2-1.20200826073431.2f92663.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-28 15:38:46 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 Cédric Jeanneret 2020-08-11 14:50:00 UTC
Description of problem:
We currently are unable to run the following:
openstack --os-cloud undercloud tripleo validator run --validation haproxy

It fails due to the "tripleo-ansible-inventory" script being used, and unable to authenticate because it lacks the ENV variables.
More over, the script itself doesn't support the use of the now standard authentication with the "clouds.yml" file.



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. try to call `tripleo-ansible-inventory --os-cloud undercloud'

Actual results:
it fails due to the "os-cloud" option not being recognized

Expected results:
it should generate the inventory

Additional info:

Comment 8 errata-xmlrpc 2020-10-28 15:38:46 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 16.1 bug fix and 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-2020:4284