Adding Yaniv ...

On Wed, Aug 17, 2016 at 9:16 AM, Arsène Gschwind <arsene.gschwind@unibas.ch> wrote:
Hi,

Thanks a lot this did work on the Foreman side using https://<server>/ovirt-engine/api/v3 .

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.

Thanks for any hint.

Regards,
Arsène


On 08/16/2016 05:01 PM, Juan Hernández wrote:
On 08/16/2016 11:58 AM, Arsène Gschwind wrote:
Hi,

has anybody been able to configure Foreman with oVirt 4 ? When trying to
add Foreman as an external provider and test the login it always return
: Failed to communicate with the external provider, see log for
additional details.

On the Foreman side i get an SSO failed in the log, the user and
password entered are correct.

Running version:

oVirt Engine Version: 4.0.2.6-1.el7.centos
Foreman Version 1.12.1

Please find the log extract attached.
Thanks for any help/hint.

Regards,
Arsène

There are two important differences in version 4 of oVirt

1. The URL is now only /ovirt-engine/api (it used to accept /api and
/ovirt-engine/api).

2. There are two versions of the API now, v3, compatible with oVirt 3,
and v4, new and incompatible. Foreman only supports v3.

So, I'd suggest you try to use "https://.../ovirt-engine/api/v3" in the
URL. Does that work? If it doesn't, can you provide more details? Log files?


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users