← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1372334] Re: Error rendering _project_list.html

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1372334

Title:
  Error rendering  _project_list.html

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  On a fresh DevStack installation, I'm never able to login with either admin or demo account.  The landing page breaks with the following  message:
  --------------------------------------------------
  Error during template rendering 
  In template /opt/stack/horizon/openstack_dashboard/templates/context_selection/_project_list.html, error at line 7
  Reverse for ''switch_tenants'' with arguments '(u'8e34c787db63456fb60cc303f94d40a6',)' and keyword arguments '{}' not found.
  ---------------------------------------------------

  
  The page cites the error location content as :    <a href="{% url 'switch_tenants' project.id %}?next={{ dashboard_url }}">

  The error is generated from django's defaulttags.py in render, line
  426. The django error is as follows:

  
  ----------------------------------------------------

  NoReverseMatch at /project/

  Reverse for ''switch_tenants'' with arguments
  '(u'8e34c787db63456fb60cc303f94d40a6',)' and keyword arguments '{}'
  not found.

  Request Method: 	GET
  Request URL: 	http://192.168.102.169/project/
  Django Version: 	1.4.13
  Exception Type: 	NoReverseMatch
  Exception Value: 	

  Reverse for ''switch_tenants'' with arguments
  '(u'8e34c787db63456fb60cc303f94d40a6',)' and keyword arguments '{}'
  not found.

  Exception Location: 	/usr/lib/python2.6/site-packages/django/template/defaulttags.py in render, line 426
  Python Executable: 	/usr/bin/python

  ---------------------------------------------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1372334/+subscriptions


References