• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.6
    • rhel-9.5
    • guestfs-tools
    • None
    • guestfs-tools-1.52.2-3.el9_6
    • No
    • Important
    • rhel-sst-virt-tools
    • ssg_virtualization
    • 29
    • None
    • False
    • Hide

      None

      Show
      None
    • 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

      1. Create OpenSuse/SLES 15 VM in the vMware.
      2.  Install the Kernel source package in the VM using the command "zypper install kernel-source".
      3.  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

              rhn-eng-rjones Richard Jones
              rhn-support-nashok Nijin Ashok
              virt-maint virt-maint
              Xiang Hua Chen Xiang Hua Chen
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: