Skip to content
Snippets Groups Projects
Commit 3d8ae327 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

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: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
parent d971402f
No related branches found
No related tags found
No related merge requests found
......@@ -3100,9 +3100,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment