Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-36249

leapp breaks in reboot phase on UEFI systems with /boot/efi on a Software Raid

    • None
    • Moderate
    • sst_upgrades
    • 12
    • 4
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      When the system is in UEFI and /boot/efi is a software raid, the reboot phase of leapp fails with the following error:

      [    2.461317] upgrade[808]: mount: /boot/efi: can't find UUID=572C-8A49.
      

      The reason for this is /boot/efi Software Raid isn't automatically assembled by dracut because it is not specified as kernel command line argument rd.md.uuid=md-raid-uuid-xxx.

      When booting outside of leapp, this argument is not required, because the mount will happen after switch root, but for leapp, it's a different story since all file systems are to be mounted while in the initramfs phase.

      Please provide the package NVR for which bug is seen:

      leapp-upgrade-el8toel9-0.19.0-4.el8_9.noarch

      How reproducible:

      Always

      Steps to reproduce

      1. Install RHEL8 on a UEFI system with /boot/efi as a software raid
        ignoredisk --only-use=vda,vdb
        # Partition clearing information
        clearpart --all --initlabel
        # Disk partitioning information
        part raid.711 --fstype="mdmember" --ondisk=vda --size=1025
        part raid.718 --fstype="mdmember" --ondisk=vdb --size=1025
        part raid.339 --fstype="mdmember" --ondisk=vda --size=201
        part raid.1168 --fstype="mdmember" --ondisk=vdb --size=19252
        part raid.1161 --fstype="mdmember" --ondisk=vda --size=19252
        part raid.346 --fstype="mdmember" --ondisk=vdb --size=201
        raid /boot/efi --device=boot_efi --fstype="efi" --level=RAID1 --fsoptions="umask=0077,shortname=winnt" raid.339 raid.346
        raid / --device=root --fstype="xfs" --level=RAID1 raid.1161 raid.1168
        raid /boot --device=boot --fstype="xfs" --level=RAID1 raid.711 raid.718
      2. leapp it to RHEL9

      Expected results

      Boots on RHEL9 kernel and upgrade happens

      Actual results

      Boot on RHEL9 kernel and upgrade fails early

            leapp-notifications leapp-notifications
            rhn-support-rmetrich Renaud Métrich
            leapp-notifications leapp-notifications
            RHEL Upgrades QE Team RHEL Upgrades QE Team
            Miriam Portman Miriam Portman
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: