← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1791296] Re: Browsing /horizon/admin/info/ fails if Neutron not installed

 

Reviewed:  https://review.openstack.org/600971
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=e750c9d06066a62eed111b298ddc788bb0919d93
Submitter: Zuul
Branch:    master

commit e750c9d06066a62eed111b298ddc788bb0919d93
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date:   Sat Sep 8 19:00:20 2018 +0000

    admin info: check required service for network tab
    
    Previously the network tab of Admin Info panel did not check
    the availability of the network service.
    
    Change-Id: I3117b00762a0257f67a34af89ac65f82d4e563ee
    Closes-Bug: #1791296


** 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/1791296

Title:
  Browsing /horizon/admin/info/ fails if Neutron not installed

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When browsing to Admin -> System -> System information, as an admin
  user, if there's no Neutron installed, then Horizon just crashes:

    [ ... snip ... ]

  File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py" in wrapped
    176.             args.insert(request_index, request_func(request))

  File "/usr/share/openstack-dashboard/openstack_dashboard/api/neutron.py" in get_auth_params_from_request
    804.         base.url_for(request, 'network'),

  File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py" in url_for
    347.     raise exceptions.ServiceCatalogException(service_type)

  Exception Type: ServiceCatalogException at /admin/info/
  Exception Value: Invalid service catalog: network

  After installing Neutron, then things do display correctly.

  It'd be nice to fix this.

  Note, if this matters, I was using the Rocky package 3:14.0.0-2 under
  Debian Sid to do this test.

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


References