Revert "Direct prepare.sh log into log file"
This partial reverts commit 35095c89b3
.
Change-Id: Ibe2fa186b00817daf69bfdf1a3899bb291d308d0
This commit is contained in:
parent
35095c89b3
commit
250c0723e9
@ -323,7 +323,7 @@ def _thread_bin(req, cluster_id, host, root_passwd, fp, host_name_ip_list,
|
|||||||
'ssh -o StrictHostKeyChecking='
|
'ssh -o StrictHostKeyChecking='
|
||||||
'no %s %s/prepare.sh %s' %
|
'no %s %s/prepare.sh %s' %
|
||||||
(host_ip, host_prepare_file, docker_registry_ip),
|
(host_ip, host_prepare_file, docker_registry_ip),
|
||||||
shell=True, stdout=fp, stderr=fp)
|
shell=True, stderr=subprocess.STDOUT)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
message = "exec prepare.sh on %s failed!", host_ip
|
message = "exec prepare.sh on %s failed!", host_ip
|
||||||
LOG.error(message)
|
LOG.error(message)
|
||||||
|
Loading…
Reference in New Issue
Block a user