ERROR: The template version is invalid: Unknown version (heat_template_version: 2014-10-16).

Asked by Bryan Wang

Scenario: /samples/tasks/scenarios/heat/list-stack-and-resources.json

Error:
2015-04-13 08:23:49.219 8126 ERROR rally.benchmark.engine [-] ERROR: The template version is invalid: Unknown version (heat_template_version: 2014-10-16). Should be one of: 2012-12-12, 2013-05-23, 2010-09-09

Testing Environment:
(1) Icehouse
(2) the heat version can't support 2014-10-16

Analyze:
I checked the code in /rally/benchmark/context/stacks.py and found the following info:
    def _prepare_stack_template(res_num):
        template = {
            "heat_template_version": "2014-10-16",
            "description": "Test template for rally",
            "resources": {}
        }
        rand_string = {"type": "OS::Heat::RandomString"}
        for i in range(res_num):
            template["resources"]["TestResource%d" % i] = rand_string
        return template

It seems that rally will prepare a "2014-10-16" version heat template for testing.
Are there any solution for me to solve this?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Rally Edit question
Assignee:
No assignee Edit question
Solved by:
Bryan Wang
Solved:
Last query:
Last reply:
Revision history for this message
Bryan Wang (bryan-wang) said :
#1

Solved by changing code.