Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1969286 - virt-v2v can't convert guest with libvirt-7.4.0-1.el9
Summary: virt-v2v can't convert guest with libvirt-7.4.0-1.el9
Keywords:
Status: CLOSED DUPLICATE of bug 1969209
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: virt-v2v
Version: 9.0
Hardware: x86_64
OS: Unspecified
urgent
urgent
Target Milestone: beta
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-08 07:01 UTC by mxie@redhat.com
Modified: 2021-06-08 09:22 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-08 09:22:44 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
virt-v2v-libvirt-7.4.0-1.log (38.60 KB, text/plain)
2021-06-08 07:01 UTC, mxie@redhat.com
no flags Details

Description mxie@redhat.com 2021-06-08 07:01:19 UTC
Created attachment 1789323 [details]
virt-v2v-libvirt-7.4.0-1.log

Description of problem
virt-v2v can't convert guest with libvirt-7.4.0-1.el9 


Version-Release number of selected component (if applicable):
virt-v2v-1.44.0-1.el9.1.x86_64
libguestfs-1.45.6-3.el9.x86_64
libvirt-7.4.0-1.el9.x86_64
qemu-kvm-6.0.0-4.el9.x86_64
nbdkit-1.25.8-2.el9.x86_64
guestfs-tools-1.46.1-3.el9.1.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Convert a guest from VMware by v2v
# virt-v2v -ic vpx://root.198.169/data/10.73.199.217/?no_verify=1 -it vddk -io vddk-libdir=/home/vddk7.0 -io  vddk-thumbprint=B5:52:1F:B4:21:09:45:24:51:32:56:F6:63:6A:93:5D:54:08:2D:78  -o rhv-upload -of qcow2 -oc https://dell-per740-22.lab.eng.pek2.redhat.com/ovirt-engine/api -ip /home/passwd -op /home/rhvpasswd  -os nfs_data -b ovirtmgmt esx7.0-rhel8.3-x86_64 
[   1.0] Opening the source -i libvirt -ic vpx://root.198.169/data/10.73.199.217/?no_verify=1 esx7.0-rhel8.3-x86_64 -it vddk  -io vddk-libdir=/home/vddk7.0 -io vddk-thumbprint=B5:52:1F:B4:21:09:45:24:51:32:56:F6:63:6A:93:5D:54:08:2D:78
[   2.7] Creating an overlay to protect the source from being modified
[   3.5] Opening the overlay
virt-v2v: error: libguestfs error: could not create appliance through 
libvirt.

Try running qemu directly without libvirt using this environment variable:
export LIBGUESTFS_BACKEND=direct

Original error from libvirt: can't connect to virtlogd: Unable to open 
system token /run/libvirt/common/system.token: Permission denied [code=38 
int1=13]

If reporting bugs, run virt-v2v with debugging enabled and include the 
complete output:

  virt-v2v -v -x [...]


Actual results:
As above description

Expected results:
virt-v2v can convert guest successfully

Additional info:
libvirt-7.4.0-1.el9 has removed 'libvirt-daemon-driver-storage-gluster'

# yum update virt-v2v libguestfs libvirt qemu-kvm nbdkit guestfs-tools virtio-win ovmf rpm 
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Last metadata expiration check: 2:32:51 ago on Mon 07 Jun 2021 11:46:55 PM EDT.
No match for argument: ovmf
Error: 
 Problem: problem with installed package libvirt-daemon-driver-storage-gluster-7.3.0-1.el9.x86_64
  - package libvirt-daemon-driver-storage-gluster-7.3.0-1.el9.x86_64 requires libvirt.so.0(LIBVIRT_PRIVATE_7.3.0)(64bit), but none of the providers can be installed
  - package libvirt-daemon-driver-storage-gluster-7.3.0-1.el9.x86_64 requires libvirt-libs = 7.3.0-1.el9, but none of the providers can be installed
  - cannot install both libvirt-libs-7.4.0-1.el9.x86_64 and libvirt-libs-7.3.0-1.el9.x86_64
  - cannot install both libvirt-libs-7.3.0-1.el9.x86_64 and libvirt-libs-7.4.0-1.el9.x86_64
  - package libvirt-7.4.0-1.el9.x86_64 requires libvirt-libs = 7.4.0-1.el9, but none of the providers can be installed
  - cannot install the best update candidate for package libvirt-7.3.0-1.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Comment 1 mxie@redhat.com 2021-06-08 07:05:25 UTC
Just found the bug maybe duplicated with bug1969209

Comment 2 Richard W.M. Jones 2021-06-08 09:22:44 UTC
Original error from libvirt: can't connect to virtlogd: Unable to open 
system token /run/libvirt/common/system.token: Permission denied [code=38 
int1=13]

I agree, it looks like bug 1969209.

*** This bug has been marked as a duplicate of bug 1969209 ***


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