Hot template show JSON format after deploy

Bug #1201482 reported by JunJie Nan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-heatclient
Fix Released
Medium
JunJie Nan

Bug Description

To reproduce the problem:
1. heat stack-create -f heat-templates/hot/hello_world.yaml hot ...
2. heat template-show hot
It should show YAML format instead of JSON format.

Why?

Normally end user use `heat template-show stack > mystack.template` to get latest template from stack, modify the template and do `heat update mystack.template stack`. It makes sense if we keep the format consistent between `heat template-show` and the template deployed.

JunJie Nan (nanjj)
affects: heat → python-heatclient
Changed in python-heatclient:
assignee: nobody → JunJie Nan (nanjj)
JunJie Nan (nanjj)
description: updated
JunJie Nan (nanjj)
description: updated
summary: - Hot template show cfn format after deploy
+ Hot template show JSON format after deploy
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

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

Changed in python-heatclient:
status: New → In Progress
JunJie Nan (nanjj)
description: updated
Changed in python-heatclient:
importance: Undecided → Medium
milestone: none → v0.2.4
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-heatclient (master)

Reviewed: https://review.openstack.org/37175
Committed: http://github.com/openstack/python-heatclient/commit/e14758686f71932c5fe5c884bdf7344a1f339d0a
Submitter: Jenkins
Branch: master

commit e14758686f71932c5fe5c884bdf7344a1f339d0a
Author: JUN JIE NAN <email address hidden>
Date: Tue Jul 16 13:45:20 2013 +0800

    Display yaml format for stack deployed via hot template

    Determine hot template and display yaml format for it, display json
    format for others.

    Change-Id: Ie8d72c222a992ee0048897d040e8bc88fcf51760
    Fixes: bug #1201482

Changed in python-heatclient:
status: In Progress → Fix Committed
JunJie Nan (nanjj)
description: updated
Changed in python-heatclient:
status: Fix Committed → Fix Released
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.