virt-v2v is failing on importing VMware to Ovirt 4.5
Spatanaik opened this issue · 2 comments
Affected version
Ovirt-engine: 4.5
kvm host :centos 8 stream
vdsm: vdsm-4.50.5.1-1.el8.x86_64
virt-v2v: virt-v2v-1.42.0-22.module_el8+310+72016cce.x86_64
libguestfs : libguestfs-1.44.0-9.module_el8+310+72016cce.x86_64
IMPORTANT!: oVirt prior to 4.5 reached end of life.
Describe the bug
i am trying to import a VM from vmware to ovirt4.5
I have installed virtio drivers in guest vm depoyed in vmware.
I also followed the vcenter workaround mentioned in : https://bugzilla.redhat.com/show_bug.cgi?id=1848862
Allowed maximum http sessions in vcenter conf file.
To reproduce
virt-v2v -v -x -ic 'esx://root@esxihost.com?no_verify=1' -o rhev -os kvm_01:/gluster_storage --network ovirtmgt testvm
virt-v2v: virt-v2v 1.42.0rhel=8,release=22.module_el8+310+72016cce (x86_64)
libvirt version: 8.0.0
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "libvirt"
[ 0.0] Opening the source -i libvirt -ic esx://root@esxhost.com?no_verify=1 testvm
input_libvirt_vcenter_https: source: server esxhost.com
2024-01-02 20:00:22.980+0000: 33342: info : libvirt version: 8.0.0, package: 22.module_el8+596+27e96798 (builder@centos.org, 2023-07-31-14:36:36, )
2024-01-02 20:00:22.980+0000: 33342: info : hostname: kvm_01.domain.com
2024-01-02 20:00:22.980+0000: 33342: warning : esxConnectOpen:806 : Ignoring unexpected path '' for non-vpx scheme 'esx'
Enter root's password for esxhost.com:
libvirt xml is:
testvm
4206c6b5-e243-766f-8bb8-fe9bc90311c1
8307dde5-6f1c-42a2-bd3a-75351570ad6e
Test VM for LAB
4194304
4194304
2
2000
hvm
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
virt-v2v: error: vcenter: URL not found:
Don't see what it has to do with oVirt really :)
I am managing KVM (centos8-stream flavour) in Ovirt ( management platform- equivalent to vCenter in VMware world)
I ran virt-v2v on KVM hypervisor to import a VM from Vmware vCenter to KVM. I encountered this error.