The get_logging_values method was added in oslo.context 2.0.0[1].
[1] 22ad2c2c591f16012a75c99bd11b2f30d35bffff
Closes-Bug: #1715148
Change-Id: Idb31334674805e821cf5c34b9553b7002d158b6c
As part of Secure RBAC work, support for system users(eg. system admin)
is being added. However current default format does not include
the system scope information so we can't determine whether the context
is non-scoped or system-scoped.
This change updates the default logging_user_identity_format so that
system scope is logged by default.
Change-Id: I7982cdb280599fb38362eb837cb527592267b91f
The monotonic package was needed for monotonic time operations when
running under Python runtimes older than 3.3. Since we now only support
versions higher than this, this third party package requirement can now
be removed.
Change-Id: Id250b92d11aeb6fa02e264610bfe8e8c71df7e26
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Bandit 1.6.0 accidentally changed how to exclusion list option is
handled and breaks our use of it. Cap to the previous version until
bandit has has fixed the problem.
Sphinx 2.0 no longer works on python 2.7, so need to start capping it
there as well.
Limit monotonic to python < 3.3 and reflect the changes to
openstack/requirements introduced
in change Ib8c1bf08f5fa7463911602b0df19315907c81e04.
Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
Co-Authored-By: Hervé Beraud <hberaud@redhat.com>
Change-Id: I4c2a19fae55e8cfea2d5ae9603a1fb086b5db1bf
Resolve the following warning:
Package 'systemd-python' is used in systemd but not in
lower-constraints.txt
Also fix the lower bounds to match the lower-constraints.txt list.
Change-Id: I84bf8ec53cd80f19598d1139d21d18b4f0cadddc
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Oslo i18n removed babel from requirements but it has a runtime
dependency on it, so it fails to install.
g-r change: Ib77b3271a4e9861e391623ba5f03e5303512096a
Related-Bug: #1692773
Change-Id: I99afc304b2f0955a190ea5f298cdd1018bdf4ae4
* Add configuration options to enable rate limiting:
- rate_limit_interval
- rate_limit_burst
- rate_limit_except_level
* Add oslo_log.rate_limit submodule
* Add public functins:
- install_filter(burst, interval, except_level)
- uninstall_filter()
* Add unit tests
* Add a new dependency, monotonic, to get a monotonic clock
Default: rate limiting is disabled and logs at CRITICAL level are not
rate limited.
DocImpact
Change-Id: Ic58dafceefde1b109721a58631c223522bf4cc9c