Bug 1783215 - The 'heat_template_version' in RHOSP15 is still 'Rocky'
Summary: The 'heat_template_version' in RHOSP15 is still 'Rocky'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Alex Schultz
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-13 10:35 UTC by Sam Wan
Modified: 2019-12-16 00:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-13 19:27:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1856327 0 None None None 2019-12-13 16:14:51 UTC

Description Sam Wan 2019-12-13 10:35:26 UTC
Description of problem:

The heat-templates in RHOSP15 repo still have 'heat_template_version: rocky'.
And this can cause confusion to customers.

Version-Release number of selected component (if applicable):
RHOSP15

How reproducible:


Steps to Reproduce:
1. rpm -ql openstack-tripleo-heat-templates-10.6.2-0.20191113030444.fc5ca30.el8ost.noarch

2. grep -r 'heat_template_version' /usr/share/openstack-tripleo-heat-templates/*

3. 


Actual results:
all ''heat_template_version:' are 'rocky' 

Expected results:
'heat_template_version:' should be 'stein' 

Additional info:

Comment 1 Alex Schultz 2019-12-13 16:09:40 UTC
The heat template version is used to validate the contents by heat and not related to the version of the underlying openstack.  The version just needs to ensure that the defined version contains whatever functions may be used in the template itself.  There haven't been any additional features added so there hasn't been a need to update the version in the files. 

https://docs.openstack.org/heat/latest/template_guide/hot_spec.html#heat-template-version

Comment 2 Alex Schultz 2019-12-13 19:27:43 UTC
So in looking further into this, rocky is the last version defined. https://github.com/openstack/heat/blob/master/setup.cfg#L196

This won't be updated unless a new template version is released.  If you change this to any of the newer names, you get:

InvalidTemplateVersion: The template version is invalid: "heat_template_version: ussuri". "heat_template_version" should be one of: 2013-05-23, 2014-10-16, 2015-04-30, 2015-10-15, 2016-04-08, 2016-10-14, 2017-02-24, 2017-09-01, 2018-03-02, 2018-08-31, newton, ocata, pike, queens, rocky

Comment 3 Sam Wan 2019-12-16 00:30:00 UTC
Thanks for explanation.


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