Bug 1868066 - tripleo-ansible-inventory script should support "--os-cloud" option
Summary: tripleo-ansible-inventory script should support "--os-cloud" option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: 16.1 (Train on RHEL 8.2)
Assignee: mathieu bultel
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-11 14:50 UTC by Cédric Jeanneret
Modified: 2020-10-28 15:39 UTC (History)
6 users (show)

Fixed In Version: openstack-tripleo-validations-11.3.2-1.20200826073431.2f92663.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-28 15:38:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 747140 0 None MERGED Add os-cloud support for tripleo-ansible-inventory script 2020-09-21 19:33:10 UTC
OpenStack gerrit 747881 0 None MERGED Add os-cloud support for tripleo-ansible-inventory script 2020-09-21 19:33:10 UTC
Red Hat Product Errata RHEA-2020:4284 0 None None None 2020-10-28 15:39:12 UTC

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


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