
Hi all, resuming the "dead" thread "Importing VM from Xen Server 6.5" (https://lists.ovirt.org/pipermail/users/2016-August/075213.html) I'm trying to import via GUI a VM from Xen Server 7.1 in a host Centos 8.4, oVirt 4.4. Created the SSH key for vdsm user, added the IP in the host target firewall, an ssh connection works, installed netcat on the target host, but like the original thread, when i execute the "load" command for getting the VMS list, I get the following error in the host and in the engine: Aug 27 12:04:43 centos8-4.host vdsm[78126]: ERROR error connecting to hypervisor#012Traceback (most recent call last):#012 File "/usr/lib/python3.6/site-packages/vdsm/v2v.py", line 193, in get_external_vm_names#012 passwd=password)#012 File "/usr/lib/python3.6/site-packages/vdsm/common/libvirtconnection.py", line 107, in open_connection#012 return function.retry(libvirtOpen, timeout=10, sleep=0.2)#012 File "/usr/lib/python3.6/site-packages/vdsm/common/function.py", line 58, in retry#012 return func()#012 File "/usr/lib64/python3.6/site-packages/libvirt.py", line 148, in openAuth#012 raise libvirtError('virConnectOpenAuth() failed')#012libvirt.libvirtError: End of file while reading data: Ncat: No such file or directory.: Input/output error Trying the command virsh -c xen+ssh://root@xen7.target the same error: error: failed to connect to the hypervisor error: End of file while reading data: Ncat: No such file or directory.: Input/output error Any ideas? Thank you for your time and help. Francesco

Hi Francesco, I never was able to achieve this migration in that way. After many hours trying I just given up and used virt-p2v and treated all the VMs from XenServer as physical servers. xen+ssh AFAIK does not work correctly with XAPI (Xen API) which is what XenServer uses. Sent from my iPhone
On 27 Aug 2021, at 08:05, francesco--- via Users <users@ovirt.org> wrote:
Hi all,
resuming the "dead" thread "Importing VM from Xen Server 6.5" (https://lists.ovirt.org/pipermail/users/2016-August/075213.html) I'm trying to import via GUI a VM from Xen Server 7.1 in a host Centos 8.4, oVirt 4.4.
Created the SSH key for vdsm user, added the IP in the host target firewall, an ssh connection works, installed netcat on the target host, but like the original thread, when i execute the "load" command for getting the VMS list, I get the following error in the host and in the engine:
Aug 27 12:04:43 centos8-4.host vdsm[78126]: ERROR error connecting to hypervisor#012Traceback (most recent call last):#012 File "/usr/lib/python3.6/site-packages/vdsm/v2v.py", line 193, in get_external_vm_names#012 passwd=password)#012 File "/usr/lib/python3.6/site-packages/vdsm/common/libvirtconnection.py", line 107, in open_connection#012 return function.retry(libvirtOpen, timeout=10, sleep=0.2)#012 File "/usr/lib/python3.6/site-packages/vdsm/common/function.py", line 58, in retry#012 return func()#012 File "/usr/lib64/python3.6/site-packages/libvirt.py", line 148, in openAuth#012 raise libvirtError('virConnectOpenAuth() failed')#012libvirt.libvirtError: End of file while reading data: Ncat: No such file or directory.: Input/output error
Trying the command virsh -c xen+ssh://root@xen7.target the same error:
error: failed to connect to the hypervisor error: End of file while reading data: Ncat: No such file or directory.: Input/output error
Any ideas?
Thank you for your time and help.
Francesco
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/QR2B62PLDI2XO7...

For me this is one of the scenarios where I'd want to use OVA export and import. Unfortunately a full bidirectional set of tests between oVirt, VMware, Xen Server or VirtualBox isn't within oVirt's release pipeline, so very little seems to work, not even within oVirt instances. I think I did get lucky with an oVirt import from a VMware OVA export once, the reverse already failed. Using the KVM/QEMU conversion tools should yield you COW disk images which you can upload to oVirt and then add to VMs you define as new. With a bit of luck and similar virtual hardware those could perhaps be made bootable. For Windows VMs this seems easier these days than with CentOS. Good luck and please report if you managed, otherwise perhaps redoing the VMs on oVirt (and potentially copying data/filesystems afterwards) may be easier.
participants (3)
-
francesco@shellrent.com
-
Thomas Hoberg
-
Vinícius Ferrão