Bug 1760502 - Overcloud deployment fails upon task "Render hieradata from template" on all overcloud nodes
Summary: Overcloud deployment fails upon task "Render hieradata from template" on all ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.0 (Train)
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: beta
: 16.0 (Train on RHEL 8.1)
Assignee: Goutham Pacha Ravi
QA Contact: Nathan Weinberg
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-10 17:11 UTC by Nathan Weinberg
Modified: 2020-02-06 14:42 UTC (History)
11 users (show)

Fixed In Version: tripleo-ansible-0.4.1-0.20191026040006.3a4aaae.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 14:42:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1849393 0 None None None 2019-10-23 00:40:32 UTC
OpenStack gerrit 690452 0 'None' MERGED Fix invalid variable issue with StorageNFS 2020-07-16 17:01:18 UTC
OpenStack gerrit 691189 0 'None' MERGED Fix invalid variable issue with StorageNFS 2020-07-16 17:01:18 UTC
Red Hat Product Errata RHEA-2020:0283 0 None None None 2020-02-06 14:42:44 UTC

Comment 1 Alex Schultz 2019-10-10 21:16:50 UTC
Actual errors:

failed: [compute-0] (item=vip_data) => {"ansible_loop_var": "item", "changed": false, "item": "vip_data", "msg": "AnsibleUndefinedVariable: 'storagenfs_net_name' is undefined"}
failed: [ceph-1] (item=vip_data) => {"ansible_loop_var": "item", "changed": false, "item": "vip_data", "msg": "AnsibleUndefinedVariable: 'storagenfs_net_name' is undefined"}
failed: [ceph-2] (item=vip_data) => {"ansible_loop_var": "item", "changed": false, "item": "vip_data", "msg": "AnsibleUndefinedVariable: 'storagenfs_net_name' is undefined"}

This is likely due to a bad network data configuration.

Comment 2 Alex Schultz 2019-10-10 21:26:39 UTC
Kevin can you take a look? I think https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible/roles/tripleo-hieradata/templates/vip_data.j2#L17 might be wrong. It might need to be net_vip_map[networks[network]['name_lower']] or something

Comment 4 Goutham Pacha Ravi 2019-10-23 00:40:33 UTC
A fix along the lines of Alex's Comment#2 (https://bugzilla.redhat.com/show_bug.cgi?id=1760502#c2) was made and tested to be working. I'm providing the dev-ack for this.

Comment 12 errata-xmlrpc 2020-02-06 14:42:27 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, 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:0283


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