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


2016-08-16 11:49:16 [app] [I] Started GET "/api/v2" for 10.0.10.10 at 2016-08-16 11:49:16 +0200
2016-08-16 11:49:16 [app] [I] Processing by Api::V2::HomeController#index as JSON
2016-08-16 11:49:16 [app] [I]   Parameters: {"apiv"=>"v2", "home"=>{}}
2016-08-16 11:49:16 [app] [W] SSO failed
2016-08-16 11:49:16 [app] [I]   Rendered api/v2/errors/unauthorized.json.rabl within api/v2/layouts/error_layout (0.7ms)
2016-08-16 11:49:16 [app] [I] Filter chain halted as :authorize rendered or redirected
2016-08-16 11:49:16 [app] [I] Completed 401 Unauthorized in 7ms (Views: 1.7ms | ActiveRecord: 0.4ms)


2016-08-16 11:49:16,555 INFO  [org.ovirt.engine.core.bll.provider.ImportProviderCertificateCommand] (default task-54) [6ebc2789] Running command: ImportProviderCertificateCommand internal: false. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_STORAGE_POOL with role type ADMIN
2016-08-16 11:49:16,561 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-54) [6ebc2789] Correlation ID: 6ebc2789, Call Stack: null, Custom Event ID: -1, Message: Certificate for provider spfy-dep was imported. (User: admin@internal-authz)
2016-08-16 11:49:16,623 INFO  [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default task-55) [5957d23b] Running command: TestProviderConnectivityCommand internal: false. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_STORAGE_POOL with role type ADMIN
2016-08-16 11:49:16,892 ERROR [org.ovirt.engine.core.bll.host.provider.foreman.ForemanHostProviderProxy] (default task-55) [5957d23b] Exception is Server returned HTTP response code: 401 for URL: https://spfy-dep.host.sapify.ch:443/api/v2 
2016-08-16 11:49:16,894 ERROR [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default task-55) [5957d23b] Command 'org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand' failed: EngineException: Server returned HTTP response code: 401 for URL: https://spfy-dep.host.sapify.ch:443/api/v2 (Failed with error PROVIDER_FAILURE and code 5050)
2016-08-16 11:49:17,933 INFO  [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] (DefaultQuartzScheduler3) [54983ac1] START, GlusterTasksListVDSCommand(HostName = spfy-hw02, VdsIdVDSCommandParametersBase:{runAsync='true', hostId='d36d9aff-a953-466b-bdf7-70ba4f63e180'}), log id: 2f34cd01
2016-08-16 11:49:18,096 INFO  [org.ovirt.engine.core.vdsbroker.gluster.GlusterTasksListVDSCommand] (DefaultQuartzScheduler3) [54983ac1] FINISH, GlusterTasksListVDSCommand, return: [], log id: 2f34cd01
2016-08-16 11:49:19,122 INFO  [org.ovirt.engine.core.vdsbroker.monitoring.VmsStatisticsFetcher] (DefaultQuartzScheduler10) [a6e01a6] Fetched 1 VMs from VDS 'e84a42c6-322f-43e2-b52a-4faf41953ba7'
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to