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

Leapp fails if a partion entry is available in /etc/fstab to mount on /sys/fs/cgroup

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • rhel-7.9
    • leapp-repository
    • No
    • Important
    • rhel-sst-upgrades
    • None
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • x86_64
    • None

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

      Leapp upgrade from RHEL 7.9 to RHEL 8.10

      Please provide the package NVR for which bug is seen:

      leapp-0.17.0-2.el7_9.noarch
      leapp-deps-0.17.0-2.el7_9.noarch
      leapp-upgrade-el7toel8-0.20.0-9.el7_9.noarch
      leapp-upgrade-el7toel8-deps-0.20.0-9.el7_9.noarch
      python2-leapp-0.17.0-2.el7_9.noarch

      How reproducible:

      Steps to reproduce

      1. Add a partition entry to mount on /sys/fs/cgroup in /etc/fstab
      /dev/mapper/rhel-test /sys/fs/cgroup xfs defaults 0 0 
      1. Run leapp preuprade   <-- Executes without any issue
      2. Run leapp upgrade       <-- Executes without any issue
      3. Post reboot when system boots with "Upgrade Initramfs " It fails in emergency mode.

      Expected results:

      Expecting leapp preupgrade to warn that a partition is mounted on virtual filesystem and need to be commented before leapp upgrade

      Actual results:

      Fails at emergency and any of the below error is seen in /var/log/leapp/leapp-upgrade.log

      Error: 1

      Sep 02 03:19:11 localhost upgrade[680]: ============================================================
      Sep 02 03:19:11 localhost upgrade[680]:                            ERRORS 
      Sep 02 03:19:11 localhost upgrade[680]: ============================================================ 
      Sep 02 03:19:11 localhost upgrade[680]: 2024-09-02 08:48:41.633564 [ERROR] Actor: dnf_upgrade_transaction 
      Sep 02 03:19:11 localhost upgrade[680]: Message: Cannot obtain data about the DNF configuration 
      Sep 02 03:19:11 localhost upgrade[680]: Summary: 
      Sep 02 03:19:11 localhost upgrade[680]:     Stderr: Failed to read link /sys/fs/cgroup/memory: No such file or directory 
      Sep 02 03:19:11 localhost upgrade[680]:     Stdout: 
      Sep 02 03:19:11 localhost upgrade[680]: ============================================================ 
      Sep 02 03:19:11 localhost upgrade[680]:                        END OF ERRORS 
      Sep 02 03:19:11 localhost upgrade[680]: ============================================================
      

      Error2

      [   85.337916] localhost upgrade[703]: ============================================================
      [   85.337916] localhost upgrade[703]:                            ERRORS
      [   85.337916] localhost upgrade[703]: ============================================================
      [   85.337916] localhost upgrade[703]: 2024-08-24 10:04:16.150305 [ERROR] Actor: dnf_upgrade_transaction
      [   85.337916] localhost upgrade[703]: Message: Cannot obtain data about the DNF configuration
      [   85.337916] localhost upgrade[703]: Summary:
      [   85.337916] localhost upgrade[703]:     Stderr: Failed to read link /sys/fs/cgroup/rdma: No such file or directory
      [   85.337916] localhost upgrade[703]:     Stdout:
      [   85.337916] localhost upgrade[703]: ============================================================
      [   85.337916] localhost upgrade[703]:                        END OF ERRORS
      [   85.337916] localhost upgrade[703]: ============================================================ 

       

       

              leapp-notifications leapp-notifications
              rhn-support-prjagtap Pradeep Jagtap
              leapp-notifications leapp-notifications
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Miriam Portman Miriam Portman
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: