<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Adding Yaniv ...<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 17, 2016 at 9:16 AM, Arsène Gschwind <span dir="ltr"><<a href="mailto:arsene.gschwind@unibas.ch" target="_blank">arsene.gschwind@unibas.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Thanks a lot this did work on the Foreman side using https://<server>/ovirt-engine/<wbr>api/v3 .<br>
<br>
But on the oVirt Side, to define Foreman as an external provider, it still doesn't work, is there also a special URL to enter? I didn't find anything in the docs.<br>
<br>
Thanks for any hint.<br>
<br>
Regards,<br>
Arsène<br>
<br>
<br>
On 08/16/2016 05:01 PM, Juan Hernández wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 08/16/2016 11:58 AM, Arsène Gschwind wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
has anybody been able to configure Foreman with oVirt 4 ? When trying to<br>
add Foreman as an external provider and test the login it always return<br>
: Failed to communicate with the external provider, see log for<br>
additional details.<br>
<br>
On the Foreman side i get an SSO failed in the log, the user and<br>
password entered are correct.<br>
<br>
Running version:<br>
<br>
oVirt Engine Version: 4.0.2.6-1.el7.centos<br>
Foreman Version 1.12.1<br>
<br>
Please find the log extract attached.<br>
Thanks for any help/hint.<br>
<br>
Regards,<br>
Arsène<br>
<br>
</blockquote>
There are two important differences in version 4 of oVirt<br>
<br>
1. The URL is now only /ovirt-engine/api (it used to accept /api and<br>
/ovirt-engine/api).<br>
<br>
2. There are two versions of the API now, v3, compatible with oVirt 3,<br>
and v4, new and incompatible. Foreman only supports v3.<br>
<br>
So, I'd suggest you try to use "https://.../ovirt-engine/api/<wbr>v3" in the<br>
URL. Does that work? If it doesn't, can you provide more details? Log files?<br>
<br>
</blockquote>
<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>