Leapp can fail when /boot is a multipath

Solution Verified - Updated -

Issue

The OS tries to mount a device which does not exist:

<timestamp> localhost upgrade[PID]: mount: /dev/sdb2 is already mounted or /boot busy
  :
<timestamp> localhost upgrade[PID]: CalledProcessError: Command ['/usr/sbin/grubby', '--remove-kernel=/boot/vmlinuz-upgrade.x86_64'] failed with exit code 1.

The upgrade fails and goes to the dracut emergency shell.

Environment

  • Red Hat Enterprise Linux 7.9
  • leapp

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content