Commit 0acc9ea8 authored by Thomas Goirand's avatar Thomas Goirand
Browse files

Merge tag '2.8.0' into debian/yoga

oslo.service 2.8.0 release

meta:version: 2.8.0
meta:diff-start: -
meta:series: yoga
meta:release-type: release
meta:pypi: yes
meta:first: no
meta:release:Author: Hervé Beraud <hberaud@redhat.com>
meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
meta:release:Change-Id: I0d1110ef372d24155977a2a3262ec3ea8098dccd
meta:release:Code-Review+1: Lajos Katona <katonalala@gmail.com>
meta:release:Code-Review+1: Rodolfo Alonso <ralonsoh@redhat.com>
meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
meta:release:Workflow+1: Thierry Carrez <thierry@openstack.org>
parents f1d49332 6552b9a8
......@@ -2,7 +2,7 @@
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-python3-xena-jobs
- openstack-python3-yoga-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
......@@ -88,6 +88,11 @@ wsgi_opts = [
"If an incoming connection is idle for this number of "
"seconds it will be closed. A value of '0' means "
"wait forever."),
cfg.BoolOpt('wsgi_server_debug',
default=False,
help="True if the server should send exception tracebacks to "
"the clients on 500 errors. If False, the server will "
"respond with empty bodies."),
]
ssl_opts = [
......
......@@ -86,7 +86,8 @@ def _detailed_dump_frames(f, thread_index):
def _find_objects(t):
return [o for o in gc.get_objects() if isinstance(o, t)]
return [o for o in gc.get_objects()
if hasattr(o, "__class__") and isinstance(o, t)]
def _capture_profile(fname=''):
......
......@@ -348,7 +348,7 @@ class BackOffLoopingCall(LoopingCallBase):
if timeout > 0 and self._error_time + idle > timeout:
raise LoopingCallTimeOut(
_('Looping call timed out after %.02f seconds')
% self._error_time)
% (self._error_time + idle))
self._error_time += idle
return idle
......
......@@ -180,7 +180,7 @@ class Server(service.ServiceBase):
'custom_pool': self._pool,
'log': self._logger,
'log_format': self.conf.wsgi_log_format,
'debug': False,
'debug': self.conf.wsgi_server_debug,
'keepalive': self.conf.wsgi_keep_alive,
'socket_timeout': self.client_socket_timeout
}
......
---
features:
- |
A new config options, ``[DEFAULT] wsgi_server_debug``, has been added.
This allows admins to configure whether the server should send exception
tracebacks to the clients on HTTP 500 errors. This defaults to ``False``,
preserving previous behavior.
---
fixes:
- |
Fix the backdoor helper method fo() to also work when there are objects
present in the current python instance that do not have a __class__
attribute.
......@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
xena
wallaby
victoria
ussuri
......
=========================
Xena Series Release Notes
=========================
.. release-notes::
:branch: stable/xena
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment