-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
rhel-7.9
-
leapp-repository-0.20.0-12.el7_9
-
None
-
Moderate
-
rhel-sst-upgrades
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
Requested
-
None
-
x86_64
-
None
What were you trying to do that didn't work? While doing a LEAPP upgrade from RHEL 7.9 to 8.10, the preupgrade check crashes while scanning the grub partition table. The grub config hasn't been modified outside of using yum to install updates.
Please provide the package NVR for which bug is seen:
How reproducible: On this system, every time
Steps to reproduce
- Unregister from Satellite following https://access.redhat.com/solutions/4525751
- Re-register to RHSM and install leapp-upgrade
subscription-manager register
subscription-manager subscribe -pool=<UniquePoolID>
subscription-manager repos -enable rhel-7-server-rpms
subscription-manager repos -enable rhel-7-server-extras-rpms
subscription-manager release -unset
yum update -y
reboot
yum install leapp-upgrade leapp preupgrade -target 8.10
Expected results: Normal LEAPP issues like complaining about the floppy driver, existence of hmac-ripemd160 in the sshd_config, etc.
Actual results
...
====> * sctp_read_status
Determines whether or not the SCTP kernel module might be wanted.
====> * scan_grub_device_partition_layout
Scan all identified GRUB devices for their partition layout.
Process Process-335:
Traceback (most recent call last):
File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 74, in _do_run
actor_instance.run(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/leapp/actors/_init_.py", line 289, in run
self.process(*args)
File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/scangrubdevpartitionlayout/actor.py", line 18, in process
scan_layout_lib.scan_grub_device_partition_layout()
File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/scangrubdevpartitionlayout/libraries/scan_layout.py", line 90, in scan_grub_device_partition_layout
dev_info = get_partition_layout(device)
File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/scangrubdevpartitionlayout/libraries/scan_layout.py", line 78, in get_partition_layout
part_start = int(part_info[2]) if len(part_info) == len(part_all_attrs) else int(part_info[1])
ValueError: invalid literal for int() with base 10: '*'
2024-07-10 10:18:42.508 ERROR PID: 6023 leapp.workflow.FactsCollection: Actor scan_grub_device_partition_layout has crashed: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 74, in _do_run
actor_instance.run(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/leapp/actors/_init_.py", line 289, in run
self.process(*args)
File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/scangrubdevpartitionlayout/actor.py", line 18, in process
scan_layout_lib.scan_grub_device_partition_layout()
File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/scangrubdevpartitionlayout/libraries/scan_layout.py", line 90, in scan_grub_device_partition_layout
dev_info = get_partition_layout(device)
File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/scangrubdevpartitionlayout/libraries/scan_layout.py", line 78, in get_partition_layout
part_start = int(part_info[2]) if len(part_info) == len(part_all_attrs) else int(part_info[1])
ValueError: invalid literal for int() with base 10: '*'
==================================================================================================================
Actor scan_grub_device_partition_layout unexpectedly terminated with exit code: 1 - Please check the above details
==================================================================================================================
Debug output written to /var/log/leapp/leapp-preupgrade.log
============================================================
REPORT OVERVIEW
============================================================
Reports summary:
Errors: 1
Inhibitors: 0
HIGH severity reports: 0
MEDIUM severity reports: 0
LOW severity reports: 0
INFO severity reports: 0
Before continuing, review the full report below for details about discovered problems and possible remediation instructions:
A report has been generated at /var/log/leapp/leapp-report.txt
A report has been generated at /var/log/leapp/leapp-report.json
============================================================
END OF REPORT OVERVIEW
============================================================
Answerfile has been generated at /var/log/leapp/answerfile
ADDITIONAL INFO:
[root@<HOSTNAME> ~]# fdisk -l -u=sectors /dev/sda
Disk /dev/sda: 999.7 GB, 999653638144 bytes, 1952448512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x5b0cb686
Device Boot Start End Blocks Id System
/dev/sda1 63 208844 104391 de Dell Utility
/dev/sda2 * 208896 4403199 2097152 c W95 FAT32 (LBA)
/dev/sda3 4403200 6500351 1048576 83 Linux
/dev/sda4 6500352 1952448511 972974080 5 Extended
/dev/sda5 6502400 1952448511 972973056 8e Linux LVM
- is duplicated by
-
RHEL-50947 leapp preupgrade fails in "checkfirstpartitionoffset" actor due to scan_grub_device_partition_layout parsing some unexpected line
- Release Pending
- links to