blob: 525fecfbe5292069a9b4222a66ac679b1de269f2 [file] [log] [blame]
def verify(machine):
print 'Initializing host ' + machine
try:
host = hosts.create_host(machine, initialize=False, auto_monitor=False)
host.verify()
job.record('GOOD', None, 'verify', '%s verified successfully' % machine)
except Exception, e:
msg = 'verify failed: %s' % e
job.record('FAIL', None, 'verify', msg)
raise
job.parallel_simple(verify, machines)