← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups