return True
def nodes_booted(self):
- return self.nodes_check_boot_state('boot',timeout_minutes=20,silent_minutes=15)
+ return self.nodes_check_boot_state('boot',timeout_minutes=30,silent_minutes=20)
- def check_nodes_ssh(self,debug,timeout_minutes,silent_minutes,period=20):
+ def check_nodes_ssh(self,debug,timeout_minutes,silent_minutes,period=15):
# compute timeout
timeout = datetime.datetime.now()+datetime.timedelta(minutes=timeout_minutes)
graceout = datetime.datetime.now()+datetime.timedelta(minutes=silent_minutes)
to_stop = self.tracks[:how_many]
for track in to_stop:
command = self.stop_command (track)
+ utils.header("Trackers.free track : %s"%command)
utils.system(command)
if not self.options.dry_run:
self.tracks = self.tracks[how_many:]
def cleanup (self):
for track in self.tracks:
command=self.stop_command(track)
+ utils.header("Trackers.cleanup track : %s"%command)
utils.system(command)
if not self.options.dry_run:
self.tracks=[]
return 0
else:
now=time.strftime("%H:%M:%S", time.localtime())
- print "*",now,'--',
+ # don't show in summary
+ print "->",now,'--',
sys.stdout.flush()
return os.system("set -x; " + command)