Change prepare log name

So that OPNFV CI can print it out after failure

Change-Id: I03d820ed064bea8056b44e9a43f3b46559947489
This commit is contained in:
Zhijiang Hu 2017-09-08 22:34:38 -04:00
parent 3aaa4a68ee
commit 3bf2c0a275
1 changed files with 1 additions and 1 deletions

View File

@ -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: