← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1671785] Re: Missing router tab in Horizon Openstack Newton

 

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

commit f54c52418bdae0403353447d688b77be15e8a044
Author: Akihiro Motoki <motoki@xxxxxxxxxxxxx>
Date:   Mon Mar 13 08:51:54 2017 +0000

    Do not try to show L3 agent action when enable_router is False
    
    When enable_router settings is False, 'routers' panel is not
    registered and URL resolver of L3 agent action in the network
    agent table will result in a failure.
    As a result, System Information panel cannot be displayed.
    
    This commit adds a check whether the router panel is enabled or not.
    
    Change-Id: I67aba79f61870b093d4c1d9c7527003704483d50
    Closes-Bug: #1671785


** Changed in: horizon
       Status: In Progress => Fix Released

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

Title:
  Missing router tab in Horizon Openstack Newton

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In Horizon, when clicking on the admin | System Information.

  In the apache2.error log the following message appear

  [Fri Mar 10 09:18:35.676770 2017] [wsgi:error] [pid 23173:tid 139844567475968]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 1500, in render_row_actions
  [Fri Mar 10 09:18:35.676772 2017] [wsgi:error] [pid 23173:tid 139844567475968]     bound_actions = self.get_row_actions(datum)
  [Fri Mar 10 09:18:35.676774 2017] [wsgi:error] [pid 23173:tid 139844567475968]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 1452, in get_row_actions
  [Fri Mar 10 09:18:35.676777 2017] [wsgi:error] [pid 23173:tid 139844567475968]     bound_action.bound_url = bound_action.get_link_url(datum)
  [Fri Mar 10 09:18:35.676779 2017] [wsgi:error] [pid 23173:tid 139844567475968]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/info/tables.py", line 188, in get_link_url
  [Fri Mar 10 09:18:35.676781 2017] [wsgi:error] [pid 23173:tid 139844567475968]     args=(obj_id,))
  [Fri Mar 10 09:18:35.676783 2017] [wsgi:error] [pid 23173:tid 139844567475968]   File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 571, in reverse
  [Fri Mar 10 09:18:35.676785 2017] [wsgi:error] [pid 23173:tid 139844567475968]     (key, ':'.join(resolved_path)))
  [Fri Mar 10 09:18:35.676786 2017] [wsgi:error] [pid 23173:tid 139844567475968] TemplateSyntaxError: u'routers' is not a registered namespace inside 'horizon:admin'

  Also there is no choose in the admin tab: Router. Which seems to be
  missing.

  The installation is Openstack Newton on Ubuntu 16.04 LTS.

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


References