Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-105529

virt-v2v stuck destroying domain

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Undefined Undefined
    • None
    • rhel-9.6
    • libvirt
    • None
    • No
    • None
    • rhel-virt-core-libvirt-1
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      MTV was using LIBGUESTFS_BACKEND=direct when I switched to `LIBGUESTFS_BACKEND=libvirt:qemu:///session` the virt-v2v got stucked destroying the libvirt domain. 

      What is the impact of this issue to you?

      MTV can not switch from LIBGUESTFS_BACKEND=direct

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      build container

      FROM quay.io/centos/centos:stream9
      RUN dnf install virt-v2v -y
      ENV LIBGUESTFS_BACKEND=libvirt:qemu:///session
      ENV HOME=/tmp # workaround for RHEL-105490

      Start container, you can also mount the vddk

      podman run --user 107 -it -v output:/var/tmp/v2v -v /dev/kvm:/dev/kvm  --entrypoint /bin/bash  IMAGE

      In container start the start the needed daemons and create nessasry secretKey

      $ virtqemud & virtlogd & sleep 1 ;
      
      $ virt-v2v -v -x -o kubevirt -os /var/tmp/v2v -i libvirt -ic vpx://administrator%40vsphere.local@10.6.46.250/Datacenter/host/10.6.46.29?no_verify=1 -ip /tmp/secretKey --hostname rhev-orange-03.rdu2.scalelab.redhat.com --root first  -- mtv-rhel8-79-nfs

      Steps to reproduce

      1. Build the contianer
      2. Start the container with proper user 
      3. setup nessasry services and files in the container
      4. Run virt-v2v

      Expected results

      The virt-v2v pass the migration

      Actual results

       

      nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters.
      nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_FreeConnectParams (params)
      nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters.
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
      

       

       

       

        1. virt-v2v.log
          1.05 MB
          Martin Necas

              virt-maint virt-maint
              mnecas@redhat.com Martin Necas
              virt-maint virt-maint
              Ming Xie Ming Xie
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: