-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
rhel-7.9
-
No
-
Important
-
rhel-sst-upgrades
-
None
-
False
-
-
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
- Add a partition entry to mount on /sys/fs/cgroup in /etc/fstab
/dev/mapper/rhel-test /sys/fs/cgroup xfs defaults 0 0
- Run leapp preuprade <-- Executes without any issue
- Run leapp upgrade <-- Executes without any issue
- 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]: ============================================================
- is related to
-
RHEL-17842 leapp fails in reboot phase when /dev/shm is a persistent file system
- Planning
- links to