--Apple-Mail=_5B48C304-070D-46DE-A222-CB1B0E2DAE6D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi
<konrasko(a)gmail.com> =
wrote:
=20
Hi Shahar,
That's for the info,
I'm getting this errors when trying to do with ssh method, even though =
I can
run virsh -c qemu+ssh://user@tank4/system list without any =
problems
can you run that as a =E2=80=9Cvdsm=E2=80=9D user? You need to exchange =
keys for =E2=80=9Cvdsm=E2=80=9D (note it has disabled login, so you need =
to use "runuser" or something)
Thanks,
michal
=20
Here's the error,
=20
2017-04-18 07:24:06,152Z ERROR =
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProvider=
VDSCommand] (default task-20) [69b6998b-e451-4a9b-8112-d57c8b9e88ec] =
Command 'GetVmsNamesFromExternalProviderVDSCommand(HostName =3D tank5, =
GetVmsFromExternalProviderParameters:{runAsync=3D'true', =
hostId=3D'aa9ef44e-04e4-4a63-b982-e0ead9a8d497', =
url=3D'qemu+ssh://test@tank4/system', username=3D'test', =
originType=3D'KVM', namesOfVms=3D'null'})' execution failed: =
VDSGenericException: VDSErrorException: Failed to =
GetVmsNamesFromExternalProviderVDS, error =3D Cannot recv data: Host key =
verification failed.: Connection reset by peer, code =3D 65
=20
2017-04-18 07:18:05,381Z ERROR =
[org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery] (default =
task-52) [bb2db0e0-d0f8-4619-b6a0-8a7efdd06a6c] Exception: =
org.ovirt.engine.core.common.errors.EngineException: EngineException: =
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: =
VDSGenericException: VDSErrorException: Failed to =
GetVmsNamesFromExternalProviderVDS, error =3D Cannot recv data: Host key =
verification failed.: Connection reset by peer, code =3D 65 (Failed with =
error unexpected and code 16)
at =
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:118) =
[bll.jar:]
at =
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFro=
ntendImpl.java:33) [bll.jar:]
at =
org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandB=
ase.java:242) [bll.jar:]
at =
org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.getVmsFromExtern=
alProvider(GetVmsFromExternalProviderQuery.java:46) [bll.jar:]
at =
org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.executeQueryComm=
and(GetVmsFromExternalProviderQuery.java:40) [bll.jar:]
at =
org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommand=
Base.java:110) [bll.jar:]
at =
org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33) =
[dal.jar:]
at =
org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecutor.execute(Def=
aultBackendQueryExecutor.java:14) [bll.jar:]
at =
org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:579) =
[bll.jar:]
at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:547) =
[bll.jar:]
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) =
[:1.8.0_121]
at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm=
pl.java:43) [rt.jar:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) =
[rt.jar:1.8.0_121]
=20
On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi <shavivi(a)redhat.com =
<mailto:shavivi@redhat.com>> wrote:
Hi,
There is a wiki page for importing VMs from other hypervisors here:
=
https://www.ovirt.org/develop/release-management/features/virt/virt-v2v-in=
tegration/ =
<
https://www.ovirt.org/develop/release-management/features/virt/virt-v2v-i=
ntegration/>
=20
and specific for KVM from Libvirt the wiki page is in progress but you =
can read
about it here:
<
https://github.com/oVirt/ovirt-site/pull/876/files>
=20
On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek =
<michal.skrivanek(a)redhat.com
<mailto:michal.skrivanek@redhat.com>> =
wrote:
=20
> On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi <konrasko(a)gmail.com =
<mailto:konrasko@gmail.com>> wrote:
>
> Hi guys, I just installed oVirt 4.1 - works great!
>
> 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?
=20
you can try GUI Import VM via libvirt, unless you use some exotic =
options/storage
it should work just fine
=20
>
> Second options I see - import disks to oVirts and re-create machines
=20
that=E2=80=99s possible as well, disk by disk.
=20
Thanks,
michal
=20
>
> Thanks for the help.
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org <mailto:Users@ovirt.org>
>
http://lists.ovirt.org/mailman/listinfo/users =
<
http://lists.ovirt.org/mailman/listinfo/users>
=20
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users =
<
http://lists.ovirt.org/mailman/listinfo/users>
=20
=20
--Apple-Mail=_5B48C304-070D-46DE-A222-CB1B0E2DAE6D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote
type=3D"cite" class=3D""><div =
class=3D"">On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi <<a =
href=3D"mailto:konrasko@gmail.com"
class=3D"">konrasko(a)gmail.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div
class=3D""><div =
dir=3D"ltr" class=3D"">Hi Shahar,<div
class=3D"">That's for the =
info,</div><div class=3D"">I'm getting this errors when trying
to do =
with ssh method, even though I can run virsh -c <a =
href=3D"qemu+ssh://user@tank4/system" =
class=3D"">qemu+ssh://user@tank4/system</a> list without any =
problems</div></div></div></blockquote><div><br
class=3D""></div>can you =
run that as a =E2=80=9Cvdsm=E2=80=9D user? You need to exchange keys for =
=E2=80=9Cvdsm=E2=80=9D (note it has disabled login, so you need to use =
"runuser" or something)</div><div><br =
class=3D""></div><div>Thanks,</div><div>michal</div><div><br
=
class=3D""><blockquote type=3D"cite"
class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D""><br
class=3D""></div><div =
class=3D"">Here's the error,</div><div
class=3D""><br =
class=3D""></div><div class=3D"">2017-04-18
07:24:06,152Z ERROR =
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetVmsNamesFromExternalProvider=
VDSCommand] (default task-20) [69b6998b-e451-4a9b-8112-d57c8b9e88ec] =
Command 'GetVmsNamesFromExternalProviderVDSCommand(HostName =3D tank5, =
GetVmsFromExternalProviderParameters:{runAsync=3D'true', =
hostId=3D'aa9ef44e-04e4-4a63-b982-e0ead9a8d497', url=3D'<a =
href=3D"qemu+ssh://test@tank4/system" =
class=3D"">qemu+ssh://test@tank4/system</a>',
username=3D'test', =
originType=3D'KVM', namesOfVms=3D'null'})' execution failed: =
VDSGenericException: VDSErrorException: Failed to =
GetVmsNamesFromExternalProviderVDS, error =3D Cannot recv data: Host key =
verification failed.: Connection reset by peer, code =3D 65<br =
class=3D""></div><div class=3D""><br
class=3D""></div><div class=3D""><div=
class=3D"">2017-04-18 07:18:05,381Z ERROR =
[org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery] (default =
task-52) [bb2db0e0-d0f8-4619-b6a0-8a7efdd06a6c] Exception: =
org.ovirt.engine.core.common.errors.EngineException: EngineException: =
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: =
VDSGenericException: VDSErrorException: Failed to =
GetVmsNamesFromExternalProviderVDS, error =3D Cannot recv data: Host key =
verification failed.: Connection reset by peer, code =3D 65 (Failed with =
error unexpected and code 16)</div><div class=3D""><span =
class=3D"gmail-Apple-tab-span" style=3D"white-space:pre"> =
</span>at =
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:118) =
[bll.jar:]</div><div class=3D""><span
class=3D"gmail-Apple-tab-span" =
style=3D"white-space:pre"> </span>at =
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFro=
ntendImpl.java:33) [bll.jar:]</div><div class=3D""><span =
class=3D"gmail-Apple-tab-span" style=3D"white-space:pre"> =
</span>at =
org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandB=
ase.java:242) [bll.jar:]</div><div class=3D""><span =
class=3D"gmail-Apple-tab-span" style=3D"white-space:pre"> =
</span>at =
org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.getVmsFromExtern=
alProvider(GetVmsFromExternalProviderQuery.java:46) [bll.jar:]</div><div =
class=3D""><span class=3D"gmail-Apple-tab-span"
style=3D"white-space:pre">=
</span>at =
org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.executeQueryComm=
and(GetVmsFromExternalProviderQuery.java:40) [bll.jar:]</div><div =
class=3D""><span class=3D"gmail-Apple-tab-span"
style=3D"white-space:pre">=
</span>at =
org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommand=
Base.java:110) [bll.jar:]</div><div class=3D""><span =
class=3D"gmail-Apple-tab-span" style=3D"white-space:pre"> =
</span>at =
org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33) =
[dal.jar:]</div><div class=3D""><span
class=3D"gmail-Apple-tab-span" =
style=3D"white-space:pre"> </span>at =
org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecutor.execute(Def=
aultBackendQueryExecutor.java:14) [bll.jar:]</div><div
class=3D""><span =
class=3D"gmail-Apple-tab-span" style=3D"white-space:pre"> =
</span>at =
org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:579) =
[bll.jar:]</div><div class=3D""><span
class=3D"gmail-Apple-tab-span" =
style=3D"white-space:pre"> </span>at =
org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:547) =
[bll.jar:]</div><div class=3D""><span
class=3D"gmail-Apple-tab-span" =
style=3D"white-space:pre"> </span>at =
sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) =
[:1.8.0_121]</div><div class=3D""><span
class=3D"gmail-Apple-tab-span" =
style=3D"white-space:pre"> </span>at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm=
pl.java:43) [rt.jar:1.8.0_121]</div><div class=3D""><span =
class=3D"gmail-Apple-tab-span" style=3D"white-space:pre"> =
</span>at java.lang.reflect.Method.invoke(Method.java:498) =
[rt.jar:1.8.0_121]</div></div><div
class=3D"gmail_extra"><br =
class=3D""><div class=3D"gmail_quote">On Mon, Apr 17, 2017 at
11:12 PM, =
Shahar Havivi <span dir=3D"ltr" class=3D""><<a =
href=3D"mailto:shavivi@redhat.com" target=3D"_blank" =
class=3D"">shavivi(a)redhat.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote"
style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" =
class=3D"">Hi,<div class=3D"">There is a wiki page for
importing VMs =
from other hypervisors here:</div><div class=3D""><a =
href=3D"https://www.ovirt.org/develop/release-management/features/vi...
t-v2v-integration/" target=3D"_blank" =
class=3D"">https://www.ovirt.org/develop/<wbr =
class=3D"">release-management/features/<wbr =
class=3D"">virt/virt-v2v-integration/</a><br
class=3D""></div><div =
class=3D""><br class=3D""></div><div
class=3D"">and specific for KVM =
from Libvirt the wiki page is in progress but you can read about it =
here:</div><div class=3D""><a =
href=3D"https://github.com/oVirt/ovirt-site/pull/876/files" =
target=3D"_blank"
class=3D"">https://github.com/oVirt/<wbr =
class=3D"">ovirt-site/pull/876/files</a><br
class=3D""></div></div><div =
class=3D"HOEnZb"><div class=3D"h5"><div
class=3D"gmail_extra"><br =
class=3D""><div class=3D"gmail_quote">On Fri, Apr 14, 2017 at
9:05 PM, =
Michal Skrivanek <span dir=3D"ltr" class=3D""><<a =
href=3D"mailto:michal.skrivanek@redhat.com" target=3D"_blank" =
class=3D"">michal.skrivanek(a)redhat.com</a>&gt;</span>
wrote:<br =
class=3D""><blockquote class=3D"gmail_quote"
style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class=3D""><br =
class=3D"">
> On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi <<a =
href=3D"mailto:konrasko@gmail.com" target=3D"_blank" =
class=3D"">konrasko(a)gmail.com</a>&gt; wrote:<br
class=3D"">
><br class=3D"">
> Hi guys, I just installed oVirt 4.1 - works great!<br
class=3D"">
><br class=3D"">
> 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 class=3D"">
<br class=3D"">
</span>you can try GUI Import VM via libvirt, unless you use some exotic =
options/storage it should work just fine<br class=3D"">
<span class=3D""><br class=3D"">
><br class=3D"">
> Second options I see - import disks to oVirts and re-create =
machines<br class=3D"">
<br class=3D"">
</span>that=E2=80=99s possible as well, disk by disk.<br
class=3D"">
<br class=3D"">
Thanks,<br class=3D"">
michal<br class=3D"">
<br class=3D"">
><br class=3D"">
> Thanks for the help.<br class=3D"">
> ______________________________<wbr
class=3D"">_________________<br =
class=3D"">
> Users mailing list<br class=3D"">
> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank" =
class=3D"">Users(a)ovirt.org</a><br class=3D"">
> <a
href=3D"http://lists.ovirt.org/mailman/listinfo/users" =
rel=3D"noreferrer" target=3D"_blank" =
class=3D"">http://lists.ovirt.org/mailman<wbr =
class=3D"">/listinfo/users</a><br class=3D"">
<br class=3D"">
______________________________<wbr class=3D"">_________________<br =
class=3D"">
Users mailing list<br class=3D"">
<a href=3D"mailto:Users@ovirt.org" target=3D"_blank" =
class=3D"">Users(a)ovirt.org</a><br class=3D"">
<a
href=3D"http://lists.ovirt.org/mailman/listinfo/users" =
rel=3D"noreferrer" target=3D"_blank" =
class=3D"">http://lists.ovirt.org/mailman<wbr =
class=3D"">/listinfo/users</a><br class=3D"">
</blockquote></div><br class=3D""></div>
</div></div></blockquote></div><br
class=3D""></div></div>
</div></blockquote></div><br
class=3D""></body></html>=
--Apple-Mail=_5B48C304-070D-46DE-A222-CB1B0E2DAE6D--