Bug 1719760

Summary: Backport broke deprecated enable-internal-tls environment file
Product: Red Hat OpenStack Reporter: Harald Jensås <hjensas>
Component: openstack-tripleo-heat-templatesAssignee: Harald Jensås <hjensas>
Status: CLOSED CURRENTRELEASE QA Contact: Sasha Smolyak <ssmolyak>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: bfournie, mburns, ssmolyak
Target Milestone: z9Keywords: TestOnly, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.3.1-83.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1719758 Environment:
Last Closed: 2019-11-05 11:53:10 UTC Type: ---
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: 1719758    
Bug Blocks:    

Description Harald Jensås 2019-06-12 13:34:34 UTC
+++ This bug was initially created as a clone of Bug #1719758 +++

Description of problem:
The backport of https://review.opendev.org/#/q/I5ae3bc845b0a6ad6986d44b14ff4b0737a9b033b to Rocky and Queens missed updating a deprecated environment file.

Actual results:
Deployments using the deprecated environment file (which is referenced in Red Hat Documentation[1]) will fail with: 

Could not fetch contents for file:///tmp/tripleoclient-a1D50V/tripleo-heat-templates/extraconfig/nova_metadata/krb-service-principals.yaml
END return value: 1




Expected results:
Deployment should work using the deprecated file.

Additional info:

 Workaround:

  Changeing to use the new envrionment file: /usr/share/openstack-tripleo-heat-templates/environments/ssl/enable-internal-tls.yaml


[1]  https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html-single/advanced_overcloud_customization/index#configure_overcloud_to_use_novajoin

Comment 1 Lon Hohberger 2019-09-25 10:45:04 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-8.3.1-87.el7ost.  This build is available now.

Comment 2 Bob Fournier 2019-11-04 17:56:06 UTC
Verified that /usr/share/openstack-tripleo-heat-templates/environments/enable-internal-tls.j2.yaml contains the fix:
{%- for role in roles %}
  OS::TripleO::{{role.name}}ServiceServerMetadataHook: ../extraconfig/nova_metadata/krb-service-principals/{{role.name.lower()}}-role.yaml
{%- endfor %}