<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 14, 2017 at 12:44 AM, Sverker Abrahamsson <span dir="ltr">&lt;<a href="mailto:sverker@abrahamsson.com" target="_blank">sverker@abrahamsson.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Since upgrading my test lab to ovirt 4.2 I can&#39;t get ovirt-provider-ovn to work. From ovirt-provider-ovn.log:<br>
<br>
2017-11-14 00:40:15,795   Request: POST : /v2.0///tokens<br>
2017-11-14 00:40:15,795   Request body:<br>
{<br>
  &quot;auth&quot; : {<br>
    &quot;passwordCredentials&quot; : {<br>
      &quot;username&quot; : &quot;admin@internal&quot;,<br>
      &quot;password&quot; : &quot;xxxxxxxxx&quot;<br>
    }<br>
  }<br>
}<br>
2017-11-14 00:40:15,819   Starting new HTTPS connection (1): h2-int<br>
2017-11-14 00:40:20,829   &quot;POST /ovirt-engine/sso/oauth/token HTTP/1.1&quot; 400 118<br>
2017-11-14 00:40:20,830   Error during SSO authentication Cannot authenticate user &#39;admin@internal&#39;: The username or password is incorrect.. : access_deniedNone<br>
Traceback (most recent call last):<br>
  File &quot;/usr/share/ovirt-provider-ovn<wbr>/handlers/base_handler.py&quot;, line 119, in _handle_request<br>
    method, path_parts, content)<br>
  File &quot;/usr/share/ovirt-provider-ovn<wbr>/handlers/selecting_handler.<wbr>py&quot;, line 177, in handle_request<br>
    handler, content, parameters<br>
  File &quot;/usr/share/ovirt-provider-ovn<wbr>/handlers/keystone.py&quot;, line 28, in call_response_handler<br>
    return response_handler(content, parameters)<br>
  File &quot;/usr/share/ovirt-provider-ovn<wbr>/handlers/keystone_responses.<wbr>py&quot;, line 58, in post_tokens<br>
    user_password=user_password)<br>
  File &quot;/usr/share/ovirt-provider-ovn<wbr>/auth/plugin_facade.py&quot;, line 26, in create_token<br>
    return auth.core.plugin.create_token(<wbr>user_at_domain, user_password)<br>
  File &quot;/usr/share/ovirt-provider-ovn<wbr>/auth/plugins/ovirt/plugin.py&quot;<wbr>, line 48, in create_token<br>
    timeout=self._timeout())<br>
  File &quot;/usr/share/ovirt-provider-ovn<wbr>/auth/plugins/ovirt/sso.py&quot;, line 62, in create_token<br>
    username, password, engine_url, ca_file, timeout)<br>
  File &quot;/usr/share/ovirt-provider-ovn<wbr>/auth/plugins/ovirt/sso.py&quot;, line 54, in wrapper<br>
    _check_for_error(response)<br>
  File &quot;/usr/share/ovirt-provider-ovn<wbr>/auth/plugins/ovirt/sso.py&quot;, line 168, in _check_for_error<br>
    result[&#39;error&#39;], details))<br>
Unauthorized: Error during SSO authentication Cannot authenticate user &#39;admin@internal&#39;: The username or password is incorrect.. : access_deniedNone<br>
<br>
And in engine.log:<br>
<br>
2017-11-14 00:40:20,828+01 ERROR [org.ovirt.engine.core.sso.uti<wbr>ls.SsoUtils] (default task-16) [] OAuthException access_denied: Cannot authenticate user &#39;admin@internal&#39;: The username or password is incorrect..<br></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​Could you please provide full engine logs so we can investigate?<br><br>​</div> <div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​Thanks<br><br></div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">Martin<br>​</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The password in the request is the same as used to log in to the admin portal and works fine there.<br>
<br>
/Sverker<br>
<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><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font size="1">Martin Perina<br>Associate Manager, Software Engineering<br>Red Hat Czech s.r.o.<br></font></div></div>
</div></div>