Bug 2227373
Summary: | "No bootable device" with OS boot disk interface VirtIO-SCSI and with more than 9 VirtIO disks. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Bimal Chollera <bcholler> | |
Component: | seabios | Assignee: | Jon Maloy <jmaloy> | |
Status: | CLOSED ERRATA | QA Contact: | Xueqiang Wei <xuwei> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.6 | CC: | ailan, aliang, coli, gveitmic, jinzhao, jmaloy, juzhang, osteffen, pbonzini, pkang, qinwang, tzheng, vgoyal, virt-maint, xuwei, ymankad, zhguo | |
Target Milestone: | rc | Keywords: | Triaged, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | seabios-1.16.0-4.module+el8.9.0+19570+14a90618 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2228485 2228486 (view as bug list) | Environment: | ||
Last Closed: | 2023-11-14 15:33:37 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2228485, 2228486 |
Description
Bimal Chollera
2023-07-28 22:56:07 UTC
Hello team, Good day. This is Pinion from EMT and I want to highlight the business impact of this bug (ACE EN-64350). There was an incident previously where the VM rebooted unexpectedly, later it was found as a bug in RHEL. Last Friday they went ahead and patched RHEL and rebooted and then hit this bug on RHEV. This is one of their Critical DBs and has a financial impact if it goes down. They need to patch the system asap to mitigate the RHEL bug, but they are looking for the RCA for last Friday's incident before that. Your early assistance on this would be highly appreciated. Thank you in advance. storaged is a dead component, please reassign to something sane in your product. Hi Qing, could you please try to reproduce this? It's 8.6 EUS. The same issue also exists on Red Hat Enterprise Linux release 8.9 Beta (Ootpa) 4.18.0-504.el8.x86_64 qemu-kvm-6.2.0-37.module+el8.9.0+19491+15e62c0a.x86_64 seabios-bin-1.16.0-3.module+el8.9.0+18724+20190c23.noarch edk2-ovmf-20220126gitbb1bba3d77-5.el8.noarch libvirt-8.0.0-21.module+el8.9.0+19166+e262ca96.x86_64 virtio-win-prewhql-0.1-240.iso This is fixed upstream. commit 3b91e8e9fe93d5ff7edf17f984c401f9e6ba55fe Author: Gerd Hoffmann <kraxel> Date: Mon Apr 25 09:20:02 2022 +0200 malloc: use variable for ZoneHigh size commit dc88f9b72df52b22c35b127b80c487e0b6fca4af Author: Gerd Hoffmann <kraxel> Date: Mon Apr 25 09:25:31 2022 +0200 malloc: use large ZoneHigh when there is enough memory It works on latest seabios Red Hat Enterprise Linux release 9.3 Beta (Plow) 5.14.0-342.el9.x86_64 qemu-kvm-8.0.0-9.el9.x86_64 seabios-bin-1.16.1-1.el9.noarch edk2-ovmf-20230524-2.el9.noarch libvirt-9.3.0-2.el9.x86_64 virtio-win-prewhql-0.1-240.iso It may see 21 virtio disks after guest boot. /usr/libexec/qemu-kvm \ -name guest=UCDPRDTUD01,debug-threads=on \ -machine pc,usb=off,dump-guest-core=off \ -accel kvm \ -cpu host \ -m 8G \ -uuid 7956acb5-8d4f-4bc4-bc43-f6310c7aca46 \ -no-user-config \ -nodefaults \ \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device piix3-usb-uhci,id=ua-f9528958-f3a9-4673-a8c3-0fef19bb83a4,bus=pci.0,addr=0x1.0x2 \ -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x1b \ -device virtio-serial-pci,id=ua-4aa948fa-bb15-4552-b1cb-a0bffcb28e06,max_ports=16,bus=pci.0,addr=0x5 \ -device ide-cd,bus=ide.1,unit=0,id=ua-c8389fc0-b2e6-47f4-be2c-179fb187a8d4,werror=report,rerror=report \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/rhel860-64-virtio-scsi.qcow2","aio":"native","node-name":"libvirt-27-storage","cache":{"direct":true,"no-flush":false}}' \ -blockdev '{"node-name":"libvirt-27-format","driver":"qcow2","file":"libvirt-27-storage"}' \ -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,device_id=c6216bdbded2,drive=libvirt-27-format,id=c6216bdbded2,bootindex=1,write-cache=on,serial=c6216bdbded2,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg1.qcow2","aio":"native","node-name":"libvirt-21-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-21-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-21-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x8,drive=libvirt-21-format,id=ua-c19fa10f-eb80-4f3b-b84c-7a94dca88ad3,write-cache=on,serial=c19fa10f-eb80-4f3b-b84c-7a94dca88ad3,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg2.qcow2","aio":"native","node-name":"libvirt-20-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-20-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-20-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x9,drive=libvirt-20-format,id=ua-abce8b5f-85d1-4f60-8fb5-1acd1665713a,write-cache=on,serial=abce8b5f-85d1-4f60-8fb5-1acd1665713a,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg3.qcow2","aio":"native","node-name":"libvirt-19-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-19-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-19-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0xa,drive=libvirt-19-format,id=ua-a862fe05-e377-4390-ba91-93c5d0d19729,write-cache=on,serial=a862fe05-e377-4390-ba91-93c5d0d19729,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg4.qcow2","aio":"native","node-name":"libvirt-18-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-18-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-18-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=libvirt-18-format,id=ua-2a8ce8f0-9fde-499a-8623-d6db532ecf67,write-cache=on,serial=2a8ce8f0-9fde-499a-8623-d6db532ecf67,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg5.qcow2","aio":"native","node-name":"libvirt-17-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-17-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-17-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0xb,drive=libvirt-17-format,id=ua-75b75514-f089-47e2-bd74-188e92f0f10a,write-cache=on,serial=75b75514-f089-47e2-bd74-188e92f0f10a,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg6.qcow2","aio":"native","node-name":"libvirt-16-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-16-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-16-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0xc,drive=libvirt-16-format,id=ua-1ce5069f-2355-484e-bffa-d2fdd3cb86ae,write-cache=on,serial=1ce5069f-2355-484e-bffa-d2fdd3cb86ae,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg7.qcow2","aio":"native","node-name":"libvirt-15-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-15-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-15-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0xd,drive=libvirt-15-format,id=ua-cfd85904-33ab-4f44-9e71-8897c3676bfb,write-cache=on,serial=cfd85904-33ab-4f44-9e71-8897c3676bfb,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg8.qcow2","aio":"native","node-name":"libvirt-14-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-14-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-14-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0xe,drive=libvirt-14-format,id=ua-f96efc01-076d-4afa-ae8a-99b5f7197600,write-cache=on,serial=f96efc01-076d-4afa-ae8a-99b5f7197600,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg9.qcow2","aio":"native","node-name":"libvirt-13-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-13-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-13-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0xf,drive=libvirt-13-format,id=ua-ac011e39-3f4a-4133-9e66-e3690245cf38,write-cache=on,serial=ac011e39-3f4a-4133-9e66-e3690245cf38,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg10.qcow2","aio":"native","node-name":"libvirt-12-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-12-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-12-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x10,drive=libvirt-12-format,id=ua-81bd7a64-c899-4118-b9dd-370889086a80,write-cache=on,serial=81bd7a64-c899-4118-b9dd-370889086a80,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg11.qcow2","aio":"native","node-name":"libvirt-11-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-11-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-11-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x11,drive=libvirt-11-format,id=ua-66d2f1a6-df05-46b9-b692-d4780c1f2f40,write-cache=on,serial=66d2f1a6-df05-46b9-b692-d4780c1f2f40,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg12.qcow2","aio":"native","node-name":"libvirt-10-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-10-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-10-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x12,drive=libvirt-10-format,id=ua-6b6f8dbe-25ec-4636-aaae-b66fd56e3b46,write-cache=on,serial=6b6f8dbe-25ec-4636-aaae-b66fd56e3b46,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg13.qcow2","aio":"native","node-name":"libvirt-9-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-9-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-9-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x13,drive=libvirt-9-format,id=ua-a14071de-be44-4a0d-9708-71193c94b30d,write-cache=on,serial=a14071de-be44-4a0d-9708-71193c94b30d,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg14.qcow2","aio":"native","node-name":"libvirt-8-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-8-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-8-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x14,drive=libvirt-8-format,id=ua-6867de10-cfb0-46b3-94d9-176ea3540cc5,write-cache=on,serial=6867de10-cfb0-46b3-94d9-176ea3540cc5,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg15.qcow2","aio":"native","node-name":"libvirt-7-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-7-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-7-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x15,drive=libvirt-7-format,id=ua-3b499f9c-fe1a-4e21-b8d8-5b5238c0c00a,write-cache=on,serial=3b499f9c-fe1a-4e21-b8d8-5b5238c0c00a,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg16.qcow2","aio":"native","node-name":"libvirt-6-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-6-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-6-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x16,drive=libvirt-6-format,id=ua-d055dc39-8c15-47a6-9277-61d534f988ce,write-cache=on,serial=d055dc39-8c15-47a6-9277-61d534f988ce,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg17.qcow2","aio":"native","node-name":"libvirt-5-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-5-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-5-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x17,drive=libvirt-5-format,id=ua-f0474336-9e3e-48a7-829d-1241545b40a1,write-cache=on,serial=f0474336-9e3e-48a7-829d-1241545b40a1,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg18.qcow2","aio":"native","node-name":"libvirt-4-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-4-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-4-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x18,drive=libvirt-4-format,id=ua-0f155578-2e20-4141-8f25-bb030ace4f5d,write-cache=on,serial=0f155578-2e20-4141-8f25-bb030ace4f5d,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg19.qcow2","aio":"native","node-name":"libvirt-3-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x19,drive=libvirt-3-format,id=ua-489ecd15-f390-4443-a0b0-075f8c11e276,write-cache=on,serial=489ecd15-f390-4443-a0b0-075f8c11e276,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg20.qcow2","aio":"native","node-name":"libvirt-2-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-2-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x1a,drive=libvirt-2-format,id=ua-f1bb7b5f-6b0d-4fa9-9a62-3f354290a48d,write-cache=on,serial=f1bb7b5f-6b0d-4fa9-9a62-3f354290a48d,werror=stop,rerror=stop \ \ -blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg21.qcow2","aio":"native","node-name":"libvirt-1-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-1-storage"}' \ -device virtio-blk-pci,bus=pci.0,addr=0x1c,drive=libvirt-1-format,id=ua-a50e98fe-3dee-4742-a6f0-25f99f844f8a,write-cache=on,serial=a50e98fe-3dee-4742-a6f0-25f99f844f8a,werror=stop,rerror=stop \ \ \ -vga std \ -vnc :5 \ -monitor stdio \ -qmp tcp:0:5955,server=on,wait=off \ -device virtio-net-pci,mac=9a:b5:b6:b1:b2:b7,id=nic1,netdev=nicpci,bus=pci.0 \ -netdev tap,id=nicpci \ -boot menu=on,reboot-timeout=1000,strict=off \ \ -chardev socket,id=socket-serial,path=/var/tmp/socket-serial,logfile=/var/tmp/file-serial.log,mux=on,server=on,wait=off \ -serial chardev:socket-serial \ -chardev file,path=/var/tmp/file-bios.log,id=file-bios \ -device isa-debugcon,chardev=file-bios,iobase=0x402 \ \ The limit of disks accessible to SeaBIOS is src/config.h:#define BUILD_MAX_EXTDRIVE 16 in both RHEL8 and RHEL9. QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass. Reproduced it with seabios-bin-1.16.0-3.module+el8.9.0+18724+20190c23.noarch, boot a guest with 1 virio-scsi disk and 10 virio-blk disks, hitting "No bootable device". Tested with seabios-bin-1.16.0-4.module+el8.9.0+19570+14a90618.noarch, not hit this issue. 1. boot a guest with 1 virio-scsi disk and 10 virio-blk disks, the guest boot successfully. 2. boot a guest with 1 virio-scsi disk and 16 virio-blk disks, the guest boot successfully. And run seabios test loop, no new bug was found. So set status to VERIFIED. Versions: kernel-4.18.0-509.el8.x86_64 qemu-kvm-6.2.0-38.module+el8.9.0+19636+489b90af seabios-bin-1.16.0-4.module+el8.9.0+19570+14a90618.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6980 |