Enter all Verify/Cleanup/Repair tasks into the special_tasks table. Also
keep track of which Host Queue Entry (if any) each Verify/Cleanup/Repair
task belongs to. Additionally, implement recovery for jobs in
Verify/Cleanup/Repair (i.e., do not simply reverify the host and requeue
the job).
Risk: medium (scheduler changes)
Visibility: medium (functionality change)
Signed-off-by: James Ren <jamesren@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3372 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpc_interface.py b/frontend/afe/rpc_interface.py
index 3ce0821..f8b121d 100644
--- a/frontend/afe/rpc_interface.py
+++ b/frontend/afe/rpc_interface.py
@@ -524,7 +524,7 @@
hosts = models.Host.query_objects(filter_data)
models.AclGroup.check_for_acl_violation_hosts(hosts)
models.SpecialTask.schedule_special_task(hosts,
- models.SpecialTask.Task.REVERIFY)
+ models.SpecialTask.Task.VERIFY)
def get_jobs(not_yet_run=False, running=False, finished=False, **filter_data):