← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279979] [NEW] Neutron logged out TypeError

 

Public bug reported:

If a users's token is not valid, the neutron client will raise a

TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

This TypeError should really be an
neutronclient.common.exceptions.Unauthorized instead.


The TypeError is a result of a neutron_client.Client having it's auth_url set to None; which, unfortunately, is the default.


This can be recreated by logging in, and opening up a 2nd tab/window.
Logout in one window.  In the other window, go to a page that requires a
neutron-api call (the networking page comes to mind).

** Affects: horizon
     Importance: Undecided
     Assignee: Matthew D. Wood (woodm1979)
         Status: New


** Tags: neutron

** Changed in: horizon
     Assignee: (unassigned) => Matthew D. Wood (woodm1979)

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

Title:
  Neutron logged out TypeError

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  If a users's token is not valid, the neutron client will raise a

  TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

  This TypeError should really be an
  neutronclient.common.exceptions.Unauthorized instead.

  
  The TypeError is a result of a neutron_client.Client having it's auth_url set to None; which, unfortunately, is the default.


  This can be recreated by logging in, and opening up a 2nd tab/window.
  Logout in one window.  In the other window, go to a page that requires
  a neutron-api call (the networking page comes to mind).

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


Follow ups

References