Exception in 'System information' results in error code 500

Bug #1387665 reported by Vlad Okhrimenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

Bug Description

When deploying (via Mirantis Fuel) Ubuntu cluster in 'simple' mode with nova-network (flat-dhcp): 1 controller , 1 compute. Login to Horizon and try to open "Admin"->"System information" page. We get error code 500

To reproduce this behavior in devstack:
1. Generate error in try-block
(https://github.com/openstack/horizon/blob/2014.2.b3/openstack_dashboard/dashboards/admin/info/views.py#L36). For example, add the line:
   raise Exception('some error')
2. Go to Admin > System Information page

Changed in horizon:
assignee: nobody → Vlad Okhrimenko (vokhrimenko)
description: updated
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/132039

Changed in horizon:
status: New → In Progress
Revision history for this message
Gary W. Smith (gary-w-smith) wrote : Re: 'System information' does not open in Horizon (Ubuntu)

This sounds like a problem with your deployment rather than a problem with Horizon. Can you supply the steps to reproduce this problem with devstack?

Changed in horizon:
status: In Progress → Incomplete
Revision history for this message
Vlad Okhrimenko (vokhrimenko) wrote :

To get started, please see https://review.openstack.org/132039. It's not problem with deployment. If you want reproduce this problem:
1.
Please generate error in try-block
(https://github.com/openstack/horizon/blob/2014.2.b3/openstack_dashboard/dashboards/admin/info/views.py#L36)
2.
go to 'system info' page

Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

Thanks for the info. Updated the description to include this information.

description: updated
summary: - 'System information' does not open in Horizon (Ubuntu)
+ Exception in 'System information' results in error code 500
Changed in horizon:
status: Incomplete → Confirmed
importance: Undecided → Medium
Revision history for this message
Vlad Okhrimenko (vokhrimenko) wrote :

Thank you, Gary , for the help in bug description !

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
Matthias Runge (mrunge) wrote :

From the review:
-----
Richard, the exception Vlad is dealing with originates from pbr package, it isn't related to any of python-clients, for which RECOVERABLE thing IMO was created with - I mean it's not OpenStack API issue, it's some underlying distro issue, not clear where to insert exception reraise.
-----

So, if this is a pbr issue, either fix your package or remove pbr. We do that as well.
The pbr bug would be: https://bugs.launchpad.net/horizon/+bug/1304253

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Vlad Okhrimenko (<email address hidden>) on branch: master
Review: https://review.openstack.org/132039

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Marking this bug as an invalid, because it is caused by problems in deb-package (missing egg-info) and is not related to the upstream code.

Changed in horizon:
status: In Progress → Invalid
importance: Medium → Undecided
assignee: Vlad Okhrimenko (vokhrimenko) → nobody
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.