d6b74f5ce9
I spent a few days figuring out what was making the OS-FEDERATION mapping rules create/update API calls return "413 Entity Too Large" errors for our CentOS7/haproxy/apache/mod_wsgi/keystone/python2 setup. To make this a bit easier for future users then I would like to include max_request_body_size and its value in the response and also log the error. Retaining the "Request is too large." bit in the message is intended to also make it easier to find where the limit is set. Resulting log error in keystone looks like: 2019-07-04 06:52:13.217789 | ubuntu-bionic | INFO [oslo_middleware.sizelimit] Request is too large. Larger than max_request_body_size (114688). Change-Id: Ic66882afba25222ab8464ac9194c5002c8666db1 Closes-Bug: #1835363 Signed-off-by: Johan Guldmyr <johan.guldmyr@csc.fi> |
||
---|---|---|
.. | ||
healthcheck | ||
locale | ||
tests | ||
__init__.py | ||
_i18n.py | ||
base.py | ||
catch_errors.py | ||
correlation_id.py | ||
cors.py | ||
debug.py | ||
http_proxy_to_wsgi.py | ||
opts.py | ||
request_id.py | ||
sizelimit.py | ||
ssl.py | ||
stats.py | ||
version.py |