Wrong type name used in tempest heat_minimal_hot.yaml template

Bug #1270833 reported by Thomas Spatzier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Wishlist
Thomas Spatzier

Bug Description

The HOT template file heat_minimal_hot.yaml used in tempest test cases uses uppercase String a type name for parameters, where HOT officially (what we try to use consistently in samples in the heat-templates repo) uses lowercase. While the code so far was lax on enforcing lowercase, a change I am doing to the parameters schema handling surfaces the problem and tempest fails:

2014-01-17 14:52:40.708 | 2014-01-17 14:46:31,438 output of /usr/local/bin/heat --os-username admin --os-tenant-name admin --os-password secret --os-auth-url http://127.0.0.1:5000/v2.0/ template-validate -f /opt/stack/new/tempest/tempest/cli/simple_read_only/heat_templates/heat_minimal_hot.yaml :
2014-01-17 14:52:40.709 |
2014-01-17 14:52:40.709 | 2014-01-17 14:46:31,439 error output of /usr/local/bin/heat --os-username admin --os-tenant-name admin --os-password secret --os-auth-url http://127.0.0.1:5000/v2.0/ template-validate -f /opt/stack/new/tempest/tempest/cli/simple_read_only/heat_templates/heat_minimal_hot.yaml :
2014-01-17 14:52:40.709 | ERROR: Remote error: InvalidSchemaError Invalid type (String)
2014-01-17 14:52:40.709 | }}}

The type name needs to be changes to lowercase string.

Tags: tempest
Changed in heat:
assignee: nobody → Thomas Spatzier (thomas-spatzier)
status: New → In Progress
Steven Dake (sdake)
Changed in heat:
importance: Undecided → Wishlist
Thomas Herve (therve)
Changed in heat:
milestone: none → icehouse-3
Revision history for this message
Thomas Spatzier (thomas-spatzier) wrote :

Fix has been merged and affected heat tempest tests work now.

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: icehouse-3 → 2014.1
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.