Bug 1501236
| Summary: | Grub2-prode failed to find the disk on LVM | ||
|---|---|---|---|
| Product: | [oVirt] imgbased | Reporter: | Yihui Zhao <yzhao> |
| Component: | General | Assignee: | Yuval Turgeman <yturgema> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Qin Yuan <qiyuan> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | --- | CC: | bugs, cshao, huzhao, mgoldboi, pdhamdhe, qiyuan, rbarry, sbonazzo, weiwang, yaniwang, ycui |
| Target Milestone: | ovirt-4.3.0 | Flags: | rule-engine:
ovirt-4.3+
cshao: testing_ack+ |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | imgbased-1.1.3 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-02-13 07:45:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1515338 | ||
| Bug Blocks: | |||
|
Description
Yihui Zhao
2017-10-12 09:08:27 UTC
Update: Today I tested on rhvh 4.1.7, also has the issue. Test version: rhvh-4.1-0.20171012.0+1 grub2-tools-minimal-2.02-0.64.el7.x86_64 grub2-tools-2.02-0.64.el7.x86_64 grubby-8.28-23.el7.x86_64 grub2-2.02-0.64.el7.x86_64 grub2-pc-modules-2.02-0.64.el7.noarch grub2-tools-extra-2.02-0.64.el7.x86_64 grub2-pc-2.02-0.64.el7.x86_64 grub2-common-2.02-0.64.el7.noarch grub2-efi-x64-2.02-0.64.el7.x86_64 Test steps: The same as the bug description. Test results: After step3, [root@dhcp-10-244 ~]# grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... Found linux image: /boot/rhvh-4.1-0.20171012.0+1//vmlinuz-3.10.0-693.2.2.el7.x86_64 Found initrd image: /boot/rhvh-4.1-0.20171012.0+1/initramfs-3.10.0-693.2.2.el7.x86_64.img Found linux image: /boot/vmlinuz-3.10.0-693.2.2.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-693.2.2.el7.x86_64.img Found linux image: /boot/vmlinuz-3.10.0-693.2.2.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-693.2.2.el7.x86_64.img /usr/sbin/grub2-probe: error: disk `lvmid/OGUMef-JChs-UTC8-bdLs-ViIE-cT1N-HVy0xv/LBREd5-hzHX-jt94-Wqj0-xL24-C2YD-FhO12I' not found. Found Red Hat Enterprise Linux release 7.4 on /dev/mapper/rhvh_dhcp--10--244-root done I can't reproduce this.
I do see the message from grub2-probe (the uuid on my system is the VG itself, not the LV, which may be a grub2 bug), but the generated config file is correct, and intel_iommu is present.
Can you provide a test system? Are you sure the generated config file is not actually correct?
Or, failing that, simply try:
grub2-mkconfig | less
Search for 09_node and look at the generated cmdline. I'd expect intel_iommu to be present.
Test steps below:
# grub2-mkconfig -o test
Generating grub configuration file ...
Found linux image: /boot/rhvh-4.2-0.20171012.0+1//vmlinuz-3.10.0-693.2.2.el7.x86_64
Found initrd image: /boot/rhvh-4.2-0.20171012.0+1/initramfs-3.10.0-693.2.2.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-693.2.2.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.2.2.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-693.2.2.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.2.2.el7.x86_64.img
/usr/sbin/grub2-probe: error: disk `lvmid/4EmcYv-Bmps-Wc3u-bI5m-5mZs-PLom-zIVWZk/y0cnV4-Dv3K-Pept-4rLE-dSjX-bc9o-0kXy4Z' not found.
Found Red Hat Enterprise Linux release 7.4 on /dev/mapper/rhvh-root
done
# cat test
...
### BEGIN /etc/grub.d/09_node ###
menuentry 'rhvh-4.2-0.20171012.0+1' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.2.2.el7.x86_64-advanced-/dev/mapper/rhvh-rhvh--4.2--
0.20171012.0+1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 7da03143-7e25-4c46-92af-ccf3f8732aed
else
search --no-floppy --fs-uuid --set=root 7da03143-7e25-4c46-92af-ccf3f8732aed
fi
linux16 /rhvh-4.2-0.20171012.0+1/vmlinuz-3.10.0-693.2.2.el7.x86_64 root=/dev/rhvh/rhvh-4.2-0.20171012.0+1 ro crashkernel=auto rd.lvm.lv=rhvh/swap rhgb quiet intel_iommu=on rd.lvm.lv=rhvh/rhv
h-4.2-0.20171012.0+1 img.bootid=rhvh-4.2-0.20171012.0+1
initrd16 /rhvh-4.2-0.20171012.0+1/initramfs-3.10.0-693.2.2.el7.x86_64.img
}
### END /etc/grub.d/09_node ###
...
Note that the warning from grub2-probe has been present since at least 4.1.3-1 (the earliest image I tested). This bug does not appear to be new. Ok. Since this has no functional impact, I'll file a platform bug to track the debug message. Tested with: redhat-virtualization-host-4.3-20190116.0 imgbased-1.1.3-0.1.el7ev.noarch There is no grub2-probe error: [root@ati_local_02 ~]# grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... Found linux image: /boot/rhvh-4.3.0.2-0.20190116.0+1//vmlinuz-3.10.0-957.1.3.el7.x86_64 Found initrd image: /boot/rhvh-4.3.0.2-0.20190116.0+1/initramfs-3.10.0-957.1.3.el7.x86_64.img Found linux image: /boot/vmlinuz-3.10.0-957.1.3.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-957.1.3.el7.x86_64.img done The bug is fixed, change status to VERIFIED. This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |