yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #50172
[Bug 1577725] [NEW] Expired token passed to neutron return 500 instead of 401
Public bug reported:
If we pass to Nova an about-to-expire token, then Nova pass this token
to neutronclient to manipulate networks. neutronclient can raise an
unauthorized exception. This exception is not understand by Nova and so
converted to a 500 which does not let any chance for novaclient to try a
new attempt of this request with a re-generated token.
We should to convert the unauthorized exception from Neutron to a 401
returned to nova clients.
https://github.com/openstack/python-
novaclient/blob/master/novaclient/client.py#L438
** Affects: nova
Importance: Undecided
Assignee: sahid (sahid-ferdjaoui)
Status: New
** Changed in: nova
Assignee: (unassigned) => sahid (sahid-ferdjaoui)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1577725
Title:
Expired token passed to neutron return 500 instead of 401
Status in OpenStack Compute (nova):
New
Bug description:
If we pass to Nova an about-to-expire token, then Nova pass this token
to neutronclient to manipulate networks. neutronclient can raise an
unauthorized exception. This exception is not understand by Nova and
so converted to a 500 which does not let any chance for novaclient to
try a new attempt of this request with a re-generated token.
We should to convert the unauthorized exception from Neutron to a 401
returned to nova clients.
https://github.com/openstack/python-
novaclient/blob/master/novaclient/client.py#L438
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1577725/+subscriptions