tripleoclient fails rewriting resource_registry from j2 rendered environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
James Slagle |
Bug Description
If you specify a rendered environment file name that comes from a j2 template with -e on the command line like so:
openstack overcloud deploy ... -e /path/to/
where /path/to/
where tripleoclient will attempt to rewrite file paths from their absolution location to the new tmp dir location that has been downloaded from swift.
However, this fails with an error with a "No such file or directory" error triggered by this line:
which is:
with open(abs_env_path, 'r') as f:
since the the abs_env_path doesn't exist as it was rendered from a template.
In this case, I think we just need to use env_path in that line.
Changed in tripleo: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → James Slagle (james-slagle) |
milestone: | none → pike-1 |
Fix proposed to branch: master /review. openstack. org/443131
Review: https:/