Commit Graph

91 Commits

Author SHA1 Message Date
Takashi Kajinami 65e33466ae Remove fallback for old oslo.context
The get_logging_values method was added in oslo.context 2.0.0[1].

[1] 22ad2c2c591f16012a75c99bd11b2f30d35bffff

Closes-Bug: #1715148
Change-Id: Idb31334674805e821cf5c34b9553b7002d158b6c
2024-03-30 18:26:58 +00:00
Takashi Kajinami 631b2f62dc Bump hacking
hacking 2.0.x or 3.0.x is too old.

Change-Id: If6b2d64febbf00814503eccd59dd9dadd330e0ba
2024-02-06 15:16:17 +09:00
Takashi Kajinami 7ed065f38d Add system scope information to default user identity string
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
2022-04-19 17:08:58 +09:00
Sean McGinnis 105eadbbac
Remove monotonic usage
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>
2020-05-04 17:26:30 -05:00
Hervé Beraud 55ef517065 drop use of six
Change-Id: I0ad972f48ee6bc331b96aa67bd7e69c97fa8e2c3
2020-03-12 09:28:33 +01:00
Natal Ngétal 1d4c0f42f9 Cap bandit below 1.6.0 version and update sphinx and limit monotonic.
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
2019-05-14 18:42:13 +02:00
Stephen Finucane d0cd199ce8 Fix lower-constraints job
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>
2018-08-10 15:56:56 -04:00
OpenStack Proposal Bot bed1d627ff Updated from global requirements
Change-Id: I03da89b9a75c0be8a985507d557c7ec926517225
2018-03-15 07:48:47 +00:00
OpenStack Proposal Bot a36f2e77ec Updated from global requirements
Change-Id: I4a84df9f632b0d507c751263aba0f25c377ff55d
2018-03-04 10:22:36 +00:00
OpenStack Proposal Bot 9ca8592e92 Updated from global requirements
Change-Id: Iccbdf46842c2d8e34a2b2e0f32deed5223b1e528
2017-12-19 01:38:37 +00:00
OpenStack Proposal Bot 9bedca4547 Updated from global requirements
Change-Id: If52458163b83ea78bc1a1b295f3d5cf739d07873
2017-11-29 09:15:04 +00:00
OpenStack Proposal Bot fc624441f4 Updated from global requirements
Change-Id: I728effe49669c04a465d84ac3b3f78308cc5c29f
2017-11-16 11:21:21 +00:00
OpenStack Proposal Bot 70920f8f08 Updated from global requirements
Change-Id: Id55f64aff89b454d6a9cb6462c9911a133204e65
2017-11-12 21:13:39 +00:00
OpenStack Proposal Bot 4302d98b5c Updated from global requirements
Change-Id: Ic39739fe4b08f6c94fc127421b19f716dec67c4d
2017-11-03 01:24:36 +00:00
OpenStack Proposal Bot fa27567b73 Updated from global requirements
Change-Id: Iada846288454bc380bbaf7aad4013d409124f09f
2017-10-15 17:07:32 +00:00
OpenStack Proposal Bot 2c139a13bf Updated from global requirements
Change-Id: Id4ccb968d08e8386f643f4c41603a0387b66b2ca
2017-09-11 21:28:13 +00:00
OpenStack Proposal Bot 8bb44cdedd Updated from global requirements
Change-Id: I329fe25a69ac2d18a5ea38b9ac4bed50c9466fac
2017-07-18 01:54:49 +00:00
OpenStack Proposal Bot 51889f4832 Updated from global requirements
Change-Id: I052c7f9df68be3e09e091ed4d937dce023cd6b95
2017-06-15 16:32:53 +00:00
OpenStack Proposal Bot 897144678e Updated from global requirements
Change-Id: I6d4cbefb369c15d2cfd3d3af44c6466c8736a702
2017-06-02 02:34:59 +00:00
OpenStack Proposal Bot a1b924d948 Updated from global requirements
Change-Id: Ie4369896e11557f34fafb08b8af4b8a5ea59a10b
2017-05-26 17:27:31 +00:00
OpenStack Proposal Bot e568abd6ff Updated from global requirements
Change-Id: If61303cceaec8a336fa39b23cfae89582f11a61a
2017-05-24 00:52:37 +00:00
Andrea Frittoli da55f6ff1f Oslo i18n 3.15.2 has broken deps
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
2017-05-23 11:15:35 +01:00
OpenStack Proposal Bot f9a0828738 Updated from global requirements
Change-Id: I82bd97fb8d02da79e95fb1cb2a437d387f78dd7c
2017-04-12 04:20:05 +00:00
OpenStack Proposal Bot 07de1eed16 Updated from global requirements
Change-Id: Ia5df2a4b98422f9fb3c92370c956b7c6309b5b3d
2017-03-13 19:39:58 +00:00
OpenStack Proposal Bot 7bbd4b530a Updated from global requirements
Change-Id: I831ed1b4d9b314eb0db6516d21cda8d504f1beb3
2017-03-03 00:03:04 +00:00
OpenStack Proposal Bot 2b2324e3a7 Updated from global requirements
Change-Id: If2b23abb43851282e25b3cfe71024ff0a6512556
2017-02-10 09:48:22 +00:00
OpenStack Proposal Bot eca5c587a8 Updated from global requirements
Change-Id: Ic1ac449aae19680f9def0a76c514464824655137
2016-11-09 04:22:49 +00:00
OpenStack Proposal Bot fbe41b0f09 Updated from global requirements
Change-Id: Iee92a32eb063da126eddfddb3eafcd8ef8b69e20
2016-11-06 02:05:47 +00:00
OpenStack Proposal Bot 3de3f4927b Updated from global requirements
Change-Id: I4e69a36dc53e7664b60d4d4b54d6a387169ff5ca
2016-11-02 15:39:11 +00:00
Victor Stinner 7d1ef90316 Add a filter to rate limit logs
* 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
2016-09-19 15:09:43 +02:00
OpenStack Proposal Bot ea0b6e9a5c Updated from global requirements
Change-Id: I26d7caa4247046e8978f34ae816dcf44b507ddf9
2016-08-24 01:37:28 +00:00
OpenStack Proposal Bot 573e049edd Updated from global requirements
Change-Id: I8e38b3cf9b69c1e01bf15d8147f3d26508371017
2016-08-18 05:55:50 +00:00
OpenStack Proposal Bot 8a3fdb3b39 Updated from global requirements
Change-Id: If955579506221ffbed63e41b4eb70144cbe56da8
2016-08-08 10:47:03 +00:00
OpenStack Proposal Bot 7757808a34 Updated from global requirements
Change-Id: Idc3335a62ef148f8dd1fe273711a44c41fe91bf2
2016-08-04 02:40:44 +00:00
OpenStack Proposal Bot 656cef3e3b Updated from global requirements
Change-Id: I43fd129eba81f7f0bf0cb3b159390f0c137d6021
2016-07-29 02:33:52 +00:00
OpenStack Proposal Bot 12de1274b3 Updated from global requirements
Change-Id: I3922282904985f709ecc467ac103d0842c143d60
2016-07-18 18:14:36 +00:00
OpenStack Proposal Bot 5082d92e51 Updated from global requirements
Change-Id: Ibbf288c7c8f2bc2e3398a6251ac6c578d567e0e7
2016-07-09 19:25:52 +00:00
OpenStack Proposal Bot e3bd7e6af5 Updated from global requirements
Change-Id: I93447e6e7675dc33113efa1413d3db349a68a0ed
2016-06-30 18:48:22 +00:00
OpenStack Proposal Bot b694235dcc Updated from global requirements
Change-Id: I370039140df99aafa58e883a4b1b64377281cfae
2016-06-08 22:03:00 +00:00
OpenStack Proposal Bot 070cc7ae8d Updated from global requirements
Change-Id: I1b13196ec6b8a65d081ea6d8b4a1ff0a166a798f
2016-06-03 18:17:59 +00:00
OpenStack Proposal Bot 5c551893aa Updated from global requirements
Change-Id: I5ab8b47d78d62d010f2979c4ce60af577fa34b93
2016-06-01 13:53:12 +00:00
OpenStack Proposal Bot 3b45fbc34a Updated from global requirements
Change-Id: If4bd8abf961edc32cb92c8030f528c6995b8639b
2016-05-31 03:05:18 +00:00
Joshua Harlow 273ef5378e Remove direct dependency on babel
The dependency on oslo.i18n already forces this requirement.

