Relative paths to Heat template resources do not work in horizon
Bug #1467781 reported by
Ma Bo
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned | ||
python-heatclient |
Triaged
|
Medium
|
Unassigned |
Bug Description
Steps to reproduce the problem:
1. files list
# filename: f.yaml
heat_
resources:
s:
type: s.yaml
# filename: s.yaml
heat_
2. Put above two files in a http server, use horizon to create stack
Beside the tempalte-validate error, horizon will say `s.yaml' not found so can not create stack.
While below command works:
heat stack-create -u http://
The same situation for get file found in horizon
Yes, the bug can be fixed in horizon side but if we can fix it in heat client side it will benefit all the application based on heat.
summary: |
- get file not work in horizon + Stack resources not work in horizon |
description: | updated |
description: | updated |
description: | updated |
Changed in python-heatclient: | |
assignee: | nobody → Rabi Mishra (rabi) |
tags: | added: heat |
Changed in python-heatclient: | |
assignee: | Rabi Mishra (rabi) → nobody |
summary: |
- Stack resources not work in horizon + Relative paths to stack resources do not work in horizon |
summary: |
- Relative paths to stack resources do not work in horizon + Relative paths to template resources do not work in horizon |
summary: |
- Relative paths to template resources do not work in horizon + Relative paths to Heat template resources do not work in horizon |
Changed in horizon: | |
status: | New → Confirmed |
To post a comment you must log in.
What do you expect the out come to be?
In this use case where is the s.yaml physically situated?
Let's say we have this:
1. in a local directory I have:
$ ls
s.yaml f.yaml
2. I click the upload template button and select f.yaml.
(this AFAIK is done by horizon)
3. click "create stack"
here heatclient does not have the original directory that f.yaml was in (afaik)
The only thing I can think of is to supply a helper function that be used to retrieve a list of required files.
But it would be good to know what would be useful from horizon's point of view.