Parameters schema is not validated
Bug #1265862 reported by
Thomas Herve
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Thomas Herve |
Bug Description
For example, if you use a parameter with an invalid constraints list:
parameters:
instance_type:
type: string
description: Instance type for WordPress server.
default: m2.medium
constraints:
allowed_
- m1.small
- m1.medium
- m1.large
heat template-validate doesn't complain. If I try to create a stack with it, it gets ugly:
$ heat stack-create ...
ERROR: 'unicode' object has no attribute 'get'
We should validate the schema, and make it output a better error.
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/65091
Review: https:/