Commit e631cb25 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix error message for extra files on non MC nodes



Currently the message for extraneous files on non master candidates is
confusing, to say the least. This makes it hopefully more clear.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarOlivier Tharan <olive@google.com>
parent 75e914fb
......@@ -751,8 +751,8 @@ class LUVerifyCluster(LogicalUnit):
else:
# not candidate and this is not a must-have file
bad = True
feedback_fn(" - ERROR: non master-candidate has old/wrong file"
" '%s'" % file_name)
feedback_fn(" - ERROR: file '%s' should not exist on non master"
" candidates (and the file is outdated)" % file_name)
else:
# all good, except non-master/non-must have combination
if not node_is_mc and not must_have_file:
......
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