leapp のアップグレードが "Cannot activate LVs in VG rootvg while PVs appear on duplicate devices" エラーで失敗する
Issue
leapp upgrade の再起動部分中に、システムが緊急モードで失敗します。コンソールログまたは rdsosreport.txt には、重複したデバイスに PV が表示され、LV のアクティブ化に失敗したことが示されます。
[ 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.