heat template-validate does not work on hot template

Bug #1204061 reported by JunJie Nan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
JunJie Nan

Bug Description

`heat template-validate -f hello_world.yaml' will report:
400 Bad Request
The server could not comply with the request since it is either malformed or otherwise incorrect.
 At least one Resources member must be defined.

While, we can create stack successfully via the same template:
heat template-validate -f hello_world.yaml -P "...."

hello_world.yaml can be found in project heat-templates.

JunJie Nan (nanjj)
Changed in heat:
assignee: nobody → JunJie Nan (nanjj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: New → In Progress
Steven Hardy (shardy)
Changed in heat:
milestone: none → havana-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/38416
Committed: http://github.com/openstack/heat/commit/28c93efda596ca1dd5ab407f7cbb0675dc47f2ef
Submitter: Jenkins
Branch: master

commit 28c93efda596ca1dd5ab407f7cbb0675dc47f2ef
Author: JUN JIE NAN <email address hidden>
Date: Wed Jul 24 13:48:02 2013 +0800

    Enable service validate-template for hot template

    Get `Resources' and `Description' for hot or cfn template instead of
    the raw one.

    Change-Id: I54ac8a9905634529b641fe322eee4c10e587bac3
    Fixes: bug #1204061

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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