← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1312247] [NEW] not redirected to main page after a session expired

 

Public bug reported:

when creating a snapshot for an instance, if the session expires and
than we press the "instances" link again to refresh the screen, we get
an error in the webadmin instead of being redirected to the login page:

This is from the log:

//10.35.160.71:35357/v2.0/tenants/c3178ebef2c24d1b9a045bd67483a83c -H "User-Agent: python-keystoneclient" -H "Forwarded: for=10.64.245.229;by=python-keystoneclient" -H "X-Auth-Token: ff244a6dcae7573250e32652773ffb53"
2014-04-24 15:20:28,642 2351 INFO openstack_auth.views Logging out user "admin".
2014-04-24 15:20:30,523 2351 ERROR django.request Internal Server Error: /dashboard/auth/login/
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 136, in get_response
    response = response.render()
  File "/usr/lib/python2.6/site-packages/django/template/response.py", line 104, in render
    self._set_content(self.rendered_content)
  File "/usr/lib/python2.6/site-packages/django/template/response.py", line 79, in rendered_content
    template = self.resolve_template(self.template_name)
  File "/usr/lib/python2.6/site-packages/django/template/response.py", line 57, in resolve_template
    return loader.get_template(template)
  File "/usr/lib/python2.6/site-packages/django/template/loader.py", line 145, in get_template
  File "/usr/lib/python2.6/site-packages/django/template/loader.py", line 138, in find_template
TemplateDoesNotExist: auth/login.html
(END)

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1312247

Title:
  not redirected to main page after a session expired

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  when creating a snapshot for an instance, if the session expires and
  than we press the "instances" link again to refresh the screen, we get
  an error in the webadmin instead of being redirected to the login
  page:

  This is from the log:

  //10.35.160.71:35357/v2.0/tenants/c3178ebef2c24d1b9a045bd67483a83c -H "User-Agent: python-keystoneclient" -H "Forwarded: for=10.64.245.229;by=python-keystoneclient" -H "X-Auth-Token: ff244a6dcae7573250e32652773ffb53"
  2014-04-24 15:20:28,642 2351 INFO openstack_auth.views Logging out user "admin".
  2014-04-24 15:20:30,523 2351 ERROR django.request Internal Server Error: /dashboard/auth/login/
  Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 136, in get_response
      response = response.render()
    File "/usr/lib/python2.6/site-packages/django/template/response.py", line 104, in render
      self._set_content(self.rendered_content)
    File "/usr/lib/python2.6/site-packages/django/template/response.py", line 79, in rendered_content
      template = self.resolve_template(self.template_name)
    File "/usr/lib/python2.6/site-packages/django/template/response.py", line 57, in resolve_template
      return loader.get_template(template)
    File "/usr/lib/python2.6/site-packages/django/template/loader.py", line 145, in get_template
    File "/usr/lib/python2.6/site-packages/django/template/loader.py", line 138, in find_template
  TemplateDoesNotExist: auth/login.html
  (END)

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


Follow ups

References