Make LURenewCrypto handle unreachable nodes properly
authorHelga Velroyen <helgav@google.com>
Wed, 4 Mar 2015 21:01:23 +0000 (22:01 +0100)
committerHelga Velroyen <helgav@google.com>
Wed, 18 Mar 2015 10:20:34 +0000 (11:20 +0100)
commit52f7ab91f02e4976a9f4245c6b076580a35ce3ee
treebd0d97064e3e1065d3e77b3bc966d680fc8335da
parentc017cd6a8f13536da8c38d9c93d1502b7bf15db5
Make LURenewCrypto handle unreachable nodes properly

Currently an unreachable node can make LURenewCrypto fail
completely. This patch adds a unit test for it, and
improves the error handling of unreachable nodes in
a way, that the rest of the nodes are still handled
properly.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
lib/cmdlib/cluster.py
test/py/cmdlib/cluster_unittest.py