Provide means of submitting jobs to a drained queue
authorKlaus Aehlig <aehlig@google.com>
Fri, 27 Sep 2013 16:26:28 +0000 (18:26 +0200)
committerKlaus Aehlig <aehlig@google.com>
Fri, 4 Oct 2013 14:11:01 +0000 (16:11 +0200)
commit346c3037facc8cfdea633c513e293ab3acf0846c
tree5bb7e85a657a931c0792a7fbdf8e45d8a06feba3
parent9bfcf2e99afac559f6c53936e91a30c8c7aab293
Provide means of submitting jobs to a drained queue

During an upgrade, the job queue needs to be drained in order to avoid
new jobs coming to the cluster.  Nevertheless, the upgrade process
needs to carry out some maintenance, like redistributing the new
configuration, therefore, this patch provides a means of submitting
jobs to a drained queue.

Of course, once the more fine-grained job queue control will be implemented,
this functionality can be removed.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
lib/cli.py
lib/jqueue.py
lib/luxi.py
lib/server/masterd.py
src/Ganeti/Luxi.hs
test/hs/Test/Ganeti/Luxi.hs
test/py/ganeti.rapi.testutils_unittest.py