]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
supervisor: change machine status to running after reimaging
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Thu, 13 Aug 2020 13:19:55 +0000 (18:49 +0530)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 16 Jan 2021 21:36:26 +0000 (16:36 -0500)
Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
teuthology/dispatcher/supervisor.py

index 71a0f498ff88f2f0f3c1a4e7f2315df83e54b746..6c4314f6dfece157607b4d536a630310c784791a 100644 (file)
@@ -162,7 +162,7 @@ def reimage_machines(job_config):
     reimaged = reimage_many(ctx, targets, job_config['machine_type'])
     ctx.config['targets'] = reimaged
     # change the status to running after the reimaging process
-    report.try_push_job_info(ctx.config, dict(status='waiting'))
+    report.try_push_job_info(ctx.config, dict(status='running'))
 
 
 def unlock_targets(job_config):