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

Fail to boot after attempted upgrade to RHEL-10 (doing 7 to 10 subsequent upgrades) - missing initramfs

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • No
    • Low
    • rhel-upgrades
    • 26
    • 6
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      I tried to do subsequent leapp upgrade starting on RHEL-7 machine up to RHEL-10.
      Upgrading to RHEL-8 and RHEL-9 worked just fine, but I hit issues when trying to upgrade to RHEL-10.
      First I hit this bug https://issues.redhat.com/browse/RHEL-85022 and after attempted workaround by deleting a line `dhcp=dhclient` from `/usr/lib/NetworkManager/conf.d/10-dhcp-dhclient.conf` upgrade was not inhibited anymore and proceeded OK. When rebooting from upgrade-initramdisk into RHEL-10 however the boot failed (error attached below).

      What is the impact of this issue to you?

      Ending with unbootable machine

      Please provide the package NVR for which the bug is seen:

      leapp-0.19.0-1.el9.noarch.rpm
      leapp-upgrade-el9toel10-0.22.0-1.el9.noarch

      How reproducible is this bug?:

      So far occured once during 7 to 10 upgrade, will try to reproduce.

      Steps to reproduce

      1. Deploy RHEL-7.9 machine
      2. upgrade to rhel-8.10
      3. upgrade to rhel-9.6
      4. try to upgrade to rhel-10.0 (no specific compose, some recent nightly)
      5. When hitting inhibitor reported in RHEL-85022 delete the line `dhcp=dhclient` from `/usr/lib/NetworkManager/conf.d/10-dhcp-dhclient.conf` to workaround the inhibitor
      6. attempt again the upgrade to RHEL-10, this time no inhibitor hit and upgrade proceeds

      Expected results

      Upgrade works

      Actual results

       error: ../../grub-core/fs/fshelp.c:257:file
       `/initramfs-6.12.0-55.7.1.el10_0.x86_64.img'
       not found.
        error: ../../grub-core/fs/fshelp.c:257:file
        `/initramfs-6.12.0-55.7.1.el10_0.x86_64.img'
        not found.
      

      Little above in the console log I can find dracut error

      [  232.767332] upgrade[1712]:   Running scriptlet: kernel-modules-core-6.12.0-55.7.1.el10_0.x86_6   1735/1735 
      [  239.300643] dracut[11598] No '/dev/log' or 'logger' included for syslog logging 
      [  239.428162] dracut[11598] Executing: /usr/bin/dracut -f --kernel-image /lib/modules/6.12.0-55.7.1.el10_0.x86_64/vmlinuz  --kver 6.12.0-55.7.1.el10_0.x86_64 /boot/initramfs-6.12.0-55.7.1.el10_0.x86_64.img 
      [  240.184169] dracut[11598] 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'! 
      [  240.630767] dracut[11598] Module 'network-legacy' cannot be found. 
      [  240.480294] upgrade[1712]:   Running scriptlet: kernel-core-6.12.0-55.7.1.el10_0.x86_64          1735/1735 
      [  240.481559] upgrade[1712]: Generating grub configuration file ... 
      [  240.495551] upgrade[1712]: Adding boot menu entry for UEFI Firmware Settings ... 
      [  240.496705] upgrade[1712]: done 
      [  240.497235] upgrade[1712]: dracut[W]: Running in hostonly mode in a container! 
      [  240.510641] upgrade[1712]: dracut[E]: No '/dev/log' or 'logger' included for syslog logging 
      [  240.516430] upgrade[1712]: dracut[E]: Module 'network-legacy' cannot be found. 
      [  240.521040] upgrade[1712]: /usr/lib/kernel/install.d/50-dracut.install failed with exit status 1. 
      [  240.526043] upgrade[1712]: warning: %posttrans(kernel-core-6.12.0-55.7.1.el10_0.x86_64) scriptlet failed, exit status 1 
      

              Unassigned Unassigned
              rhn-support-mmacura Michal Macura
              Petr Stodulka Petr Stodulka
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Miriam Portman Miriam Portman
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: