--Apple-Mail=_A77E26E3-6654-4C6E-8E88-9AC5B47DF7C9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
On 23 Feb 2017, at 17:43, Gianluca Cecchi
<gianluca.cecchi(a)gmail.com> =
wrote:
=20
On Thu, Feb 23, 2017 at 5:30 PM, Michal Skrivanek =
<michal.skrivanek(a)redhat.com
<mailto:michal.skrivanek@redhat.com>> =
wrote:
=20
=20
>
> =46rom ovmsrv05 I verified I can ssh with public key and without =
password
input to the oracle_vm_host
=20
you need to add/run that as a vdsm user on ovmsrv05. Did you check the =
ssh via
something like "runuser -u vdsm=E2=80=9D?
=20
=20
=20
Ah... ok
I didn't realize that the import process is run by vdsm user on oVirt =
hosts.
Now I setup it for vdsm user but I get this in import window:
=20
Failed to communicate with the external provider, see log for =
additional
details.
=20
And this in webadmin events pane:
=20
Failed to retrieve VMs information from external server =
xen+ssh://root@oracle_vm_server
VDSM ovmsrv05 command GetVmsNamesFromExternalProviderVDS failed: End
=
of file while reading data: : Input/output error
=20
Furher lines in vdsm.log (nothing inside import directory):
=20
2017-02-23 17:35:34,094 ERROR (jsonrpc/2) [root] error connecting to =
hypervisor:
'End of file while reading data: : Input/output error' =
(v2v:183)
2017-02-23 17:35:34,096 INFO (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC
=
call Host.getExternalVMNames failed (error 65) in 10.09 seconds =
(__init__:515)
=20
Does the import phase need a libvirt daemon in target? In this case my =
Oracle VM
is 3.2.9 while probably libvirt (for integrating with =
Openstack) has been introduced only in 3.4.1....
Or any chance to be able to communicate with Oracle VM
Manager=E2=80=A6?=
probably not. We can only talk to libvirt hosts and vCenter
I=E2=80=99m not even sure that it would work if you manage to be able to =
talk to it, we do only support Xen and VMware and generic KVM
=20
Gianluca
=20
--Apple-Mail=_A77E26E3-6654-4C6E-8E88-9AC5B47DF7C9
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 23 Feb 2017, at 17:43, Gianluca Cecchi <<a =
href=3D"mailto:gianluca.cecchi@gmail.com" =
class=3D"">gianluca.cecchi(a)gmail.com</a>&gt;
wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div
dir=3D"ltr" =
class=3D""><div class=3D"gmail_extra"><div
class=3D"gmail_quote">On Thu, =
Feb 23, 2017 at 5:30 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:0px=
0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><span class=3D"gmail-"><br
=
class=3D""><br class=3D"">
><br class=3D"">
> =46rom ovmsrv05 I verified I can ssh with public key and without =
password input to the oracle_vm_host<br class=3D"">
<br class=3D"">
</span>you need to add/run that as a vdsm user on ovmsrv05. Did you =
check the ssh via something like "runuser -u vdsm=E2=80=9D?<br =
class=3D""><br class=3D"">
<br class=3D"">
</blockquote></div><br class=3D""></div><div
class=3D"gmail_extra">Ah... =
ok</div><div class=3D"gmail_extra">I didn't realize that the
import =
process is run by vdsm user on oVirt hosts.</div><div =
class=3D"gmail_extra">Now I setup it for vdsm user but I get this in =
import window:</div><div class=3D"gmail_extra"><br
class=3D""></div><div =
class=3D"gmail_extra">Failed to communicate with the external provider, =
see log for additional details.<br class=3D""></div><div =
class=3D"gmail_extra"><div class=3D"gmail_extra"><br
class=3D""></div><div=
class=3D"gmail_extra">And this in webadmin events pane:</div><div
=
class=3D"gmail_extra"><br class=3D""></div><div =
class=3D"gmail_extra">Failed to retrieve VMs information from external =
server <a href=3D"xen+ssh://root@oracle_vm_server" =
class=3D"">xen+ssh://root@oracle_vm_server</a><br
class=3D""></div><div =
class=3D"gmail_extra">VDSM ovmsrv05 command =
GetVmsNamesFromExternalProviderVDS failed: End of file while reading =
data: : Input/output error</div><div class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra">Furher
lines in vdsm.log =
(nothing inside import directory):</div><div
class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra"><div =
class=3D"gmail_extra">2017-02-23 17:35:34,094 ERROR (jsonrpc/2) [root] =
error connecting to hypervisor: 'End of file while reading data: : =
Input/output error' (v2v:183)</div><div
class=3D"gmail_extra">2017-02-23 =
17:35:34,096 INFO (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call =
Host.getExternalVMNames failed (error 65) in 10.09 seconds =
(__init__:515)</div><div class=3D""><br
class=3D""></div></div><div =
class=3D"gmail_extra">Does the import phase need a libvirt daemon in =
target? In this case my Oracle VM is 3.2.9 while probably libvirt (for =
integrating with Openstack) has been introduced only in =
3.4.1....</div><div class=3D"gmail_extra">Or any chance to be able
to =
communicate with Oracle VM =
Manager=E2=80=A6?</div></div></div></div></blockquote><div><br
=
class=3D""></div>probably not. We can only talk to libvirt hosts and =
vCenter</div><div>I=E2=80=99m not even sure that it would work if you =
manage to be able to talk to it, we do only support Xen and VMware and =
generic KVM</div><div><br class=3D""><blockquote
type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"ltr"
class=3D""><div =
class=3D"gmail_extra"><div class=3D"gmail_extra"><br
class=3D""></div><div=
class=3D"gmail_extra">Gianluca</div></div><div
class=3D"gmail_extra"><br =
class=3D""></div></div>
</div></blockquote></div><br
class=3D""></body></html>=
--Apple-Mail=_A77E26E3-6654-4C6E-8E88-9AC5B47DF7C9--