Disable tracebacks of eventlet.wsgi.server

Security folks considered tracebacks in API responses unwanted.

Some additional lower constraints had to be bumped for the
lower-constraints job to pass.

Change-Id: Ibaefbb9935020318ed670774b0205f3bcffef4ad
Closes-Bug: #1951429
Depends-On: https://review.opendev.org/c/openstack/oslo.service/+/818548
This commit is contained in:
Bence Romsics 2021-11-18 15:01:20 +01:00
parent 52c4678201
commit 0256e494d0
4 changed files with 7 additions and 5 deletions

View File

@ -27,7 +27,7 @@ future==0.16.0
futurist==1.2.0 futurist==1.2.0
gitdb==0.6.4 gitdb==0.6.4
GitPython==1.0.1 GitPython==1.0.1
greenlet==0.4.14 greenlet==0.4.16
httplib2==0.9.1 httplib2==0.9.1
imagesize==0.7.1 imagesize==0.7.1
iso8601==0.1.11 iso8601==0.1.11
@ -72,7 +72,7 @@ oslo.privsep==2.3.0
oslo.reports==1.18.0 oslo.reports==1.18.0
oslo.rootwrap==5.15.0 oslo.rootwrap==5.15.0
oslo.serialization==2.25.0 oslo.serialization==2.25.0
oslo.service==1.31.0 oslo.service==2.8.0
oslo.upgradecheck==1.3.0 oslo.upgradecheck==1.3.0
oslo.utils==4.5.0 oslo.utils==4.5.0
oslo.versionedobjects==1.35.1 oslo.versionedobjects==1.35.1

View File

@ -210,7 +210,8 @@ class TestWSGIServer(base.BaseTestCase):
log=mock.ANY, log=mock.ANY,
keepalive=CONF.wsgi_keep_alive, keepalive=CONF.wsgi_keep_alive,
log_format=CONF.wsgi_log_format, log_format=CONF.wsgi_log_format,
socket_timeout=server.client_socket_timeout socket_timeout=server.client_socket_timeout,
debug=False,
) )

View File

@ -225,7 +225,8 @@ class Server(object):
log=LOG, log=LOG,
keepalive=CONF.wsgi_keep_alive, keepalive=CONF.wsgi_keep_alive,
log_format=CONF.wsgi_log_format, log_format=CONF.wsgi_log_format,
socket_timeout=self.client_socket_timeout) socket_timeout=self.client_socket_timeout,
debug=CONF.wsgi_server_debug)
@property @property
def process_launcher(self): def process_launcher(self):

View File

@ -38,7 +38,7 @@ oslo.privsep>=2.3.0 # Apache-2.0
oslo.reports>=1.18.0 # Apache-2.0 oslo.reports>=1.18.0 # Apache-2.0
oslo.rootwrap>=5.15.0 # Apache-2.0 oslo.rootwrap>=5.15.0 # Apache-2.0
oslo.serialization>=2.25.0 # Apache-2.0 oslo.serialization>=2.25.0 # Apache-2.0
oslo.service>=1.31.0 # Apache-2.0 oslo.service>=2.8.0 # Apache-2.0
oslo.upgradecheck>=1.3.0 # Apache-2.0 oslo.upgradecheck>=1.3.0 # Apache-2.0
oslo.utils>=4.5.0 # Apache-2.0 oslo.utils>=4.5.0 # Apache-2.0
oslo.versionedobjects>=1.35.1 # Apache-2.0 oslo.versionedobjects>=1.35.1 # Apache-2.0