OLVM: virt-v2v Failed with error: could not connect to libvirt (URI = qemu:///system): authentication failed
(Doc ID 2862296.1)
Last updated on SEPTEMBER 12, 2023
Applies to:
Linux OS - Version Oracle Linux 7.9 with Unbreakable Enterprise Kernel [5.4.17] and laterLinux x86-64
Symptoms
Following How to Migrate Oracle VM to Oracle Linux KVM, virt-v2v fails with below error:
# virt-v2v -i libvirtxml migrationTest.xml -o ovirt-upload -oc https://<IP>/ovirt-engine/api -os Datastores -op /tmp/ovirt-admin-password -of raw -oo rhv-cluster=OLVMCLUSTER -oo rhv-cafile=/path/to/ca.pem -oa preallocated
Exception AttributeError: "'module' object has no attribute 'dump_plugin'" in <module 'threading' from '/usr/lib64/python2.7/threading.pyc'> ignored
[ 0.3] Opening the source -i libvirtxml migrationTest.xml
[ 0.3] Creating an overlay to protect the source from being modified
[ 0.3] Opening the overlay
libvirt needs authentication to connect to libvirt URI qemu:///system (see also: http://libvirt.org/auth.html http://libvirt.org/uri.html)
Please enter your authentication name: root
Please enter your password:
libvirt: XML-RPC error : authentication failed: authentication failed virt-v2v: error: libguestfs error: could not connect to libvirt (URI = qemu:///system): authentication failed: authentication failed [code=45 int1=-1]
If reporting bugs, run virt-v2v with debugging enabled and include the
complete output:
virt-v2v -v -x [...]
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |