← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291431] [NEW] New Neutron unauthorised exception

 

Public bug reported:

In case of token expiry, the Neutron client tries to refresh the token -
but if the auth_url isn't specified it can fail to do so (auth_url isn't
a required value when authenticating with a token). The Neutron client
was recently updated to properly handle this case and raise an
exception.

https://review.openstack.org/#/c/53461/

This new exception should be added to the dashboard list of unauthorised
exceptions, I think, in order to be handled it correctly - that is,
return a forbidden/unauthorised error rather than internal server error.

https://github.com/openstack/horizon/blob/master/openstack_dashboard/exceptions.py

** Affects: horizon
     Importance: Medium
         Status: New


** Tags: low-hanging-fruit

** Changed in: horizon
   Importance: Undecided => Medium

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

Title:
  New Neutron unauthorised exception

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In case of token expiry, the Neutron client tries to refresh the token
  - but if the auth_url isn't specified it can fail to do so (auth_url
  isn't a required value when authenticating with a token). The Neutron
  client was recently updated to properly handle this case and raise an
  exception.

  https://review.openstack.org/#/c/53461/

  This new exception should be added to the dashboard list of
  unauthorised exceptions, I think, in order to be handled it correctly
  - that is, return a forbidden/unauthorised error rather than internal
  server error.

  https://github.com/openstack/horizon/blob/master/openstack_dashboard/exceptions.py

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


Follow ups

References