-
Bug
-
Resolution: Unresolved
-
Critical
-
rhel-8.8.0
-
rhel-upgrades
-
None
-
None
-
None
What were you trying to do that didn't work?
leapp upgrade defaults to using --nolvmconf for dracut to build the upgrade initramfs.
When a system has multipath, this causes the system to drop into emergency mode during the upgrade since RHEL 8 does not `allow_changes_with_duplicate_pvs` which means we won't activate any lvs on duplicate pvs.
Please provide the package NVR for which bug is seen:
leapp-0.15.1-1.el8.noarch
leapp-deps-0.15.1-1.el8.noarch
leapp-upgrade-el8toel9-deps-0.18.0-1.el8_8.2.noarch
leapp-upgrade-el8toel9-0.18.0-1.el8_8.2.noarch
leapp-upgrade-el7toel8-deps-0.18.0-3.el7_9.noarch
leapp-deps-0.15.1-1.el7_9.noarch
leapp-0.15.1-1.el7_9.noarch
leapp-upgrade-el7toel8-0.18.0-3.el7_9.noarch
Steps to reproduce
- Using a system that has lvm on multipath drives
- leapp upgrade
Expected results
Leapp needs to detect that an lvm filter is in place and then automatically apply the LEAPP_DRACUT_LVMCONF option. It should also log something like
"filter detected in /etc/lvm.conf. Including lvm.conf in the upgrade initramfs"
Then if there was some issue that occurred, we would have a log showing us that something differed from the default behaviour.
This option is not documented anywhere, and is needed most commonly on big storage systems which are often prioritized higher. This also requires the collaboration from multiple sbrs to have all the information which further complicates these cases.
Actual results
{{[ 6.279627] localhost upgrade[1404]: WARNING: PV asdfa-I8jR-wYub-fghj-5eeC-rty-asdfa prefers device /dev/mapper/mpathb because device name matches previous.
[ 6.279627] localhost upgrade[1404]: Allowing activation with --readonly --sysinit.
[ 6.287558] localhost upgrade[1404]: Cannot activate LVs in VG rootvg while PVs appear on duplicate devices.
[ 6.287558] localhost upgrade[1404]: 1 logical volume(s) in volume group "rootvg" now active
[ 6.318201] localhost upgrade[1401]: Mounting /usr with -o defaults,ro
[ 6.321476] localhost kernel: /dev/mapper/rootvg-usr: Can't open blockdev
[ 6.322616] localhost upgrade[1408]: mount: /sysroot/usr: special device /dev/mapper/rootvg-usr does not exist.
[ 6.325688] localhost upgrade[1409]: mount: /sysroot/usr: mount point not mounted or bad option.
[ 6.330147] localhost upgrade[1401]: Warning: Mounting /usr to /sysroot/usr failed
[ 6.331202] localhost upgrade[1401]: Warning: *** Dropping you to a shell; the system will continue
[ 6.331202] localhost upgrade[1401]: Warning: *** when you leave the shell.}}
- is related to
-
RHEL-3289 Leapp can fail when /boot is a multipath
-
- Planning
-
- links to