Bug 1776818
Summary: | Qemu coredump when do snapshot in transaction mode with one snapshot path not exist | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | aihua liang <aliang> | |
Component: | qemu-kvm | Assignee: | Eric Blake <eblake> | |
qemu-kvm sub component: | Block Jobs | QA Contact: | aihua liang <aliang> | |
Status: | CLOSED DUPLICATE | Docs Contact: | ||
Severity: | unspecified | |||
Priority: | high | CC: | coli, jinzhao, juzhang, ngu, qzhang, virt-maint, xutian | |
Version: | 8.2 | |||
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1779036 (view as bug list) | Environment: | ||
Last Closed: | 2019-12-04 22:08:24 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: | 1779036 |
Description
aihua liang
2019-11-26 12:46:37 UTC
Additional info: When disable data-plane, not hit this issue. Test with -blockdev, it works ok. 1.Start guest with qemu cmds: ... -blockdev driver=file,node-name=file_node,filename=/home/kvm_autotest_root/images/rhel820-64-virtio.qcow2 \ -blockdev driver=qcow2,file=file_node,node-name=drive_image1 \ -device pcie-root-port,id=pcie.0-root-port-5,slot=5,chassis=5,addr=0x5,bus=pcie.0 \ -device virtio-blk-pci,id=data1,drive=drive_image1,bus=pcie.0-root-port-5,addr=0x0 \ -blockdev driver=file,node-name=data_node,filename=/home/data.qcow2 \ -blockdev driver=qcow2,file=data_node,node-name=drive_data1 \ -device pcie-root-port,id=pcie.0-root-port-6,slot=6,chassis=6,addr=0x6,bus=pcie.0 \ -device virtio-blk-pci,id=data1,drive=drive_data1,bus=pcie.0-root-port-6,addr=0x0 \ ... 2.Create full backup target sn1. {'execute':'blockdev-create','arguments':{'options': {'driver':'file','filename':'/root/sn1','size':2147483648},'job-id':'job1'}}" {'execute':'blockdev-add','arguments':{'driver':'file','node-name':'drive_sn1','filename':'/root/sn1'}} {'execute':'blockdev-create','arguments':{'options': {'driver': 'qcow2','file':'drive_sn1','size':2147483648},'job-id':'job2'}} {'execute':'blockdev-add','arguments':{'driver':'qcow2','node-name':'sn1','file':'drive_sn1'}} {'execute':'job-dismiss','arguments':{'id':'job1'}} {'execute':'job-dismiss','arguments':{'id':'job2'}} 3.Do full backup on multi disks { "execute": "transaction", "arguments": { "actions": [ {"type": "blockdev-backup", "data": { "device": "drive_data1", "target": "sn1", "sync": "full", "job-id":"j1" } },{"type": "blockdev-backup", "data": { "device": "drive_image1", "target": "sn3", "sync": "full", "job-id":"j2"}}]}} {"timestamp": {"seconds": 1575438781, "microseconds": 160254}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "j1"}} {"timestamp": {"seconds": 1575438781, "microseconds": 160297}, "event": "JOB_STATUS_CHANGE", "data": {"status": "aborting", "id": "j1"}} {"timestamp": {"seconds": 1575438781, "microseconds": 160323}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "j1"}} {"timestamp": {"seconds": 1575438781, "microseconds": 160346}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "j1"}} {"error": {"class": "GenericError", "desc": "Cannot find device=sn3 nor node_name=sn3"}} |