Cluster verify and N+1 warnings for offline nodes
authorIustin Pop <iustin@google.com>
Tue, 8 Feb 2011 15:56:23 +0000 (16:56 +0100)
committerIustin Pop <iustin@google.com>
Wed, 9 Feb 2011 08:52:08 +0000 (09:52 +0100)
commitf7661f6b447e1512641896323f780f069b58b2ba
tree50e9e4e8f5b745e7f50007cbe0c09bcd887ed1ba
parentc37bb2c6ac43bd6fb65affccd26961300555959c
Cluster verify and N+1 warnings for offline nodes

Currently, cluster verify shows warnings N+1 warnings for offline
nodes having any redundant instances since the memory data that we
have for those nodes is zero, so any instance will trigger the
warning.

As the comment says, we already list secondary instances on offline
nodes, so that warning is enough, and we skip the N+1 one.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Stephen Shirley <diamond@google.com>
lib/cmdlib.py