Bug 2181575

Summary: [qemu] snapshot is failing with error libvirt.libvirtError: internal error: QEMU monitor reply exceeds buffer size (10485760 bytes) [rhel-8.8.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: libvirtAssignee: Peter Krempa <pkrempa>
Status: CLOSED ERRATA QA Contact: yisun
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.6CC: aesteve, ahadas, bzlotnik, coli, hhan, jdenemar, jinzhao, jsuchane, juzhang, lmen, michal.skrivanek, mtessun, pkrempa, vgoyal, virt-maint, xuwei, xuzhang, yalzhang, ymankad
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-8.0.0-19.1.module+el8.8.0+18825+159640ec Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2170472 Environment:
Last Closed: 2023-06-27 14:58:12 UTC Type: ---
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: 2170472    
Bug Blocks:    

Comment 4 yisun 2023-06-05 10:37:16 UTC
tested with scripts of bz2170472
tested against libvirt-8.0.0-19.2.module+el8.8.0+18944+7f5acf75.x86_64
Result: PASS


test log:
...

==========
Round_100:
==========

Do domblkinfo to trigger qmp cmd: query-named-block-nodes
Capacity:       1073741824
Allocation:     204800
Physical:       196624

Do snapshot creation
Domain snapshot snap100 created from '/tmp/snap100.xml'
Test PASSED, pls double check if query-named-block-nodes has flat=true in log below:
The query-named-block-nodes called by libvirt as follow:
2023-06-05 10:04:51.857+0000: 333829: info : qemuMonitorSend:868 : QEMU_MONITOR_SEND_MSG: mon=0x7f23f81c55d0 msg={"execute":"query-named-block-nodes","arguments":{"flat":true},"id":"libvirt-1998"}
2023-06-05 10:04:51.857+0000: 333982: info : qemuMonitorIOWrite:354 : QEMU_MONITOR_IO_WRITE: mon=0x7f23f81c55d0 buf={"execute":"query-named-block-nodes","arguments":{"flat":true},"id":"libvirt-1998"}
2023-06-05 10:04:52.943+0000: 333830: info : qemuMonitorSend:868 : QEMU_MONITOR_SEND_MSG: mon=0x7f23f81c55d0 msg={"execute":"query-named-block-nodes","arguments":{"flat":true},"id":"libvirt-2000"}
2023-06-05 10:04:52.943+0000: 333982: info : qemuMonitorIOWrite:354 : QEMU_MONITOR_IO_WRITE: mon=0x7f23f81c55d0 buf={"execute":"query-named-block-nodes","arguments":{"flat":true},"id":"libvirt-2000"}

Comment 8 errata-xmlrpc 2023-06-27 14:58:12 UTC
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 and bug fix 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:3822