Bug 1613255
Summary: | [UPGRADES][13]Failed to access hostvars - "|failed expects a dictionary" | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Yurii Prokulevych <yprokule> |
Component: | openstack-tripleo-common | Assignee: | Cédric Jeanneret <cjeanner> |
Status: | CLOSED ERRATA | QA Contact: | Gurenko Alex <agurenko> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 13.0 (Queens) | CC: | augol, ccamacho, cjeanner, jfrancoa, jschluet, jstransk, mburns, slinaber |
Target Milestone: | z2 | Keywords: | Triaged, ZStream |
Target Release: | 13.0 (Queens) | Flags: | cjeanner:
needinfo-
|
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-common-8.6.3-8.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-08-29 16:39:25 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: | |||
Bug Depends On: | 1613161 | ||
Bug Blocks: |
Description
Yurii Prokulevych
2018-08-07 10:13:02 UTC
We are missing several patches related to openstack-tripleo-common/inventory.py in the downstream branch rhos-13.0-patches which are present in tripleo_common stable/queens branch upstream. To be more precise, all of these: [Include 'tripleo_role_name' in the inventory] https://github.com/openstack/tripleo-common/commit/f3970c2db0bb56b668da1ab82b557d52c458a28e#diff-354b2f588533c21d913db5dd03f9bade [Fix dynamic inventory] https://github.com/openstack/tripleo-common/commit/18324fb412267bfb113731d92c4bd92f8ed40ea4#diff-354b2f588533c21d913db5dd03f9bade [Use hostnames in inventory] https://github.com/openstack/tripleo-common/commit/7901fb43cb4db2d493349e649caf970ab72127bb#diff-354b2f588533c21d913db5dd03f9bade [Remove role_data from inventory ] https://github.com/openstack/tripleo-common/commit/1e4f49f5563f153c9ef0bdd1a38734395084b0dc#diff-354b2f588533c21d913db5dd03f9bade When generating the tripleo-ansible-inventory.yml using the current inventory.py ( https://raw.githubusercontent.com/openstack/tripleo-common/stable/queens/tripleo_common/inventory.py ) file from stable/queens, the errors dissapear and we can safely access hostvars variables in the playbooks. So, we would need to cherry-pick all those patches downstream, into rhos-13.0-patches, in order to solve this bug. This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible. If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-". To add draft documentation text: * Select the documentation type from the "Doc Type" drop down field. * A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field. 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, 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/RHBA-2018:2574 |