template validate does not work for stack resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-heatclient |
New
|
High
|
Neetu Jain |
Bug Description
How to reproduce the problem:
1. files list
# filename: f.yaml
heat_template_
resources:
s:
type: s.yaml
# filename: s.yaml
heat_template_
2. run template-validate
heat template-validate -f f.yaml
It will output error like:
ERROR: Could not fetch remote template "file:/
While you can use heat stack-create to create stack:
heat stack-create -f f.yaml f
Why it's important?
You know horizon is using template-validate to validate stack and get parameters list. So if the bug not fixed, all scenario using stack resource can not be supported by horizon, even command line works.
affects: | heat → python-heatclient |
Changed in python-heatclient: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 0.7.0 |
summary: |
- template validate does work for stack resource + template validate does not work for stack resource |
Changed in python-heatclient: | |
status: | Incomplete → New |
I use devstack with Heat code from master branch and I can not reproduce this issue.
skr ~ $ heat template-validate -f f.yaml
{
"Description": "No description",
"Parameters": {}
}
Try to update your Heat code. May be you use old code? Which version of Heat do you have?