watcher: handle offline nodes better
authorIustin Pop <iustin@google.com>
Fri, 5 Dec 2008 02:58:40 +0000 (02:58 +0000)
committerIustin Pop <iustin@google.com>
Fri, 5 Dec 2008 02:58:40 +0000 (02:58 +0000)
commitcbfc468166d63c9f02f21018140df2558770ff9f
tree47595ef7641c1587dbd07258c1298b8b06d63fa4
parent9ddb5e45e172b86ec8a15c7b2e9f869d766754e2
watcher: handle offline nodes better

This patch changes the LUQueryInstances to show a different state for
offline nodes and also modifies the watcher to understand the offline
state in its checks.

Reviewed-by: ultrotter
daemons/ganeti-watcher
lib/cmdlib.py