Bug 1862149 - Missing quotes in tripleo_common/inventories.py prevent host vars to be populated properly
Summary: Missing quotes in tripleo_common/inventories.py prevent host vars to be popul...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z3
: 16.1 (Train on RHEL 8.2)
Assignee: Cédric Jeanneret
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-30 14:45 UTC by Cédric Jeanneret
Modified: 2020-12-15 18:36 UTC (History)
6 users (show)

Fixed In Version: openstack-tripleo-common-11.4.1-1.20200917023445.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 18:36:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1889635 0 None None None 2020-07-30 14:45:17 UTC
OpenStack gerrit 743990 0 None MERGED Correct the inventory generation 2020-11-24 08:27:56 UTC
OpenStack gerrit 745730 0 None MERGED Correct the inventory generation 2020-11-24 08:27:57 UTC
OpenStack gerrit 745732 0 None MERGED Correct the inventory generation 2020-11-24 08:27:56 UTC
Red Hat Product Errata RHEA-2020:5413 0 None None None 2020-12-15 18:36:52 UTC

Description Cédric Jeanneret 2020-07-30 14:45:17 UTC
A term isn't quoted in the code, preventing the additional host vars to be present in the inventory:
https://opendev.org/openstack/tripleo-common/src/branch/stable/train/tripleo_common/inventories.py#L89

Comment 2 Cédric Jeanneret 2020-11-24 09:12:00 UTC
To Verify it:
- deploy undercloud + small overcloud (just one node is enough)
- generate the inventory using the standard tripleo-ansible-inventory --os-cloud undercloud --static-yaml-inventory foo.yaml
- ensure you get "container_cli" in the generated file

Comment 3 Jad Haj Yahya 2020-11-24 10:15:51 UTC
 tripleo-ansible-inventory --os-cloud undercloud --static-yaml-inventory foo.yaml
- ensure you get "container_cli" in the generated file

Comment 12 errata-xmlrpc 2020-12-15 18:36:15 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.3 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:5413


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