leapp upgrade fails with "Cannot activate LVs in VG rootvg while PVs appear on duplicate devices"
Issue
During the reboot portion of leapp upgrade, the system fails in emergency mode. Console logs or the rdsosreport.txt will show a failure to activate LV's while PV's appear on duplicate devices.
[ 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.
Environment
Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.