Bug 1760502

Summary: Overcloud deployment fails upon task "Render hieradata from template" on all overcloud nodes
Product: Red Hat OpenStack Reporter: Nathan Weinberg <nweinber>
Component: tripleo-ansibleAssignee: Goutham Pacha Ravi <gouthamr>
Status: CLOSED ERRATA QA Contact: Nathan Weinberg <nweinber>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: abishop, acanan, aschultz, gcharot, gouthamr, jschluet, kecarter, ltoscano, mburns, pgrist, tbarron
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 16.0 (Train on RHEL 8.1)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: tripleo-ansible-0.4.1-0.20191026040006.3a4aaae.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-06 14:42:27 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:

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