← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1338846] [NEW] corner case in nsx api_client code

 

Public bug reported:

There is a corner case that the nsx api_client code does not handle
today where the nsx controller can return a 307 in order to redirect the
request to another controller. At this point neutron-server issues this
request to the redirected controller and usually this works fine. Though
in the case that the session cookie has expired we'll issue the request
and get a 401 and clear the cookie from the request. Then we'll retry
the request  and get the same 307 again which will result in a 401 as
the session cookie was never renewed.

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

  There is a corner case that the nsx api_client code does not handle
  today where the nsx controller can return a 307 in order to redirect the
  request to another controller. At this point neutron-server issues this
  request to the redirected controller and usually this works fine. Though
  in the case that the session cookie has expired we'll issue the request
  and get a 401 and clear the cookie from the request. Then we'll retry
  the request  and get the same 307 again which will result in a 401 as
- the session cookie was never reviewed.
+ the session cookie was never renewed.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1338846

Title:
  corner case in nsx api_client  code

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  There is a corner case that the nsx api_client code does not handle
  today where the nsx controller can return a 307 in order to redirect
  the request to another controller. At this point neutron-server issues
  this request to the redirected controller and usually this works fine.
  Though in the case that the session cookie has expired we'll issue the
  request and get a 401 and clear the cookie from the request. Then
  we'll retry the request  and get the same 307 again which will result
  in a 401 as the session cookie was never renewed.

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


Follow ups

References