RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.