-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.5
-
None
-
guestfs-tools-1.52.2-3.el9_6
-
No
-
Important
-
rhel-sst-virt-tools
-
ssg_virtualization
-
29
-
None
-
False
-
-
None
-
None
-
Approved Exception
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
What were you trying to do that didn't work?
Tested on a SLES 15 SP6 VMware virtual machine which have the package kernel-source-6.4.0-150600.23.38.1.noarch installed.
Migrating this VM to OpenShift Virtualization using MTV is failing with following error while querying the "kernel-source" package:
libguestfs: trace: v2v: command_lines "rpm -ql kernel-source-6.4.0-150600.23.38.1"
commandrvf: rpm -ql kernel-source-6.4.0-150600.23.38.1
guestfsd: error: guestfsd: failelibguestfs: trace: v2v: command_lines = NULL (error)
virt-v2v: error: libguestfs error: command_lines: guestfsd: failed to encode reply body
(maybe the reply exceeds the maximum message size in the protocol?)
I think it is hitting the GUESTFS_MESSAGE_MAX limit. The output of rpm -ql kernel-source-6.4.0-150600.23.38.1 is huge:
192:~ # rpm -ql kernel-source-6.4.0-150600.23.38.1 |wc -c 5177681
Migration works if I remove the kernel-source from the source VM.
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
virt-v2v-2.5.6-7.el9_5.x86_64
How reproducible is this bug?:
100 %
Steps to reproduce
- Create OpenSuse/SLES 15 VM in the vMware.
- Install the Kernel source package in the VM using the command "zypper install kernel-source".
- Try converting this VM. Conversion fails with above error.
Expected results
Migration a SUSE VM that have kernel-source package installed should work .
Actual results
- clones
-
RHEL-80080 Converting a SUSE VM will fail if the kernel-source package is installed in the source VM
-
- Release Pending
-
- depends on
-
RHEL-80159 Add new APIs to allow command output > 4MB
-
- Release Pending
-
- links to
-
RHBA-2024:139671 guestfs-tools bug fix and enhancement update