diff --git a/lib/cmdlib.py b/lib/cmdlib.py index e08d903dc3a419e26e1bb6c15b8ec5284508a7f9..76a892228a3be01fdfd3518e238d46ad57b550a2 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -1838,7 +1838,7 @@ class LUVerifyCluster(LogicalUnit): node = ninfo.name # We just have to verify the paths on master and/or master candidates # as the oob helper is invoked on the master - if ((ninfo.master_candidate or ninfo.master) and + if ((ninfo.master_candidate or ninfo.master_capable) and constants.NV_OOB_PATHS in nresult): for path_result in nresult[constants.NV_OOB_PATHS]: self._ErrorIf(path_result, self.ENODEOOBPATH, node, path_result)