Internal Server Error on exceptions from APIs in Overview page

Bug #1252878 reported by Rob Raymond
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Akihiro Motoki

Bug Description

The Project overview page makes neutron api calls outside of a try, except block. This results in Internal Server Error.
This defect is to fix that problem, but also walk through all of the panel code and add exception handling whenever api call is made.

Changed in horizon:
assignee: nobody → Rob Raymond (rob-raymond)
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Any progress? It is worth be a part of Icehouse release.

Revision history for this message
Akihiro Motoki (amotoki) wrote :

It can be easily reproduced by stopping neutron-server and then accessing Overview page.
This is the traceback: http://paste.openstack.org/show/75145/

Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
assignee: Rob Raymond (rob-raymond) → nobody
tags: added: icehouse-backport-potential
summary: - Internal Server Error on exceptions from apis
+ Internal Server Error on exceptions from APIs in Overview page
Akihiro Motoki (amotoki)
Changed in horizon:
assignee: nobody → Akihiro Motoki (amotoki)
milestone: none → juno-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/85566

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/85566
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=ea0000f6a0030418b02936fbd3cf7df724642a7d
Submitter: Jenkins
Branch: master

commit ea0000f6a0030418b02936fbd3cf7df724642a7d
Author: Akihiro Motoki <email address hidden>
Date: Sun Apr 6 06:25:54 2014 +0900

    Handle error from neutron extension check in Overview page

    Previously some Neutron API calls in get_neutron_limits are outside
    try/except and if an error occurs a traceback will be displayed.

    Change-Id: I191aecbf3135ddac3b20dbc7e0f22b63aa3837f9
    Closes-Bug: #1252878

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: juno-1 → 2014.2
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.