Bug 1443066 - Unable to encode message payload when creating a guest with 16384 virtio-scsi disks
Summary: Unable to encode message payload when creating a guest with 16384 virtio-scsi...
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: TRACKER-bugs-affecting-libguestfs
TreeView+ depends on / blocked
 
Reported: 2017-04-18 12:10 UTC by Richard W.M. Jones
Modified: 2022-07-29 22:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
log from libvirt client (4.77 MB, text/plain)
2017-04-18 12:12 UTC, Richard W.M. Jones
no flags Details
log from libvirtd (1.17 MB, text/plain)
2017-04-18 12:13 UTC, Richard W.M. Jones
no flags Details

Description Richard W.M. Jones 2017-04-18 12:10:05 UTC
Description of problem:

When creating a guest with 16384 virtio-scsi disks, libvirt
fails with:

  Unable to encode message payload

Version-Release number of selected component (if applicable):

libvirt-daemon-3.2.0-1.fc27.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Create a guest with 16384 virtio-scsi disks.  See the attached
   file for libvirt XML and so on.

Comment 1 Richard W.M. Jones 2017-04-18 12:12:32 UTC
Created attachment 1272310 [details]
log from libvirt client

Comment 2 Richard W.M. Jones 2017-04-18 12:13:36 UTC
Created attachment 1272312 [details]
log from libvirtd

Comment 3 Heinz Mauelshagen 2022-07-28 11:43:45 UTC
As this bz is about payload size restriction in general, it applies to any retrieval!

This for instance prohibits defining a static vm configuration with such large config e.g. for block devices
(i.e . "virsh dumpxml $domain > $domain.xml;virsh config $domain.xml"), hence requiring to reattach them after
the vm got destroyed which can take hours and thus delay related tests.

Please mind that the maximum command line length of typically 2 MiB characters is also a limiting factor preventing qemu to start with scaled up VM configurations.

Changed prority+severity to get this fixed.

Comment 4 Heinz Mauelshagen 2022-07-29 22:08:34 UTC
Also, an unrelated virt-clone fails with the same error:

# virt-clone -o fedora-36 -n fedora-36-hm --preserve-data -f /dev/rhel/fedora-36-hm 
ERROR    Unable to encode message payload


Note You need to log in before you can comment on or make changes to this bug.