ERROR: Template not in valid format: Template format version not found..

Bug #1738831 reported by Jacques Malaprade
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Rally version: 0.10.1~dev31
OS: Ubuntu 16.04 LTS

Running the create-and-delete-stack.yaml with the plugin HeatStacks.create_and_delete_stack calling the heat template default.yaml.template

`$ rally task start heat/create-and-delete-stack.yaml --task-args-file args.yaml`

fails with message:

 Heat template validation failed on heat/templates/default.yaml.template. Original error message: ERROR: Template not in valid format: Template format version not found..```


        template_path: "heat/templates/default.yaml.template"
        type: "constant"
        times: 5
        concurrency: {{concurr}} #2
      context: {}
          max: 0


    - "compute-A"
    - "compute-B"
    - "Ubuntu-16.04"
    - "CentOS-7.4"
  subnet_cidr: ""
  network_name: "rally_testing"
  concurr: 1


heat_template_version: 2014-10-16

The above version date is available in the openstack template version using

`openstack orchestration template version list` showing

`| heat_template_version.2014-10-16 | hot | |`

I have checked the format of the heat template using `openstack orchestration template validate -f yaml -t heat/template/server.yaml.template` with no errors.

Revision history for this message
Jacques Malaprade (malapradej) wrote :

In addition it is perfectly possible to create a stack using this template and the command:
`$ openstack stack create -t heat/templates/default.yaml.template mystack`

| Field | Value |
| id | 2ff30634-0d05-4f4a-8d2e-c8ec12d8d367 |
| stack_name | mystack |
| description | Blank template |
| creation_time | 2017-12-19T08:11:20Z |
| updated_time | None |
| stack_status | CREATE_COMPLETE |
| stack_status_reason | Stack CREATE completed successfully |

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.