Neutron logged out TypeError
Bug #1279979 reported by
Matthew D. Wood
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Matthew D. Wood |
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.
The TypeError is a result of a neutron_
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).
Changed in horizon: | |
assignee: | nobody → Matthew D. Wood (woodm1979) |
Changed in horizon: | |
importance: | Undecided → High |
importance: | High → Medium |
Changed in horizon: | |
milestone: | none → icehouse-3 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
It's worth noting: the fix is to pass in a correct auth_url, but know that the authenticate call that will use that auth_url WILL FAIL. (... because we don't keep the user's password.)
That's the correct behavior, and the failed authenticate() call will bubble up a neutronclient. common. exceptions. Unauthorized exception instead of a TypeError. That exception will be caught correctly higher up.