heat_template_version needed in Network templates

Bug #1328593 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Steve McLellan

Bug Description

Without heat_template_version heat assumes CFN format templates. Post Icehouse, HOT has added a lot of functionality not in CFN, and template version appears to be mandatory in recent builds of heat - without it, heat raises a 400 error: "The template version is invalid: Template version was not provided" when creating networks.

Steve McLellan (sjmc7)
Changed in murano:
assignee: nobody → Steve McLellan (sjmc7)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/99145

Changed in murano:
status: New → In Progress
Changed in murano:
importance: Undecided → High
ruhe (ruhe)
Changed in murano:
milestone: none → juno-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/99145
Committed: https://git.openstack.org/cgit/stackforge/murano/commit/?id=bf9df0e689542bd29a353fc1e42ea620e8175dbd
Submitter: Jenkins
Branch: master

commit bf9df0e689542bd29a353fc1e42ea620e8175dbd
Author: Steve McLellan <email address hidden>
Date: Tue Jun 10 11:11:13 2014 -0500

    Add heat_template_version to network fragments

    Without heat_template_version heat assumes CFN format templates.
    Post Icehouse, HOT has added a lot of functionality not in CFN, and
    template version appears to be mandatory in recent builds of heat -
    without it, heat raises a 400 error: "The template version is invalid:
    Template version was not provided".

    This patch changes engine/heat_stack to add heat_template_version
    if it's not already present in a template at push time, and to reject
    heat_template_version if it's in a dictionary passed to updateTemplate
    that does not match the expected version.

    Change-Id: I5f30100182d282d65710097e0859918705b1a9c0
    Closes-Bug: #1328593

Changed in murano:
status: In Progress → Fix Committed
ruhe (ruhe)
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: juno-1 → 2014.2
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.