Hi,
you can try to exchange the keys shown here:
https://www.ovirt.org/develop/release-management/features/virt/XenToOvirt/

if you want to use tcp without ssh look here:
http://wiki.libvirt.org/page/Libvirt_daemon_is_not_listening_on_tcp_ports_although_configured_to
basically you need to set
     * /etc/libvirtd.conf:
            listen_tls = 1
            listen_tcp = 1
            listen_addr = "0.0.0.0"
     *  /etc/sysconfig/libvirtd:
            LIBVIRTD_ARGS="--listen"
and restart libvirt but the no_verify you did works as well.

On Wed, Jan 4, 2017 at 12:07 AM, Beckman, Daniel <Daniel.Beckman@ingramcontent.com> wrote:

To answer my own question: as is often the case, perusing the commercial (RHV 4.0) documentation proved useful.

 

The documentation is here:

https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/virtual-machine-management-guide/612-exporting-and-importing-virtual-machines-and-templates

 

However, I kept getting the error “Host key verification failed.: Connection reset by peer”. This despite having followed the official documentation on generating and copying keys, under Procedure 6.2.6 Importing a Virtual Machine from KVM.

 

Then I found this article from July 2012 about a different (but similar) scenario:

 

https://access.redhat.com/solutions/136463

 

What helped was the “alternative test” suggestion. Here is the URI I ended up using with success:

 

qemu+ssh://root@MY_KVM_HOST/system?no_verify=1

 

Appending “no_verify=1” did the trick. It’s possible that adding hostnames and IPs to /etc/hosts would have also resolved this, but for something performed infrequently (importing a VM from another environment), modifying the URI is easier.

 

Best,

Daniel

 

From: <users-bounces@ovirt.org> on behalf of "Beckman, Daniel" <Daniel.Beckman@ingramcontent.com>
Date: Tuesday, January 3, 2017 at 9:58 AM
To: "users@ovirt.org" <users@ovirt.org>
Subject: [ovirt-users] Import Virtual Machines From Web Admin GUI

 

Can anyone point me to a step-by-step guide on getting an import (say, from KVM) to work? I gather it involves some sharing of SSH keys but I haven’t seen it explained in detail. Specifically, what user needs to trust what keys on which machines? The hypervisor hosts? The machine running the engine? Also, some examples of URI paths would be much appreciated.

 

Thanks,

Daniel


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users