Skip to content

Commit

Permalink
lvmlocal.conf: Disable multipath_wwids_file usage
Browse files Browse the repository at this point in the history
In RHEL 8.6, LVM added detection of multipath components using the
multipath wwids file (/etc/multipath/wwids). Unfortunately this
incorrectly detect blacklist multipath devices. This causes
vgimportdevices to skip the devices when adding to the devices file, and
the result is host failing to boot.

Since we always use lvm devices or filter, this feature is not helpful
for our use case, and can be safely disabled.

Bug-Url: https://bugzilla.redhat.com/2090169
Related-to: https://bugzilla.redhat.com/2076262

Signed-off-by: Nir Soffer <[email protected]>
  • Loading branch information
nirs authored and mz-pdm committed Jun 20, 2022
1 parent 91c9b8c commit fabb326
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion static/usr/share/vdsm/lvmlocal.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# revision used by vdsm during upgrade to determine file revision
# private if set to YES, vdsm will never upgrade this file
#
#REVISION: 6
#REVISION: 7
#PRIVATE: NO

devices {
Expand All @@ -25,4 +25,11 @@ devices {
# causing a performance issue. Hence we disable this option, though it
# is expected to be disabled by default for both lvm2-2.02 and lvm2-2.03.
scan_lvs = 0

# Disable multipath component detection using /etc/multipath/wwids file.
# This feature is need only when not using lvm filter or lvm devices.
# Enabling it may casue lvm to ignore devices in the wwids file even if
# they are blacklisted in multipath cofiguration. The result is a host
# failing to boot.
multipath_wwids_file = ""
}

0 comments on commit fabb326

Please sign in to comment.