Bug 2046360 - "Boom grub2 integration is disabled" warning removed in rhel9.0 and new warning is unable to be remedied
Summary: "Boom grub2 integration is disabled" warning removed in rhel9.0 and new warni...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: boom-boot
Version: 9.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Bryn M. Reeves
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-26 16:29 UTC by Corey Marthaler
Modified: 2023-08-10 15:41 UTC (History)
5 users (show)

Fixed In Version: boom-boot-1.5.1-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLUSTERQE-6678 0 None None None 2023-05-15 17:16:34 UTC
Red Hat Issue Tracker RHELPLAN-109863 0 None None None 2022-01-26 17:00:53 UTC

Description Corey Marthaler 2022-01-26 16:29:44 UTC
Description of problem:
It doesn't appear to matter if or how many times 'grub2-mkconfig' is run, the warning isn't removed from the boom output.

[root@hayes-03 ~]# boom create --title Title --root-device /dev/snapper/boom_snap
WARNING - Boom grub2 script missing from '../etc/grub.d'
WARNING - Boom configuration not found in grub.cfg
WARNING - Run 'grub2-mkconfig > /boot/grub2/grub.cfg' to enable
WARNING - Options for BootEntry(boot_id=d011a11) do not match OsProfile: marking read-only
WARNING - Options for BootEntry(boot_id=17daa57) do not match OsProfile: marking read-only
Created entry with boot_id 6ece556:
  title Title
  machine-id 914bad8a1084420bb933ef7a98196594
  version 5.14.0-44.el9.x86_64
  linux /vmlinuz-5.14.0-44.el9.x86_64
  initrd /initramfs-5.14.0-44.el9.x86_64.img
  options root=/dev/snapper/boom_snap ro rd.lvm.lv=snapper/boom_snap


[root@hayes-03 ~]# grub2-mkconfig > /boot/grub2/grub.cfg
Generating grub configuration file ...
Found Red Hat Enterprise Linux 9.0 Beta (Plow) on /dev/sdc3
Adding boot menu entry for UEFI Firmware Settings ...
done

[root@hayes-03 ~]#  boom create --title Title --root-device /dev/snapper/boom_snap
WARNING - Boom grub2 script missing from '../etc/grub.d'
WARNING - Boom configuration not found in grub.cfg
WARNING - Run 'grub2-mkconfig > /boot/grub2/grub.cfg' to enable
WARNING - Options for BootEntry(boot_id=d011a11) do not match OsProfile: marking read-only
WARNING - Options for BootEntry(boot_id=17daa57) do not match OsProfile: marking read-only
Entry already exists (boot_id=6ece556).

[root@hayes-03 ~]# grub2-mkconfig > /boot/grub2/grub.cfg
Generating grub configuration file ...
Found Red Hat Enterprise Linux 9.0 Beta (Plow) on /dev/sdc3
Adding boot menu entry for UEFI Firmware Settings ...
done

[root@hayes-03 ~]#  boom create --title Title --root-device /dev/snapper/boom_snap
WARNING - Boom grub2 script missing from '../etc/grub.d'
WARNING - Boom configuration not found in grub.cfg
WARNING - Run 'grub2-mkconfig > /boot/grub2/grub.cfg' to enable
WARNING - Options for BootEntry(boot_id=d011a11) do not match OsProfile: marking read-only
WARNING - Options for BootEntry(boot_id=17daa57) do not match OsProfile: marking read-only
WARNING - Options for BootEntry(boot_id=7afd6ca) do not match OsProfile: marking read-only
Created entry with boot_id 6ece556:
  title Title
  machine-id 914bad8a1084420bb933ef7a98196594
  version 5.14.0-44.el9.x86_64
  linux /vmlinuz-5.14.0-44.el9.x86_64
  initrd /initramfs-5.14.0-44.el9.x86_64.img
  options root=/dev/snapper/boom_snap ro rd.lvm.lv=snapper/boom_snap


Version-Release number of selected component (if applicable):
boom-boot-1.3-3.el9    BUILT: Mon Aug  9 02:52:24 PM CDT 2021

kernel-5.14.0-44.el9    BUILT: Mon Jan 17 01:23:15 PM CST 2022
lvm2-2.03.14-3.el9    BUILT: Tue Jan  4 04:49:45 PM CST 2022


How reproducible:
Everytime

Comment 1 Bryn M. Reeves 2023-03-15 19:30:10 UTC
These messages are irrelevant for RHEL8/9 onwards since the system uses BLS for boot entries by default. We should just remove the warning.

Comment 2 Bryn M. Reeves 2023-04-11 16:06:37 UTC
These warnings have been removed upstream:

commit 569c4c6d909c7aeb99973d5e44147a7f41c1dc2e
Author: Bryn M. Reeves <bmr>
Date:   Wed Mar 29 16:18:53 2023 +0100

    Drop bootloader configuration checks
    
    Remove the checks for grub2 BLS configuration: all supported
    distributions now use BLS by default, and BLS support is required
    in order to use boom to manage boot entries.
    
    Signed-off-by: Bryn M. Reeves <bmr>

Comment 9 Corey Marthaler 2023-06-28 15:44:07 UTC
Marking Verified:Tested in the latest rpms.

boom-boot-1.5.1-1.el9    BUILT: Wed May 17 03:00:49 PM CEST 2023


[root@grant-03 ~]# boom create --title Title --root-device /dev/snapper/boom_snap
Created entry with boot_id 052954e:
  title Title
  machine-id 82316696dd0b4ca58716c6d1c450650a
  version 5.14.0-322.el9.x86_64
  linux /vmlinuz-5.14.0-322.el9.x86_64
  initrd /initramfs-5.14.0-322.el9.x86_64.img
  options root=/dev/snapper/boom_snap ro rd.lvm.lv=snapper/boom_snap crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/rhel_grant--03-swap rd.lvm.lv=rhel_grant-03/swap rhgb quiet
  grub_users $grub_users
  grub_arg --unrestricted
  grub_class kernel


Note You need to log in before you can comment on or make changes to this bug.