Heat template-validate improvements
template validation in heat could be improved for following reasons:
1. combine heat stack-preview and template-validate and provide the required output values
2. validate template and report warnings and errors in the template as whole instead of failing on the first error
3. provide the line number at which the warning or error occured.
4. provide some recommendation like when template has deprecated things, recommended to the new one
5. some time template validate fails when the corresponding services are not available in the heat deployed cloud. this makes the template designers/
ignore this kind of errors like how flake8 provides some option to ignore some warnings.
6. Provide the option to validate only the schematic of the template, which ignores the validation of value. This will help the user to identify the issues in the structure of the template.
Blueprint information
- Status:
- Complete
- Approver:
- Sergey Kraynev
- Priority:
- Low
- Drafter:
- Kanagaraj Manickam
- Direction:
- Needs approval
- Assignee:
- Kanagaraj Manickam
- Definition:
- Approved
- Series goal:
- Proposed for mitaka
- Implementation:
-
Implemented
- Milestone target:
-
mitaka-3
- Started by
- Kanagaraj Manickam
- Completed by
- Kanagaraj Manickam
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Improves template-validate feature
Addressed by: https:/
Adds error_code in heat exceptions
Addressed by: https:/
Update resource type exceptions with error_code
Addressed by: https:/
Adds ignore_errors for template_validate in engine
Addressed by: https:/
Adds ignore_errors for template_validate API
Addressed by: https:/
Release notes for template validation improvements