← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1251026] Re: Identity V3 tokens too long for neutron

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
  Identity V3 tokens too long for neutron

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  An identity v3 token is over 9000 characters, which results in a 400
  Header Line Too Long error.

  Example here:

  https://gist.github.com/kuinak/66f34542a49c3cd78784

  I applied the following to my devstack instance to fix it:

  diff --git a/neutron/wsgi.py b/neutron/wsgi.py
  index 972b399..9208918 100644
  --- a/neutron/wsgi.py
  +++ b/neutron/wsgi.py
  @@ -31,6 +31,7 @@ from xml.parsers import expat
   
   import eventlet.wsgi
   eventlet.patcher.monkey_patch(all=False, socket=True)
  +eventlet.wsgi.MAX_HEADER_LINE = 16384
   from oslo.config import cfg
   import routes.middleware
   import webob.dec

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