<div dir="ltr"><div><div><div><div><div>Hello!<br><br></div>I have a problem wiith configure external provider.<br><br></div>Edit config file - ovirt-provider-ovn.conf, set ssl parameters.<br></div>systemctl start ovirt-provider-ovn start without problem.<br></div>In external proveder in web gui i set:<br>
Provider URL:
<a href="https://ovirt.mydomain.com:9696">https://ovirt.mydomain.com:9696</a><br>
Username: admin@internal<br>
Authentication URL: <a href="https://ovirt.mydomain.com:35357/v2.0/">https://ovirt.mydomain.com:35357/v2.0/</a><br></div>But after i press test button i see error - Failed to communicate with the external provider, see log for additional details.<br><br>/var/log/ovirt-engine/engine.log:<br>2018-02-05 21:33:55,517+02 ERROR [org.ovirt.engine.core.bll.provider.network.openstack.BaseNetworkProviderProxy] (default task-29) [69fa312e-6e2e-4925-b081-385beba18a6a] Bad Gateway (OpenStack response error code: 502)<br>2018-02-05 21:33:55,517+02 ERROR [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default task-29) [69fa312e-6e2e-4925-b081-385beba18a6a] Command 'org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand' failed: EngineException: (Failed with error PROVIDER_FAILURE and code 5050)<br><br><div>In /var/log/ovirt-provider-ovn.log:<br><br>2018-02-05 21:33:55,510 Starting new HTTPS connection (1): <a href="http://ovirt.astrecdata.com">ovirt.astrecdata.com</a><br>2018-02-05 21:33:55,516 [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)<br>Traceback (most recent call last):<br> File "/usr/share/ovirt-provider-ovn/handlers/base_handler.py", line 126, in _handle_request<br> method, path_parts, content)<br> File "/usr/share/ovirt-provider-ovn/handlers/selecting_handler.py", line 176, in handle_request<br> return self.call_response_handler(handler, content, parameters)<br> File "/usr/share/ovirt-provider-ovn/handlers/keystone.py", line 33, in call_response_handler<br> return response_handler(content, parameters)<br> File "/usr/share/ovirt-provider-ovn/handlers/keystone_responses.py", line 60, in post_tokens<br> user_password=user_password)<br> File "/usr/share/ovirt-provider-ovn/auth/plugin_facade.py", line 26, in create_token<br> return auth.core.plugin.create_token(user_at_domain, user_password)<br> File "/usr/share/ovirt-provider-ovn/auth/plugins/ovirt/plugin.py", line 48, in create_token<br> timeout=self._timeout())<br> File "/usr/share/ovirt-provider-ovn/auth/plugins/ovirt/sso.py", line 62, in create_token<br> username, password, engine_url, ca_file, timeout)<br> File "/usr/share/ovirt-provider-ovn/auth/plugins/ovirt/sso.py", line 53, in wrapper<br> response = func(*args, **kwargs)<br> File "/usr/share/ovirt-provider-ovn/auth/plugins/ovirt/sso.py", line 46, in wrapper<br> raise BadGateway(e)<br>BadGateway: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)<br clear="all"></div><div><div><div><div><div><div><div><div><div><div><div><br></div><div>Whan i do wrong ?<br></div><div>Please help.<br></div><div><br>----<br></div><div>With best regards Georgii.<br></div></div></div></div></div></div></div></div></div></div></div></div>