I don't have that user at all.
The old hosts have only libvirtd installed and running kvm hosts
Also instruction is for XEN, we don't run XEN VMs
So it
On Tue, Apr 18, 2017 at 2:20 AM, Michal Skrivanek <
michal.skrivanek(a)redhat.com> wrote:
On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi <konrasko(a)gmail.com>
wrote:
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 “vdsm” user? You need to exchange keys for “vdsm”
(note it has disabled login, so you need to use "runuser" or something)
Thanks,
michal
Here's the error,
2017-04-18 07:24:06,152Z ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.
GetVmsNamesFromExternalProviderVDSCommand] (default task-20)
[69b6998b-e451-4a9b-8112-d57c8b9e88ec] Command '
GetVmsNamesFromExternalProviderVDSCommand(HostName = tank5,
GetVmsFromExternalProviderParameters:{runAsync='true',
hostId='aa9ef44e-04e4-4a63-b982-e0ead9a8d497', url='qemu+ssh://test@tank4/
system', username='test', originType='KVM',
namesOfVms='null'})'
execution failed: VDSGenericException: VDSErrorException: Failed to
GetVmsNamesFromExternalProviderVDS, error = Cannot recv data: Host key
verification failed.: Connection reset by peer, code = 65
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 = Cannot recv data: Host key
verification failed.: Connection reset by peer, code = 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(VDSBrokerFrontendImpl.java:33)
[bll.jar:]
at
org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:242)
[bll.jar:]
at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuer
y.getVmsFromExternalProvider(GetVmsFromExternalProviderQuery.java:46)
[bll.jar:]
at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuer
y.executeQueryCommand(GetVmsFromExternalProviderQuery.java:40) [bll.jar:]
at
org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.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(
DefaultBackendQueryExecutor.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(
DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi <shavivi(a)redhat.com>
wrote:
> Hi,
> There is a wiki page for importing VMs from other hypervisors here:
>
https://www.ovirt.org/develop/release-management/features/vi
> rt/virt-v2v-integration/
>
> 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
>
> On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek <
> michal.skrivanek(a)redhat.com> wrote:
>
>>
>> > On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi <konrasko(a)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?
>>
>> you can try GUI Import VM via libvirt, unless you use some exotic
>> options/storage it should work just fine
>>
>> >
>> > Second options I see - import disks to oVirts and re-create machines
>>
>> that’s possible as well, disk by disk.
>>
>> Thanks,
>> michal
>>
>> >
>> > Thanks for the help.
>> > _______________________________________________
>> > Users mailing list
>> > Users(a)ovirt.org
>> >
http://lists.ovirt.org/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org
>>
http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
On Tue, Apr 18, 2017 at 2:28 AM, Shahar Havivi <shavivi(a)redhat.com> wrote:
for more info about setting the vdsm user you can see this section:
https://www.ovirt.org/develop/release-management/features/
virt/XenToOvirt/#importing-vm
its for importing from Xen hypervisiors but the ssh generation for vdsm
user is the same.
Shahar.
On Tue, Apr 18, 2017 at 12:20 PM, Michal Skrivanek <
michal.skrivanek(a)redhat.com> wrote:
>
> On 18 Apr 2017, at 09:25, Konstantin Raskoshnyi <konrasko(a)gmail.com>
> wrote:
>
> 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 “vdsm” user? You need to exchange keys for “vdsm”
> (note it has disabled login, so you need to use "runuser" or something)
>
> Thanks,
> michal
>
>
> Here's the error,
>
> 2017-04-18 07:24:06,152Z ERROR [org.ovirt.engine.core.vdsbrok
> er.vdsbroker.GetVmsNamesFromExternalProviderVDSCommand] (default
> task-20) [69b6998b-e451-4a9b-8112-d57c8b9e88ec] Command
> 'GetVmsNamesFromExternalProviderVDSCommand(HostName = tank5,
> GetVmsFromExternalProviderParameters:{runAsync='true',
> hostId='aa9ef44e-04e4-4a63-b982-e0ead9a8d497', url='
> qemu+ssh://test@tank4/system', username='test',
originType='KVM',
> namesOfVms='null'})' execution failed: VDSGenericException:
> VDSErrorException: Failed to GetVmsNamesFromExternalProviderVDS, error =
> Cannot recv data: Host key verification failed.: Connection reset by peer,
> code = 65
>
> 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 = Cannot recv data: Host key
> verification failed.: Connection reset by peer, code = 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.runVdsComman
> d(VDSBrokerFrontendImpl.java:33) [bll.jar:]
> at
org.ovirt.engine.core.bll.QueriesCommandBase.runVdsCommand(QueriesCommandBase.java:242)
> [bll.jar:]
> at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.
> getVmsFromExternalProvider(GetVmsFromExternalProviderQuery.java:46)
> [bll.jar:]
> at org.ovirt.engine.core.bll.GetVmsFromExternalProviderQuery.
> executeQueryCommand(GetVmsFromExternalProviderQuery.java:40) [bll.jar:]
> at
org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:110)
> [bll.jar:]
> at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33)
> [dal.jar:]
> at org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecut
> or.execute(DefaultBackendQueryExecutor.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(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.8.0_121]
> at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
>
> On Mon, Apr 17, 2017 at 11:12 PM, Shahar Havivi <shavivi(a)redhat.com>
> wrote:
>
>> Hi,
>> There is a wiki page for importing VMs from other hypervisors here:
>>
https://www.ovirt.org/develop/release-management/features/vi
>> rt/virt-v2v-integration/
>>
>> 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
>>
>> On Fri, Apr 14, 2017 at 9:05 PM, Michal Skrivanek <
>> michal.skrivanek(a)redhat.com> wrote:
>>
>>>
>>> > On 14 Apr 2017, at 19:48, Konstantin Raskoshnyi
<konrasko(a)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?
>>>
>>> you can try GUI Import VM via libvirt, unless you use some exotic
>>> options/storage it should work just fine
>>>
>>> >
>>> > Second options I see - import disks to oVirts and re-create machines
>>>
>>> that’s possible as well, disk by disk.
>>>
>>> Thanks,
>>> michal
>>>
>>> >
>>> > Thanks for the help.
>>> > _______________________________________________
>>> > Users mailing list
>>> > Users(a)ovirt.org
>>> >
http://lists.ovirt.org/mailman/listinfo/users
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>>
>
>