mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 18:15:58 +08:00
[autoscaler] Restore error message for setup
This commit is contained in:
@@ -220,12 +220,12 @@ class NodeUpdater(object):
|
||||
m = "{}: Initialization commands completed".format(self.node_id)
|
||||
with LogTimer("NodeUpdater: {}".format(m)):
|
||||
for cmd in self.initialization_commands:
|
||||
self.ssh_cmd(cmd, redirect=open("/dev/null", "w"))
|
||||
self.ssh_cmd(cmd)
|
||||
|
||||
m = "{}: Setup commands completed".format(self.node_id)
|
||||
with LogTimer("NodeUpdater: {}".format(m)):
|
||||
for cmd in self.setup_commands:
|
||||
self.ssh_cmd(cmd, redirect=open("/dev/null", "w"))
|
||||
self.ssh_cmd(cmd)
|
||||
|
||||
def rsync_up(self, source, target, redirect=None, check_error=True):
|
||||
self.set_ssh_ip_if_required()
|
||||
|
||||
Reference in New Issue
Block a user