From cab30bc40031454fbeac1d47b12b94817e41567e Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Wed, 30 Nov 2016 14:06:56 +0100 Subject: [PATCH] Use the absolute path for temp templates If the template is not in the user's t-h-t root, we should use the absolute path instead of the one in the template since we've already copied these files in the temp dir. Closes-bug: #1646404 Change-Id: I9a575575fc3c0fc78848239fc7b663ca4508fcfa --- tripleoclient/v1/overcloud_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleoclient/v1/overcloud_deploy.py b/tripleoclient/v1/overcloud_deploy.py index e995e332c..53542e875 100644 --- a/tripleoclient/v1/overcloud_deploy.py +++ b/tripleoclient/v1/overcloud_deploy.py @@ -191,7 +191,7 @@ class DeployOvercloud(command.Command): % (env_path, rsrc, new_rsrc_path)) env_registry[rsrc] = new_rsrc_path else: - env_registry[rsrc] = rsrc_path + env_registry[rsrc] = abs_rsrc_path env_map['resource_registry'] = env_registry f_name = os.path.basename(os.path.splitext(abs_env_path)[0]) with tempfile.NamedTemporaryFile(dir=tht_root,