Commit 2eb78bc8 authored by Guido Trotter's avatar Guido Trotter
Browse files

LUVerifyCluster: fix error from rpc call

When calling node_verify leads to an error _VerifyNodes tries to iterate
over a non-sequence. Catch the error before and avoid this from
happening.

Reviewed-by: iustinp
parent cc28af80
......@@ -549,6 +549,10 @@ class LUVerifyCluster(LogicalUnit):
feedback_fn(" - ERROR: %s on node %s" % (vgstatus, node))
bad = True
if not node_result:
feedback_fn(" - ERROR: unable to verify node %s." % (node,))
return True
# checks config file checksum
# checks ssh to any
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment