<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/14/2013 11:20 AM, Steve Baker
wrote:<br>
</div>
<blockquote cite="mid:51BA53B8.2080901@redhat.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Enabling heat on an otherwise default devstack will increase the
keystone catalog so that the resulting v3 token header exceeds
eventlet.wsgi's limit [1] of 8192 bytes.<br>
<br>
This is currently preventing Heat from being enabled in gating
[2][3], and others have hit this limit too [4].<br>
<br>
The catalog-optional blueprint [5] might help, but it would
probably need to become the default fairly soon, since the current
token size is not far under the limit.<br>
<br>
One possible (unverified) fix would be to patch every project's
wsgi.py to raise eventlet.wsgi.
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
MAX_HEADER_LINE to provide some headroom (32768? that leaves
another 32768 for other headers)<br>
<br>
</blockquote>
I can confirm that adding this to nova/wsgi.py allows the failing
tests to pass<br>
eventlet.wsgi.MAX_HEADER_LINE = 32768<br>
<br>
<blockquote cite="mid:51BA53B8.2080901@redhat.com" type="cite"> Is
there any objection to this? I can start with nova and keystone to
see if it fixes the failing tempest tests.<br>
<br>
[1] <a moz-do-not-send="true"
href="https://github.com/eventlet/eventlet/blob/master/eventlet/wsgi.py#L19">https://github.com/eventlet/eventlet/blob/master/eventlet/wsgi.py#L19</a><br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
[2] <a moz-do-not-send="true"
href="https://bugs.launchpad.net/keystone/+bug/1190149">https://bugs.launchpad.net/keystone/+bug/1190149</a><br>
[3] <a moz-do-not-send="true"
href="https://review.openstack.org/#/c/32002/">https://review.openstack.org/#/c/32002/</a><br>
[4] <a moz-do-not-send="true"
href="https://bugs.launchpad.net/keystone/+bug/1186177">https://bugs.launchpad.net/keystone/+bug/1186177</a><br>
[5] <a moz-do-not-send="true"
href="https://blueprints.launchpad.net/keystone/+spec/catalog-optional">https://blueprints.launchpad.net/keystone/+spec/catalog-optional</a><br>
<br>
</blockquote>
<br>
</body>
</html>