validate-template is not as strict as pre-flight validation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Medium
|
Unassigned |
Bug Description
In CloudFormation, ValidateTemplate gets only the template and not any of the parameter values. (This is because it's used to generate the UI for requesting parameter values from the user.)
In the OpenStack API, that's not necessarily the case since the fix for bug 1298450. The user can supply the parameter values, but we don't use them. Specifically, we set two flags in validate-template that we do not set during pre-flight validation of a create or update:
* strict_
* validate_
We need to maintain backwards compatibility with the case where parameter values are not supplied (bug 1467573 was in fact about fixing where we didn't), since the output is used to generate a UI in some cases. But if parameter values *are* supplied, then we ought to be able to validate as much as the pre-flight checks on create and update can without the user necessarily having to create a stack to check it.
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |