Heat constrants validate the default parameter value instead of the one passed
Bug #1394100 reported by
JunJie Nan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Peter Razumovsky |
Bug Description
Heat constrants validate the default parameter value instead of the one passed. For example:
image:
type: string
default: cirros
constraints:
- custom_constraint: glance.image
When run heat stack-create -f ... -P image=fedora, if there is no cirros image in glance, valiation error will be raised to say no the cirros image found, although I have provided the existing one fedora.
Changed in heat-templates: | |
status: | New → Incomplete |
no longer affects: | heat-templates |
Changed in heat: | |
assignee: | nobody → Razumovsky Peter (prazumovsky) |
Changed in heat: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-2 → 2015.1.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/141043
Review: https:/