Verify: fix crash when a node is down
authorGuido Trotter <ultrotter@google.com>
Thu, 10 Apr 2008 10:07:25 +0000 (10:07 +0000)
committerGuido Trotter <ultrotter@google.com>
Thu, 10 Apr 2008 10:07:25 +0000 (10:07 +0000)
commitb3722d37c5edb9011ac1a24990dd545aff1391ee
treed612e9d40bd6c9d812eaaaed80a115402fb1a174
parent30336c00d8c729835270d2e502cb06ca79498df7
Verify: fix crash when a node is down

Currently if ganeti-noded doesn't respond on a node gnt-cluster verify will die
when verifying primary instances for that node. Fix this by just emitting an
error message if no information about running instances is returned from the
node.

Reviewed-by: iustinp
lib/cmdlib.py