From 3bf2c0a275b6b538e92ebcc7233599421a2460dd Mon Sep 17 00:00:00 2001 From: Zhijiang Hu Date: Fri, 8 Sep 2017 22:34:38 -0400 Subject: [PATCH] Change prepare log name So that OPNFV CI can print it out after failure Change-Id: I03d820ed064bea8056b44e9a43f3b46559947489 --- code/daisy/daisy/api/backends/kolla/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/daisy/daisy/api/backends/kolla/install.py b/code/daisy/daisy/api/backends/kolla/install.py index 4ec8e76a..d667e6d9 100755 --- a/code/daisy/daisy/api/backends/kolla/install.py +++ b/code/daisy/daisy/api/backends/kolla/install.py @@ -341,7 +341,7 @@ def _thread_bin(req, cluster_id, host, root_passwd, fp, host_name_ip_list, def thread_bin(req, cluster_id, host, root_passwd, host_name_ip_list, host_prepare_file, docker_registry_ip, role_id_list): - host_prepare_log = "/var/log/daisy/kolla_prepare_%s_%s.log" %\ + host_prepare_log = "/var/log/daisy/kolla_%s_%s_prepare.log" %\ (cluster_id, host['mgtip']) with open(host_prepare_log, "w+") as fp: try: