Skip to content

Commit

Permalink
Enhance grub2 install failure message.
Browse files Browse the repository at this point in the history
The new message informs the useir will happen (they will boot into the old RHEL's kernel) so they
understand why they need to run the remediation.

jira: https://issues.redhat.com/browse/RHEL-29683
  • Loading branch information
abadger authored and pirat89 committed Apr 23, 2024
1 parent a4e3906 commit 6d05575
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions repos/system_upgrade/common/actors/checkgrubcore/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,15 @@ def process(self):
reporting.Title('Leapp could not identify where GRUB2 core is located'),
reporting.Summary(
'We assumed GRUB2 core is located on the same device(s) as /boot, '
'however Leapp could not detect GRUB2 on the device(s). '
'GRUB2 core needs to be updated maually on legacy (BIOS) systems. '
'however Leapp could not detect GRUB2 on those device(s). '
'This means GRUB2 core will not be updated during the upgrade process and '
'the system will probably ' 'boot into the old kernel after the upgrade. '
'GRUB2 core needs to be updated manually on legacy (BIOS) systems to '
'fix this.'
),
reporting.Severity(reporting.Severity.HIGH),
reporting.Groups([reporting.Groups.BOOT]),
reporting.Remediation(
hint='Please run "grub2-install <GRUB_DEVICE> command manually after the upgrade'),
hint='Please run the "grub2-install <GRUB_DEVICE>" command manually '
'after the upgrade'),
])

0 comments on commit 6d05575

Please sign in to comment.