HOT non-obvious validation error
Bug #1227061 reported by
Steven Hardy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Sahdev Zala | ||
Havana |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When doing the parameter conversion, the HOT parser can return a non-obvious internal error:
parameters:
KeyName:
type: string
description: Name of an existing key pair to use for the instance
Gives 400 with "Template not in valid format"
But
parameters:
KeyName:
type: string
description: Name of an existing key pair to use for the instance
Gives 400 with 'unicode' object has no attribute 'iteritems'
Changed in heat: | |
milestone: | none → havana-rc1 |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | havana-rc1 → icehouse-1 |
Changed in heat: | |
assignee: | nobody → Sahdev Zala (spzala) |
Changed in heat: | |
status: | Triaged → In Progress |
tags: | added: havana-backport-potential |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
In the second case, the "description" is a valid yaml syntax and considered as a parameter and so it doesn't run into any format invalid error, but it throws error while iterating 'description' value.