From 2ef3383e049eec41926976b85c208beea3d279ce Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Tue, 2 Oct 2012 20:41:19 +0200 Subject: [PATCH] LUClusterVerify: Ignore /proc/drbd if DRBD is disabled This fixes issue 190. The problem was that the check for DRBD was enabled if LVM storage is used and didn't depend at all on whether DRBD is enabled. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> (cherry picked from commit 3d8ae32740475f35ac2e7a4937f5469700202e5b) --- lib/cmdlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 8e0a62239..b1c5de3c5 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -3126,9 +3126,9 @@ class LUClusterVerifyGroup(LogicalUnit, _VerifyErrors): node_verify_param[constants.NV_VGLIST] = None node_verify_param[constants.NV_LVLIST] = vg_name node_verify_param[constants.NV_PVLIST] = [vg_name] - node_verify_param[constants.NV_DRBDLIST] = None if drbd_helper: + node_verify_param[constants.NV_DRBDLIST] = None node_verify_param[constants.NV_DRBDHELPER] = drbd_helper # bridge checks -- GitLab