Internal Server Error in Horizon in displaying Project -Network Routers details page

Bug #1792151 reported by Wendy Mitchell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Eddie Ramirez

Bug Description

Title
-----------------
Internal Server Error in navigating to Project -Network Router details page in Horizon

Brief Description
-----------------
Internal Server Error in navigating to Project -Network Router details page in Horizon

Severity
--------
Standard

Steps to Reproduce
------------------
1. Log into Horizon as tenant user
2. Navigate to Project - Network - Routers
3. Select router name to view the router details ie. (Overview, Interfaces, Port Forwarding or Static Routes tabs)

Expected Behavior
------------------
In step 3, expect horizon Routers page to display .../project/routers/

Actual Behavior
----------------

[ERROR] django.request: Internal Server Error: /project/routers/abf3b745-709d-41d0-95bd-3e0db43bc66d

Reproducibility
---------------
Reproducible

System Configuration
--------------------
2 controller system

Branch/Pull Time/Commit
-----------------------

Timestamp/Logs
--------------

Viewing Project router details (Overview, Interfaces, Port Forwarding or Static Routes tabs) results in Internal Server Error

see horizon.log

http://.../project/routers/abf3b745-709d-41d0-95bd-3e0db43bc66d/

2018-09-11 17:00:05,234 [ERROR] django.request: Internal Server Error: /project/routers/abf3b745-709d-41d0-95bd-3e0db43bc66d/
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/tabs/views.py", line 121, in get
    self.load_tabs()
  File "/usr/lib/python2.7/site-packages/horizon/tabs/views.py", line 88, in load_tabs
    tab_group = self.get_tabs(self.request, **self.kwargs)
  File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/routers/views.py", line 188, in get_tabs
    if api.base.is_stx_region(request):
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py", line 391, in is_stx_region
    if not base.is_service_enabled(request, 'platform'):
NameError: global name 'base' is not defined

Revision history for this message
Frank Miller (sensfan22) wrote :

Tagged as stx.2018.10 since Horizon panel plug-ins in stx-gui is a 2018.10 deliverable.

This may be a duplicate of Bug #1792152

tags: added: stx.2018.10
Changed in starlingx:
status: New → Triaged
Revision history for this message
Eddie Ramirez (ediardo) wrote :

Looks like it´s related to new imports paths

Changed in starlingx:
assignee: nobody → Eddie Ramirez (ediardo)
Ghada Khalil (gkhalil)
tags: added: stx.gui
Revision history for this message
Eddie Ramirez (ediardo) wrote :

Getting a patch ready for stx-horizon.

Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
Revision history for this message
Ghada Khalil (gkhalil) wrote :
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking as Fix Released; same as duplicate. The required commit was merged as of 2018-09-13

Changed in starlingx:
status: Triaged → Fix Released
Ken Young (kenyis)
tags: added: stx.1.0
removed: stx.2018.10
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.