-
Bug
-
Resolution: Can't Do
-
Undefined
-
None
-
rhel-9.6
-
None
-
No
-
None
-
rhel-virt-core-libvirt-1
-
None
-
False
-
False
-
-
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
- Build the contianer
- Start the container with proper user
- setup nessasry services and files in the container
- 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
- is related to
-
MTV-3035 Switch MTV LIBGUESTFS_BACKEND to libvirt
-
- New
-
- relates to
-
RHEL-105490 libvirt fails to start in a container: could not connect to libvirt (URI = qemu:///session): Cannot create user runtime directory '/.cache/libvirt': Permission denied [code=38 int1=13]
-
- Planning
-