Currently the message for extraneous files on non master candidates is
confusing, to say the least. This makes it hopefully more clear.
---
lib/cmdlib.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/cmdlib.py b/lib/cmdlib.py
index 5d353c8..dea29e4 100644
--- a/lib/cmdlib.py
+++ b/lib/cmdlib.py
@@ -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:
--
1.6.3.3