Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2212552

Summary: concerning error messages when running grub2-mkconfig with lvm raid + integrity volumes present
Product: Red Hat Enterprise Linux 9 Reporter: Corey Marthaler <cmarthal>
Component: grub2Assignee: Bootloader engineering team <bootloader-eng-team>
Status: CLOSED MIGRATED QA Contact: Release Test Team <release-test-team-automation>
Severity: low Docs Contact:
Priority: unspecified    
Version: 9.3CC: mlewando, pjanda, raravind
Target Milestone: rcKeywords: MigratedToJIRA
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-22 12:02:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Marthaler 2023-06-05 20:26:33 UTC
Description of problem:
I was running boom/lvm2 regression test cases and noticed these errors while a lvm raid volume with integrity was present.

[root@virt-521 ~]# lvs -a -o +devices
  LV                         VG      Attr       LSize   Pool Origin                     Data%  Meta%  Move Log Cpy%Sync Convert Devices                                                          
  resize_lv                  snapper rwi-a-r---  30.00g                                                        100.00           resize_lv_rimage_0(0),resize_lv_rimage_1(0),resize_lv_rimage_2(0)
  [resize_lv_rimage_0]       snapper gwi-aor---  30.00g      [resize_lv_rimage_0_iorig]                        100.00           resize_lv_rimage_0_iorig(0)                                      
  [resize_lv_rimage_0_imeta] snapper ewi-ao---- 312.00m                                                                         /dev/sda(7681)                                                   
  [resize_lv_rimage_0_iorig] snapper -wi-ao----  30.00g                                                                         /dev/sda(1)                                                      
  [resize_lv_rimage_1]       snapper gwi-aor---  30.00g      [resize_lv_rimage_1_iorig]                        100.00           resize_lv_rimage_1_iorig(0)                                      
  [resize_lv_rimage_1_imeta] snapper ewi-ao---- 312.00m                                                                         /dev/sdb(7681)                                                   
  [resize_lv_rimage_1_iorig] snapper -wi-ao----  30.00g                                                                         /dev/sdb(1)                                                      
  [resize_lv_rimage_2]       snapper gwi-aor---  30.00g      [resize_lv_rimage_2_iorig]                        100.00           resize_lv_rimage_2_iorig(0)                                      
  [resize_lv_rimage_2_imeta] snapper ewi-ao---- 312.00m                                                                         /dev/sdd1(7681)                                                  
  [resize_lv_rimage_2_iorig] snapper -wi-ao----  30.00g                                                                         /dev/sdd1(1)                                                     
  [resize_lv_rmeta_0]        snapper ewi-aor---   4.00m                                                                         /dev/sda(0)                                                      
  [resize_lv_rmeta_1]        snapper ewi-aor---   4.00m                                                                         /dev/sdb(0)                                                      
  [resize_lv_rmeta_2]        snapper ewi-aor---   4.00m                                                                         /dev/sdd1(0)                                                     


[root@virt-521 ~]# vgs
  VG      #PV #LV #SN Attr   VSize   VFree   
  snapper   8   1   0 wz--n- 399.96g <309.04g

[root@virt-521 ~]# grub2-mkconfig > /boot/grub2/grub.cfg
Generating grub configuration file ...
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
File descriptor 3 (pipe:[35610]) leaked on vgs invocation. Parent PID 6027: grub2-probe
File descriptor 9 (pipe:[35637]) leaked on vgs invocation. Parent PID 6027: grub2-probe
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
error: ../grub-core/disk/diskfilter.c:524:unknown node 'resize_lv_rimage_0'.
grub2-probe: error: ../grub-core/kern/disk.c:236:disk `lvmid/SWQkOR-QcYW-Hzy4-nbnF-dCjt-qYr6-LiNRjx/uHkS92-OGat-k4Sn-LOvu-k5Qc-cWd8-48GURO' not found.
Adding boot menu entry for UEFI Firmware Settings ...
done
[root@virt-521 ~]# echo $?
0


Version-Release number of selected component (if applicable):
grub2-tools-2.06-61.el9.x86_64

kernel-5.14.0-312.el9    BUILT: Thu May 11 08:04:19 PM CEST 2023
lvm2-2.03.21-2.el9    BUILT: Thu May 25 12:03:04 AM CEST 2023
lvm2-libs-2.03.21-2.el9    BUILT: Thu May 25 12:03:04 AM CEST 2023


How reproducible:
Everytime

Comment 1 Marta Lewandowska 2023-06-06 08:00:39 UTC
Hi,
I have a few questions: why are you running grub2-mkconfig? What are you updating / changing that you cannot do with grubby?

I agree that the error messages are concerning, but I'm curious whether you are achieving the desired result? Are you getting the new options into the grub config, system is booting, etc.?

Comment 2 raravind 2023-08-22 11:57:40 UTC
This bug is being scheduled for jira migration

Comment 3 RHEL Program Management 2023-08-22 12:01:55 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 4 RHEL Program Management 2023-08-22 12:02:16 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues.

Comment 5 raravind 2023-08-22 12:23:58 UTC
please continue the work / comments here:
https://issues.redhat.com/browse/RHEL-1594