[release-announce] oslo.privsep 2.6.0 (xena)
no-reply at openstack.org
no-reply at openstack.org
Mon Jun 28 10:44:41 UTC 2021
We joyfully announce the release of:
oslo.privsep 2.6.0: OpenStack library for privilege separation
This release is part of the xena release series.
The source is available from:
https://opendev.org/openstack/oslo.privsep
Download the package from:
https://pypi.org/project/oslo.privsep
Please report issues through:
https://bugs.launchpad.net/oslo.privsep/+bugs
For more details, please see below.
2.6.0
^^^^^
New Features
* Add "timeout" as parameter to "PrivContext" and add
"entrypoint_with_timeout" decorator to cover the issues with
commands which take random time to finish. "PrivsepTimeout" is
raised if timeout is reached.
"Warning": The daemon (the root process) task won't stop when
timeout is reached. That means we'll have less available threads if
the related thread never finishes.
* "PrivContext" accepts a new string parameter called "logger_name"
to define the logger we want to use for the daemon logs of this
context.
By default all contexts use "oslo_privsep.daemon", but in some cases
we may need finer grained log levels, for example nova running in
debug mode could log its own privsep calls on INFO level regardless,
but leave all libraries' privsep calls, such as os-brick's, to be
logged in the normal DEBUG level.
See bug 1922052.
(https://bugs.launchpad.net/nova/+bug/1922052)
Changes in oslo.privsep 2.5.0..2.6.0
------------------------------------
f7f3349 Add timeout to PrivContext and entrypoint_with_timeout decorator
165cdde Upgrade the pre-commit-hooks version
bd989a3 setup.cfg: Replace dashes with underscores
71c732c Allow finer grained log levels
22557b4 Add Python3 xena unit tests
c4d0534 Update master for stable/wallaby
5f5db61 Fix requirements issues.
dc97a45 Use TOX_CONSTRAINTS_FILE
55dd214 Use py3 as the default runtime for tox
Diffstat (except docs and test files)
-------------------------------------
.pre-commit-config.yaml | 10 ++--
.zuul.yaml | 3 +-
lower-constraints.txt | 54 -------------------
oslo_privsep/comm.py | 54 ++++++++++++-------
oslo_privsep/daemon.py | 60 ++++++++++------------
oslo_privsep/functional/test_daemon.py | 43 ++++++++++++++++
oslo_privsep/priv_context.py | 31 +++++++++--
...nt_with_timeout_decorator-9aab5a74153b3632.yaml | 11 ++++
.../notes/context-logger-06b475357bebadc7.yaml | 15 ++++++
releasenotes/source/index.rst | 1 +
releasenotes/source/wallaby.rst | 6 +++
setup.cfg | 8 +--
tox.ini | 12 ++---
16 files changed, 301 insertions(+), 139 deletions(-)
More information about the Release-announce
mailing list