Bug 2181577

Summary: [qemu] snapshot is failing with error libvirt.libvirtError: internal error: QEMU monitor reply exceeds buffer size (10485760 bytes) [rhel-8.6.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: Han Han <hhan>
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, yisun, ymankad
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-8.0.0-5.9.module+el8.6.0+18552+b96c5a91 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2170472 Environment:
Last Closed: 2023-04-18 16:33:27 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:    
Attachments:
Description Flags
The scripts for verification none

Comment 5 Han Han 2023-04-04 08:44:49 UTC
Created attachment 1955668 [details]
The scripts for verification

Test hot-plug, domblkinfo, attach-device for the VM with 199 external snapshots, PASS
version: libvirt-8.0.0-5.9.module+el8.6.0+18552+b96c5a91.x86_64 qemu-kvm-6.2.0-11.module+el8.6.0+14712+f96656d3.x86_64
results:
Domain 'rhel' started

event 'agent-lifecycle' for domain 'rhel': state: 'connected' reason: 'channel event'
events received: 1

Disk attached successfully

Capacity:       104857600
Allocation:     204800
Physical:       196616

Block Copy: [100 %]
Now in mirroring phase
Capacity:       104857600
Allocation:     204800
Physical:       196616

Domain 'rhel' destroyed

In contrast, all these steps will fail on the buggy versions:
Domain 'rhel' started

event 'agent-lifecycle' for domain 'rhel': state: 'connected' reason: 'channel event'
events received: 1

Disk attached successfully

error: internal error: QEMU monitor reply exceeds buffer size (10485760 bytes)

error: internal error: QEMU monitor reply exceeds buffer size (10485760 bytes)

error: internal error: QEMU monitor reply exceeds buffer size (10485760 bytes)

Domain 'rhel' destroyed


See the attachment for the details.

Comment 9 errata-xmlrpc 2023-04-18 16:33:27 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:1833