<div dir="ltr">The issue with the login page simply refreshing was due to a change in Keystone that updated the type of Token issued by default from PKI to PKIZ (compressed PKI/ASN1). The update to the django auth module was intended to correct that specific issue with Keystone and Horizon (Juno).<br>

<div><br></div><div>The bug fix (not sure if another review is to blame with the django_openstack_auth module tha t is currently happening) that addressed your specific issue is: <a href="https://bugs.launchpad.net/horizon/+bug/1331406">https://bugs.launchpad.net/horizon/+bug/1331406</a><br>

<br></div><div>I have proposed a fix for Keystone that would revert the PKIZ default: <a href="https://review.openstack.org/#/c/101714/">https://review.openstack.org/#/c/101714/</a><br><br></div><div>Depending on the fixes upcoming for the django_openstack_auth module, it may make sense to temporarily revert the PKIZ provider default until we can solve the issues with the django auth module and horizon when PKIZ is enabled. If this review is not needed based on how the horizon issues are corrected, it will be abandoned.<br>

<br></div><div>I think this is also showing some gaps in our testing, notably that the django_openstack_auth module isn't being exercised on the integration tests. I'll aim to hit up Horizon team and work with them and the QA folks to make sure we cover this gap in the future.<br>

<br></div><div>--Morgan<br></div><div><br>On Saturday, June 21, 2014, Mike Spreitzer <<a href="mailto:mspreitz@us.ibm.com" target="_blank">mspreitz@us.ibm.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div bgcolor="#FFFFFF">
<p><font face="arial" size="3">Since Friday I have been getting this misbehavior: enter username and password, hit login, and it shows you the login page again.</font><br>
<br>
<br>
<font color="#424282" face="serif" size="3">Sean Dague --- [openstack-dev] horizon failing on icehouse 100%,        currently blocking all patches --- </font><br>
<br>
<br>

</p><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr valign="top"><td width="4%"><font color="#5f5f5f" face="serif">From:</font></td><td width="96%"><font face="serif">"Sean Dague" <<a>sean@dague.net</a>></font></td>
</tr>

<tr valign="top"><td width="4%"><font color="#5f5f5f" face="serif">To</font></td><td width="96%"><font face="serif">"openstack-dev" <<a>openstack-dev@lists.openstack.org</a>></font></td>
</tr>

<tr valign="top"><td width="4%"><font color="#5f5f5f" face="serif">Date:</font></td><td width="96%"><font face="serif">Sat, Jun 21, 2014 12:54</font></td></tr>

<tr valign="top"><td width="4%"><font color="#5f5f5f" face="serif">Subject</font></td><td width="96%"><font face="serif">[openstack-dev] horizon failing on icehouse 100%,        currently blocking all patches</font></td></tr>
</tbody></table>
<hr align="left" size="4" width="99%"><br>
<tt><font size="3">Horizon in icehouse is now 100% failing</font></tt><br>
<br>
<tt><font size="3"> [Sat Jun 21 16:17:35 2014] [error] Internal Server Error: /</font></tt><br>
<tt><font size="3">[Sat Jun 21 16:17:35 2014] [error] Traceback (most recent call last):</font></tt><br>
<tt><font size="3">[Sat Jun 21 16:17:35 2014] [error]   File</font></tt><br>
<tt><font size="3">"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py",</font></tt><br>
<tt><font size="3">line 112, in get_response</font></tt><br>
<tt><font size="3">[Sat Jun 21 16:17:35 2014] [error]     response =</font></tt><br>
<tt><font size="3">wrapped_callback(request, *callback_args, **callback_kwargs)</font></tt><br>
<tt><font size="3">[Sat Jun 21 16:17:35 2014] [error]   File</font></tt><br>
<tt><font size="3">"/usr/local/lib/python2.7/dist-packages/django/views/decorators/vary.py", line</font></tt><br>
<tt><font size="3">36, in inner_func</font></tt><br>
<tt><font size="3">[Sat Jun 21 16:17:35 2014] [error]     response = func(*args, **kwargs)</font></tt><br>
<tt><font size="3">[Sat Jun 21 16:17:35 2014] [error]   File</font></tt><br>
<tt><font size="3">"/opt/stack/old/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/views.py",</font></tt><br>
<tt><font size="3">line 35, in splash</font></tt><br>
<tt><font size="3">[Sat Jun 21 16:17:35 2014] [error]     form = views.Login(request)</font></tt><br>
<tt><font size="3">[Sat Jun 21 16:17:35 2014] [error] AttributeError: 'module' object has</font></tt><br>
<tt><font size="3">no attribute 'Login'</font></tt><br>
<br>
<tt><font size="3">This suspiciously times with django_openstack_auth 1.1.6 being released.</font></tt><br>
<tt><font size="3"><a href="http://logstash.openstack.org/#eyJzZWFyY2giOiJcIkF0dHJpYnV0ZUVycm9yOiAnbW9kdWxlJyBvYmplY3QgaGFzIG5vIGF0dHJpYnV0ZSAnTG9naW4nXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MDMzNjk0MjQ4NjR9" target="_blank">http://logstash.openstack.org/#eyJzZWFyY2giOiJcIkF0dHJpYnV0ZUVycm9yOiAnbW9kdWxlJyBvYmplY3QgaGFzIG5vIGF0dHJpYnV0ZSAnTG9naW4nXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MDMzNjk0MjQ4NjR9</a></font></tt><br>



<br>
<tt><font size="3">Because this breaks smoke tests on icehouse, it means that any project</font></tt><br>
<tt><font size="3">with upgrade testing fails.</font></tt><br>
<br>
<tt><font size="3">Would be great if horizon folks code make this a top priority. Also, in</font></tt><br>
<tt><font size="3">future, releasing new library versions on a saturday maybe best avoided. :)</font></tt><br>
<br>
<tt><font size="3">       -Sean</font></tt><br>
<br>
<tt><font size="3">-- </font></tt><br>
<tt><font size="3">Sean Dague</font></tt><br>
<tt><font size="3"><a href="http://dague.net" target="_blank">http://dague.net</a></font></tt><br>
<br>
<tt><font size="3">_______________________________________________</font></tt><br>
<tt><font size="3">OpenStack-dev mailing list</font></tt><br>
<tt><font size="3"><a>OpenStack-dev@lists.openstack.org</a></font></tt><br>
<tt><font size="3"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font></tt><br>
<br>
<p></p></div></blockquote></div>
</div>