commit 9e035eb11b5a44b4852fcd8485748d424b7df640
Author: James Slagle <email address hidden>
Date: Wed Mar 8 08:36:58 2017 -0500
Use tmp env path when rewriting absolute resource paths
When rewriting absolute resource paths from a resource_registry that
failed to load due to missing resources (one case being where those
resources are rendered j2), then we should refer to the initial
environemnt that failed to load by the tmp path.
This is required since itself may have been rendered from j2. In such a
case, the environment doesn't exist under the absolute template root
path as it's not been rendered to that location.
Change-Id: Ib681729cc2728ca4b0486c14166b6b702edfcaab
Closes-Bug: #1671096
(cherry picked from commit 9bfd6c21a7648e945576ce025ecc8e7733bee93c)
(cherry picked from commit 92c6fd12780366447cc845e533c2231a5ff76c0e)
Reviewed: https:/ /review. openstack. org/548245 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=9e035eb11b5 a44b4852fcd8485 748d424b7df640
Committed: https:/
Submitter: Zuul
Branch: stable/newton
commit 9e035eb11b5a44b 4852fcd8485748d 424b7df640
Author: James Slagle <email address hidden>
Date: Wed Mar 8 08:36:58 2017 -0500
Use tmp env path when rewriting absolute resource paths
When rewriting absolute resource paths from a resource_registry that
failed to load due to missing resources (one case being where those
resources are rendered j2), then we should refer to the initial
environemnt that failed to load by the tmp path.
This is required since itself may have been rendered from j2. In such a
case, the environment doesn't exist under the absolute template root
path as it's not been rendered to that location.
Change-Id: Ib681729cc2728c a4b0486c14166b6 b702edfcaab 45576ce025ecc8e 7733bee93c) 47cc845e533c223 1a5ff76c0e)
Closes-Bug: #1671096
(cherry picked from commit 9bfd6c21a7648e9
(cherry picked from commit 92c6fd127803664