Bug 2037135
| Summary: | Booting from Local Snapshot Core Dumped Whose Backing File Is Based on RBD | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Tingting Mao <timao> |
| Component: | qemu-kvm | Assignee: | Stefano Garzarella <sgarzare> |
| qemu-kvm sub component: | Ceph | QA Contact: | Tingting Mao <timao> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aliang, chayang, coli, hhan, idryomov, jinzhao, juzhang, kkiwi, meili, nanli, sgarzare, virt-maint, yicui |
| Version: | 8.6 | Keywords: | Regression, Triaged |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-6.2.0-6.module+el8.6.0+14165+5e5e76ac | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2034791 | Environment: | |
| Last Closed: | 2022-05-10 13:25:20 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: | 2034791 | ||
| Bug Blocks: | |||
|
Description
Tingting Mao
2022-01-05 03:06:39 UTC
In my test scenario(live snapshot), the reproduce ratio is 90%. *** Bug 2051870 has been marked as a duplicate of this bug. *** Verified this bug as below.
Tested with:
qemu-kvm-6.2.0-6.module+el8.6.0+14165+5e5e76ac
kernel-4.18.0-364.el8.x86_64
Steps:
1. Create snapshot over RBD base image
# qemu-img create -f qcow2 -b rbd:rbd/rhel860-64-virtio-scsi.raw -F raw /home/kvm_autotest_root/images/snA.qcow2
2. Boot up guest from the snapshot
# /usr/libexec/qemu-kvm \
-S \
-name 'avocado-vt-vm1' \
-sandbox on \
-machine q35,memory-backend=mem-machine_mem \
-device pcie-root-port,id=pcie-root-port-0,multifunction=on,bus=pcie.0,addr=0x1,chassis=1 \
-device pcie-pci-bridge,id=pcie-pci-bridge-0,addr=0x0,bus=pcie-root-port-0 \
-nodefaults \
-device VGA,bus=pcie.0,addr=0x2 \
-m 30720 \
-object memory-backend-ram,size=30720M,id=mem-machine_mem \
-smp 20,maxcpus=20,cores=10,threads=1,dies=1,sockets=2 \
-cpu 'Broadwell',+kvm_pv_unhalt \
-chardev socket,wait=off,server=on,id=qmp_id_qmpmonitor1,path=/tmp/avocado_fju2jpnh/monitor-qmpmonitor1-20220208-220246-XYgPA3Ks \
-mon chardev=qmp_id_qmpmonitor1,mode=control \
-chardev socket,wait=off,server=on,id=qmp_id_catch_monitor,path=/tmp/avocado_fju2jpnh/monitor-catch_monitor-20220208-220246-XYgPA3Ks \
-mon chardev=qmp_id_catch_monitor,mode=control \
-device pvpanic,ioport=0x505,id=idVRulgI \
-chardev socket,wait=off,server=on,id=chardev_serial0,path=/tmp/avocado_fju2jpnh/serial-serial0-20220208-220246-XYgPA3Ks \
-device isa-serial,id=serial0,chardev=chardev_serial0 \
-chardev socket,id=seabioslog_id_20220208-220246-XYgPA3Ks,path=/tmp/avocado_fju2jpnh/seabios-20220208-220246-XYgPA3Ks,server=on,wait=off \
-device isa-debugcon,chardev=seabioslog_id_20220208-220246-XYgPA3Ks,iobase=0x402 \
-device pcie-root-port,id=pcie-root-port-1,port=0x1,addr=0x1.0x1,bus=pcie.0,chassis=2 \
-device qemu-xhci,id=usb1,bus=pcie-root-port-1,addr=0x0 \
-device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \
-device pcie-root-port,id=pcie-root-port-2,port=0x2,addr=0x1.0x2,bus=pcie.0,chassis=3 \
-device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pcie-root-port-2,addr=0x0 \
-blockdev node-name=file_snA,driver=file,auto-read-only=on,discard=unmap,aio=threads,filename=/home/kvm_autotest_root/images/snA.qcow2,cache.direct=on,cache.no-flush=off \
-blockdev node-name=drive_snA,driver=qcow2,read-only=off,cache.direct=on,cache.no-flush=off,file=file_snA \
-device scsi-hd,id=snA,drive=drive_snA,write-cache=on \
-device pcie-root-port,id=pcie-root-port-3,port=0x3,addr=0x1.0x3,bus=pcie.0,chassis=4 \
-device virtio-net-pci,mac=9a:58:27:a6:c2:c5,id=idIUrp7T,netdev=ids1Vu7l,bus=pcie-root-port-3,addr=0x0 \
-netdev tap,id=ids1Vu7l,vhost=on,vhostfd=25,fd=19 \
-vnc :0 \
-rtc base=utc,clock=host,driftfix=slew \
-boot menu=off,order=cdn,once=c,strict=off \
-enable-kvm \
-device pcie-root-port,id=pcie_extra_root_port_0,multifunction=on,bus=pcie.0,addr=0x3,chassis=5
Results:
Boot up guest successfully.
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass. 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-2022:1759 |