cfn-json2yaml number key
Bug #1286380 reported by
Kevin Fox
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Heat Templates |
In Progress
|
Undecided
|
Unassigned | ||
OpenStack Heat |
Fix Released
|
Low
|
Kent Wang |
Bug Description
I ran cfn-json2yaml on:
https:/
It generates valid yaml, but the hot file it generates does not work.
The Mappings it generates has 64 and not '64'. Since 64 in yaml is a number not a string, when the template tries and looks up '64' in the mapping it fails to find it since it is not a string.
It generates something like:
https:/
But I had to patch it to work. The patch looks like:
https:/
Changed in heat-templates: | |
assignee: | nobody → Petersingh Anburaj (petersingh-anburaj) |
status: | New → Confirmed |
Changed in heat-templates: | |
assignee: | Petersingh Anburaj (petersingh-anburaj) → nobody |
Changed in heat: | |
status: | In Progress → Triaged |
Changed in heat: | |
assignee: | nobody → Kent Wang (k.wang) |
Changed in heat: | |
status: | In Progress → Fix Committed |
Changed in heat: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-2 → 5.0.0 |
To post a comment you must log in.
For the above Bug of heat-template need to do changes in "heat/common/ template_ format. py" file of heat