Replicate queue drain flag across all master candidates
authorMichael Hanselmann <hansmi@google.com>
Tue, 11 Dec 2012 12:56:35 +0000 (13:56 +0100)
committerMichael Hanselmann <hansmi@google.com>
Tue, 11 Dec 2012 13:37:32 +0000 (14:37 +0100)
commitbe6c403eff8c130b9d015827c39f37a24b4020f7
tree861c2cfcf0a2bc9cc13972225b47ea0c6aa2e9a0
parent4a3dd52d5d841d0fe86d3719574ee89c6e5e7094
Replicate queue drain flag across all master candidates

Until now, the flag was unset on a master failover unless the
“$localstatedir/lib/ganeti/queue/drain” file existed.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
NEWS
lib/jqueue.py
lib/rpc_defs.py
lib/server/noded.py