file URI corrupted in environment resource_registry

Bug #1297399 reported by Steve Lipinski
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-heatclient
Invalid
High
Unassigned

Bug Description

If I define a resource_registry in an environment file passed to the heat client as follows:

resource_registry:
  "My::Parent::Res": "file:///root/My-Parent-Res.hot.yaml"
  "My::Child::Res": "file:///root/My-Child-Res.hot.yaml"

(note - both files exist in /root/).

I get the following error:
Could not fetch file:///root/file:///root/My-Parent-Res.hot.yaml from the environment

It seems the path is prepended/duplicated to the URI causing corruption.

description: updated
Changed in heat:
assignee: nobody → Daneyon Hansen (danehans)
Angus Salkeld (asalkeld)
Changed in heat:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

Moving to python-heatclient

Changed in python-heatclient:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Daneyon Hansen (danehans)
milestone: none → v0.2.11
no longer affects: heat
Changed in python-heatclient:
milestone: v0.2.11 → v0.2.12
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

Any progress on a fix for this?

Changed in python-heatclient:
milestone: v0.2.12 → none
Changed in python-heatclient:
assignee: Daneyon Hansen (danehans) → nobody
Revision history for this message
Michal Dulko (michal-dulko-f) wrote :

Steps:
1. Create simple template.
2. Create environment file like in description.
3. Create dummy template files (/root/My(...).yaml).
4. Execute:
     heat stack-create --template-file heat_template.json stack --environment-file environment.yaml

On latest master the stack was created without problems, files are read from correct paths. Shall we close this one or am I missing something?

Revision history for this message
Rabi Mishra (rabi) wrote :

I don't see this error.

Changed in python-heatclient:
status: Triaged → Invalid
status: Invalid → Incomplete
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

Since nobody has been able to reproduce this and no reproducer has been provided, I'm going to mark this as Invalid for now.

Changed in python-heatclient:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.