Change the watcher to use jobs instead of queries
authorIustin Pop <iustin@google.com>
Mon, 6 Apr 2009 08:21:04 +0000 (08:21 +0000)
committerIustin Pop <iustin@google.com>
Mon, 6 Apr 2009 08:21:04 +0000 (08:21 +0000)
commit6dfcc47b2b58242e7a50b90cf7e80e7a1fee2fcd
tree25dbf1ab1545b97da62dae2612ab31644455bc2e
parent7dd106d3e52be4f2f4ef7fb8c1ceb5745dd94e4b
Change the watcher to use jobs instead of queries

As per the mailing list discussion, this patch changes the watcher to
use a single job (two opcodes) for getting the cluster state (node list
and instance list); it will then compute the needed actions based on
this data.

The patch also archives this job and the verify-disks job.

Reviewed-by: imsnah
daemons/ganeti-watcher