Flavors throws 500 page instead of graceful 401

Bug #893795 reported by Dolph Mathews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Gabriel Hurley

Bug Description

Branch: stable/diablo

Most pages show a graceful 'Unable to get instance list: 401 Unauthorized' message when the keystone admin token is expired, but Flavors is throwing a 500 page instead: http://paste.openstack.org/show/3508/

To reproduce, you can set your admin token in keystone to expire in the past: UPDATE `token` SET expires='2000-01-01 00:00:00' WHERE id='SOME-TOKEN';

Dolph Mathews (dolph)
description: updated
Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

There were lots of other places where this was the case, too.

Changed in horizon:
assignee: nobody → Gabriel Hurley (gabriel-hurley)
status: New → In Progress
Devin Carlen (devcamcar)
Changed in horizon:
milestone: none → essex-2
importance: Undecided → Low
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/2240
Committed: http://github.com/openstack/horizon/commit/f068f9e7901ed2802d2b1844b600b5a8038682a4
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit f068f9e7901ed2802d2b1844b600b5a8038682a4
Author: Gabriel Hurley <email address hidden>
Date: Fri Dec 9 13:37:00 2011 -0800

    Cleans up error handling for index view api calls. Prevents 500 errors.

    Also brings buildout config for glance into line with pip-requires.

    Fixes bug 893795.

    Change-Id: Ia5cc1d480cf160c682a6ec7a3d0bed9057e7acc9

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: essex-2 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.