Change-Id: Iec47bcb18fd57e78de0bf5af582b9c7cd34cf7e9
2016-04-18 13:23:47 -07:00
OpenStack Proposal Bot 3b1d0f5ffb Updated from global requirements
Change-Id: I7f96bf955bbd2360bd17610a8af6b2605c37b10e
2016-04-13 12:47:30 +00:00
OpenStack Proposal Bot 225828f690 Updated from global requirements
Change-Id: Id28e6727483257ec8ff5b536efa13a9892f1a958
2016-04-08 00:32:05 +00:00
OpenStack Proposal Bot 5d9c9f0dc3 Updated from global requirements
Change-Id: I9025770693d4b15efe4bd3556e6704326b1c915e
2016-04-02 16:16:18 +00:00
OpenStack Proposal Bot 60f2aa361c Updated from global requirements
Change-Id: I2b71ae6e3f198a9b070992f3bd8c4be848738f90
2016-02-26 01:52:23 +00:00
OpenStack Proposal Bot 961e35156f Updated from global requirements
Change-Id: Ifa2dc91d7efce9dad74671554e535d25308d5c75
2016-02-20 21:59:32 +00:00
OpenStack Proposal Bot dbf33a8bb0 Updated from global requirements
Change-Id: I88a69cf22359870791b547dd2a93588bf15262eb
2016-01-26 23:27:54 +00:00
OpenStack Proposal Bot 88c317195d Updated from global requirements
Change-Id: Ic3df9c38bb025fea07aa408135c0706d724a141c
2016-01-23 10:52:42 +00:00