<div dir="ltr">for more info about setting the vdsm user you can see this section:<div><a href="https://www.ovirt.org/develop/release-management/features/virt/XenToOvirt/#importing-vm">https://www.ovirt.org/develop/release-management/features/virt/XenToOvirt/#importing-vm</a><br></div><div>its for importing from Xen hypervisiors but the ssh generation for vdsm user is the same.</div><div><br></div><div> Shahar.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 12:20 PM, Michal Skrivanek <span dir="ltr">&lt;<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi &lt;<a href="mailto:konrasko@gmail.com" target="_blank">konrasko@gmail.com</a>&gt; wrote:</div><br class="m_6063664892657910511Apple-interchange-newline"><div><div dir="ltr">Hi Shahar,<div>That&#39;s for the info,</div><div>I&#39;m getting this errors when trying to do with ssh method, even though I can run virsh -c <a>qemu+ssh://user@tank4/<wbr>system</a> list without any problems</div></div></div></blockquote><div><br></div></span>can you run that as a “vdsm” user? You need to exchange keys for “vdsm” (note it has disabled login, so you need to use &quot;runuser&quot; or something)</div><div><br></div><div>Thanks,</div><div>michal</div><div><div class="h5"><div><br><blockquote type="cite"><div><div dir="ltr"><div><br></div><div>Here&#39;s the error,</div><div><br></div><div>2017-04-18 07:24:06,152Z ERROR [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>GetVmsNamesFromExternalProvide<wbr>rVDSCommand] (default task-20) [69b6998b-e451-4a9b-8112-<wbr>d57c8b9e88ec] Command &#39;<wbr>GetVmsNamesFromExternalProvide<wbr>rVDSCommand(HostName = tank5, GetVmsFromExternalProviderPara<wbr>meters:{runAsync=&#39;true&#39;, hostId=&#39;aa9ef44e-04e4-4a63-<wbr>b982-e0ead9a8d497&#39;, url=&#39;<a>qemu+ssh://test@tank4/<wbr>system</a>&#39;, username=&#39;test&#39;, originType=&#39;KVM&#39;, namesOfVms=&#39;null&#39;})&#39; execution failed: VDSGenericException: VDSErrorException: Failed to GetVmsNamesFromExternalProvide<wbr>rVDS, error = Cannot recv data: Host key verification failed.: Connection reset by peer, code = 65<br></div><div><br></div><div><div>2017-04-18 07:18:05,381Z ERROR [org.ovirt.engine.core.bll.<wbr>GetVmsFromExternalProviderQuer<wbr>y] (default task-52) [bb2db0e0-d0f8-4619-b6a0-<wbr>8a7efdd06a6c] Exception: org.ovirt.engine.core.common.<wbr>errors.EngineException: EngineException: org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>VDSErrorException: VDSGenericException: VDSErrorException: Failed to GetVmsNamesFromExternalProvide<wbr>rVDS, error = Cannot recv data: Host key verification failed.: Connection reset by peer, code = 65 (Failed with error unexpected and code 16)</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.<wbr>VdsHandler.handleVdsResult(<wbr>VdsHandler.java:118) [bll.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.<wbr>VDSBrokerFrontendImpl.<wbr>runVdsCommand(<wbr>VDSBrokerFrontendImpl.java:33) [bll.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.<wbr>QueriesCommandBase.<wbr>runVdsCommand(<wbr>QueriesCommandBase.java:242) [bll.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.<wbr>GetVmsFromExternalProviderQuer<wbr>y.getVmsFromExternalProvider(<wbr>GetVmsFromExternalProviderQuer<wbr>y.java:46) [bll.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.<wbr>GetVmsFromExternalProviderQuer<wbr>y.executeQueryCommand(<wbr>GetVmsFromExternalProviderQuer<wbr>y.java:40) [bll.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.<wbr>QueriesCommandBase.<wbr>executeCommand(<wbr>QueriesCommandBase.java:110) [bll.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.dal.<wbr>VdcCommandBase.execute(<wbr>VdcCommandBase.java:33) [dal.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.<wbr>executor.<wbr>DefaultBackendQueryExecutor.<wbr>execute(<wbr>DefaultBackendQueryExecutor.<wbr>java:14) [bll.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.<wbr>Backend.runQueryImpl(Backend.<wbr>java:579) [bll.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.<wbr>Backend.runQuery(Backend.java:<wbr>547) [bll.jar:]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at sun.reflect.<wbr>GeneratedMethodAccessor80.<wbr>invoke(Unknown Source) [:1.8.0_121]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) [rt.jar:1.8.0_121]</div><div><span class="m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at java.lang.reflect.Method.<wbr>invoke(Method.java:498) [rt.jar:1.8.0_121]</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi <span dir="ltr">&lt;<a href="mailto:shavivi@redhat.com" target="_blank">shavivi@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>There is a wiki page for importing VMs from other hypervisors here:</div><div><a href="https://www.ovirt.org/develop/release-management/features/virt/virt-v2v-integration/" target="_blank">https://www.ovirt.org/develop/<wbr>release-management/features/vi<wbr>rt/virt-v2v-integration/</a><br></div><div><br></div><div>and specific for KVM from Libvirt the wiki page is in progress but you can read about it here:</div><div><a href="https://github.com/oVirt/ovirt-site/pull/876/files" target="_blank">https://github.com/oVirt/ovirt<wbr>-site/pull/876/files</a><br></div></div><div class="m_6063664892657910511HOEnZb"><div class="m_6063664892657910511h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek <span dir="ltr">&lt;<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
&gt; On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi &lt;<a href="mailto:konrasko@gmail.com" target="_blank">konrasko@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi guys, I just installed oVirt 4.1 - works great!<br>
&gt;<br>
&gt; But the questing is, we have around 50 existing  kvm hosts, is it really possible during adding them to oVirt add all VMs from them to oVirt?<br>
<br>
</span>you can try GUI Import VM via libvirt, unless you use some exotic options/storage it should work just fine<br>
<span><br>
&gt;<br>
&gt; Second options I see - import disks to oVirts and re-create machines<br>
<br>
</span>that’s possible as well, disk by disk.<br>
<br>
Thanks,<br>
michal<br>
<br>
&gt;<br>
&gt; Thanks for the help.<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>
</div></blockquote></div><br></div></div></div></blockquote></div><br></div>