Bug 1753262

Summary: Under-cloud install failed with Unexpected end of template
Product: Red Hat OpenStack Reporter: Attila Fazekas <afazekas>
Component: openstack-tripleo-commonAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: high    
Version: 16.0 (Train)CC: emacchi, jhajyahy, mburns, slinaber
Target Milestone: Upstream M3Keywords: Triaged
Target Release: 16.0 (Train on RHEL 8.1)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: openstack-tripleo-common-11.2.1-0.20190918202318.8ced750.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-06 14:42:04 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:

Description Attila Fazekas 2019-09-18 13:46:49 UTC
Description of problem:
Undercloud install failed with:

2019-09-18 02:19:42.012 14541 WARNING tripleoclient.v1.tripleo_deploy.Deploy [  ] jinja2 rendering networks External
2019-09-18 02:19:42.012 14541 WARNING tripleoclient.v1.tripleo_deploy.Deploy [  ] rendering j2 template to file: /home/stack/tripleo-heat-installer-templates/./network/ports/external_v6.yaml
2019-09-18 02:19:42.012 14541 WARNING tripleoclient.v1.tripleo_deploy.Deploy [  ] jinja2 rendering role template role.role.j2.yaml
2019-09-18 02:19:42.012 14541 WARNING tripleoclient.v1.tripleo_deploy.Deploy [  ] jinja2 rendering roles Undercloud
2019-09-18 02:19:42.012 14541 WARNING tripleoclient.v1.tripleo_deploy.Deploy [  ] rendering j2 template to file: /home/stack/tripleo-heat-installer-templates/./puppet/undercloud-role.yaml
2019-09-18 02:19:44.591 14541 ERROR tripleoclient.v1.tripleo_deploy.Deploy [  ] Exception: Unexpected end of template. Jinja was looking for the following tags: 'elif' or 'else' or 'endif'. The innermost block that needs to be closed is 'if'.

Version-Release number of selected component (if applicable):
RHOS_TRUNK-16.0-RHEL-8-20190918.n.0
openstack-tripleo-heat-templates.noarch       11.1.1-0.20190916163506.9fde632.el8ost                   @rhelosp-16.0            
python3-tripleoclient-heat-installer.noarch   12.1.1-0.20190916233433.c28df72.el8ost                   @rhelosp-16.0            
Additional info:
Will come.

Comment 2 Alex Schultz 2019-09-20 15:55:49 UTC
*** Bug 1753888 has been marked as a duplicate of this bug. ***

Comment 6 Jad Haj Yahya 2019-11-25 10:03:53 UTC
RHOS_TRUNK-16.0-RHEL-8-20191122.n.2

Comment 9 errata-xmlrpc 2020-02-06 14:42:04 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