<div dir="ltr">I am glad its works.<div>btw the vdsm user is exists you can see it in /etc/passwd but it have no shell login so the ssh key generation will be in /var/ (which mean it may not survive reboot).</div><div>the instruction for the ssh are for Xen but the instruction in the section &quot;importing-vm&quot; are working for kvm as well.</div><div><br></div><div> Shahar.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 19, 2017 at 12:56 AM, Konstantin Raskoshnyi <span dir="ltr">&lt;<a href="mailto:konrasko@gmail.com" target="_blank">konrasko@gmail.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">So eventually it worked fine! Thanks</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Apr 18, 2017 at 2:28 AM, Shahar Havivi <span dir="ltr">&lt;<a href="mailto:shavivi@redhat.com" target="_blank">shavivi@redhat.com</a>&gt;</span> wrote:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">https://www.ovirt.org/develop/<wbr>release-management/features/vi<wbr>rt/XenToOvirt/#importing-vm</a><br></div><div>its for importing from Xen hypervisiors but the ssh generation for vdsm user is the same.</div><span class="m_8471661563843192495HOEnZb"><font color="#888888"><div><br></div><div> Shahar.</div></font></span></div><div class="m_8471661563843192495HOEnZb"><div class="m_8471661563843192495h5"><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><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_8471661563843192495m_1845712946629030294m_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/syste<wbr>m</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="m_8471661563843192495m_1845712946629030294h5"><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.vdsbrok<wbr>er.vdsbroker.GetVmsNamesFromEx<wbr>ternalProviderVDSCommand] (default task-20) [69b6998b-e451-4a9b-8112-d57c8<wbr>b9e88ec] Command &#39;GetVmsNamesFromExternalProvid<wbr>erVDSCommand(HostName = tank5, GetVmsFromExternalProviderPara<wbr>meters:{runAsync=&#39;true&#39;, hostId=&#39;aa9ef44e-04e4-4a63-b98<wbr>2-e0ead9a8d497&#39;, url=&#39;<a>qemu+ssh://test@tank4/sys<wbr>tem</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.Get<wbr>VmsFromExternalProviderQuery] (default task-52) [bb2db0e0-d0f8-4619-b6a0-8a7ef<wbr>dd06a6c] Exception: org.ovirt.engine.core.common.e<wbr>rrors.EngineException: EngineException: org.ovirt.engine.core.vdsbroke<wbr>r.vdsbroker.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_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.VdsH<wbr>andler.handleVdsResult(VdsHand<wbr>ler.java:118) [bll.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.VDSB<wbr>rokerFrontendImpl.runVdsComman<wbr>d(VDSBrokerFrontendImpl.java:3<wbr>3) [bll.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.Quer<wbr>iesCommandBase.runVdsCommand(Q<wbr>ueriesCommandBase.java:242) [bll.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.GetV<wbr>msFromExternalProviderQuery.ge<wbr>tVmsFromExternalProvider(GetVm<wbr>sFromExternalProviderQuery.jav<wbr>a:46) [bll.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.GetV<wbr>msFromExternalProviderQuery.ex<wbr>ecuteQueryCommand(GetVmsFromEx<wbr>ternalProviderQuery.java:40) [bll.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.Quer<wbr>iesCommandBase.executeCommand(<wbr>QueriesCommandBase.java:110) [bll.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.dal.VdcC<wbr>ommandBase.execute(VdcCommandB<wbr>ase.java:33) [dal.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.exec<wbr>utor.DefaultBackendQueryExecut<wbr>or.execute(DefaultBackendQuery<wbr>Executor.java:14) [bll.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.Back<wbr>end.runQueryImpl(Backend.java:<wbr>579) [bll.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at org.ovirt.engine.core.bll.Back<wbr>end.runQuery(Backend.java:547) [bll.jar:]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at sun.reflect.GeneratedMethodAcc<wbr>essor80.invoke(Unknown Source) [:1.8.0_121]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at sun.reflect.DelegatingMethodAc<wbr>cessorImpl.invoke(DelegatingMe<wbr>thodAccessorImpl.java:43) [rt.jar:1.8.0_121]</div><div><span class="m_8471661563843192495m_1845712946629030294m_6063664892657910511gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>at java.lang.reflect.Method.invok<wbr>e(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_8471661563843192495m_1845712946629030294m_6063664892657910511HOEnZb"><div class="m_8471661563843192495m_1845712946629030294m_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>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>