hroller: option to skip nodes with non-redundant instances
authorKlaus Aehlig <aehlig@google.com>
Thu, 16 May 2013 15:12:33 +0000 (17:12 +0200)
committerKlaus Aehlig <aehlig@google.com>
Wed, 22 May 2013 09:07:32 +0000 (11:07 +0200)
commit89363f983409f243944b199e0c6c1531fa91dd52
tree1a1849e1ec8ae317240a017a86f0308b23d9e5f0
parent3409c0afb840e3f7a6726ee8256db6e96de27de4
hroller: option to skip nodes with non-redundant instances

So far, hroller ignores the fact, that non-redundant instances exist.
One option to deal is non-redundant instances is to not schedule those
nodes for reboot. This is supported by adding the option --skip-non-redundant.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
src/Ganeti/HTools/CLI.hs
src/Ganeti/HTools/Program/Hroller.hs