- 29 Aug, 2022 3 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
-
Thomas Goirand authored
oslo.limit 2.0.1 release meta:version: 2.0.1 meta:diff-start: - meta:series: zed meta:release-type: release meta:pypi: yes meta:first: no meta:release:Author: Elod Illes <elod.illes@est.tech> meta:release:Commit: Elod Illes <elod.illes@est.tech> meta:release:Change-Id: Ic901302945f50d03c57e04dc519177669fa80d21 meta:release:Code-Review+1: Daniel Bengtsson <dbengt@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>
-
- 27 May, 2022 1 commit
-
-
Hervé Beraud authored
Change-Id: I0a7d70a24c527a03930887d4d1ee1214462c8de3
-
- 13 May, 2022 2 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
oslo.limit 1.5.1 release meta:version: 1.5.1 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: Ib493c2bd32c1bcef28d971724442abc2a2690b66 meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org> meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech> meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
-
- 05 May, 2022 1 commit
-
-
Hervé Beraud authored
In Zed cycle testing runtime, we are targetting to drop the python 3.6/3.7 support, project started adding python 3.8 as minimum, example nova: - https://github.com/openstack/nova/blob/56b5aed08c6a3ed81b78dc216f0165ebfe3c3350/setup.cfg#L13 Also indicates that we support python 3.9. Change-Id: I206acb8e50a404e76766daf7439aed258ccfa499
-
- 05 Apr, 2022 1 commit
-
-
Zuul authored
-
- 24 Mar, 2022 2 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
-
- 22 Mar, 2022 1 commit
-
-
Zuul authored
-
- 15 Mar, 2022 1 commit
-
-
melanie witt authored
In change I22234e0bb6b3a1cecb29a6b99a3afcd02ffdbf5f added a get_registered_limits() interface but missed making it work with the Enforcer cache because caching was implemented in a higher layer, _get_limit() and get_registered_limits() could not make use of _get_limit(). This moves the caching logic to where limits are retrieved from keystone, so that get_registered_limits() will use caching and any interfaces that might be added in the future will be able to benefit from using the cache. Closes-Bug: #1964848 Change-Id: I28cdd4d3f4927b94acea3309b36999850cf2ee2a
-
- 08 Mar, 2022 4 commits
-
-
melanie witt authored
This adds a doc page for oslo.limit config options by auto-generating them. Change-Id: I49070fdbf2172f87bafd4d2bd08af282c9ef29a4 (cherry picked from commit 9f7a66a2)
-
Takashi Kajinami authored
This fixes how the opts data is formatted to fix auto-generation of config file using oslo-config-generator with oslo.limit entry point. Closes-Bug: #1962406 Change-Id: I176a7b2b8e2edb50659783a2139c3cc13e8f2f53 (cherry picked from commit ce5aa7dc)
-
Zuul authored
-
Zuul authored
-
- 04 Mar, 2022 4 commits
-
-
OpenStack Release Bot authored
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for zed. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I51c6dd2064f8da833c1302db9b42858db9d5ada8
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/yoga. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/yoga. Sem-Ver: feature Change-Id: Ifd733042b819aa64c417730b5587140700595a30
-
OpenStack Release Bot authored
Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/yoga branch, tests will continue to use the upper-constraints list on master. Change-Id: Ie2d096d324ffceb9f63cc0e727516c35602b6698
-
OpenStack Release Bot authored
Change-Id: I7bfec3b73438fb558aebf749eb2ceb71a2c8a96d
-
- 03 Mar, 2022 1 commit
-
-
melanie witt authored
This adds a doc page for oslo.limit config options by auto-generating them. Change-Id: I49070fdbf2172f87bafd4d2bd08af282c9ef29a4
-
- 27 Feb, 2022 1 commit
-
-
Takashi Kajinami authored
This fixes how the opts data is formatted to fix auto-generation of config file using oslo-config-generator with oslo.limit entry point. Closes-Bug: #1962406 Change-Id: I176a7b2b8e2edb50659783a2139c3cc13e8f2f53
-
- 21 Feb, 2022 2 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
oslo.limit 1.5.0 release meta:version: 1.5.0 meta:diff-start: - meta:series: yoga meta:release-type: release meta:pypi: yes meta:first: yes meta:release:Author: melanie witt <melwittt@gmail.com> meta:release:Commit: melanie witt <melwittt@gmail.com> meta:release:Change-Id: Ib13eb3644c35cbf1d011ccc54264f73f896cf768 meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com> meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech> meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
-
- 21 Jan, 2022 2 commits
-
-
melanie witt authored
We currently have a public Enforcer interface for getting limits and calculating usage but it is not yet possible to retrieve only limits without calculating usage. While working on unified limits support in nova, we realized we need a way to get limits only. In nova there are legacy APIs for showing quota limits and initially we will provide compat by proxying to keystone to get the limits. This adds public interfaces for getting limits to Enforcer. Related to blueprint unified-limits-nova Change-Id: I22234e0bb6b3a1cecb29a6b99a3afcd02ffdbf5f
-
Dan Smith authored
This allows a caller to pass None for the project_id if it only wants it to check the registered limit for a given resource. This is useful for non-project-scoped resourced where we just want to make sure some global limit hasn't been exceeded. This would also be relevant for resources that are created by system-scoped users, such as host aggregates. Change-Id: I5fea0143b6a96b5f79bc273961e3e284a260e25e
-
- 10 Jan, 2022 3 commits
-
-
Dan Smith authored
The calculate_usage interface was added recently to allow consumers to probe limits and usage without requiring the enforce behavior workflow. If a limit was passed to it that was not registered in keystone, get_project_limits() would raise a ProjectOverLimit exception itself to abort the process immediately, providing the "unregistered means zero" behavior. This works fine for the enforce workflow, but not the calculate one. This changes get_project_limits() to just return a zero limit for a missing one, which will be considered by the enforce workflow in the same way, keeping the existing behavior. It will merely be reported by the calculate workflow, which is the desired change. Change-Id: Iaab1f0d5eb0da9a667267537d86f6c70bc8db51d
-
Zuul authored
-
Zuul authored
-
- 18 Oct, 2021 1 commit
-
-
melanie witt authored
This adds caching of resource limits for an Enforcer in order to improve performance when repeated limit checks are needed. The cache lasts the lifetime of an Enforcer and is enabled by default. It can be disabled by passing cache=False when instantiating an Enforcer. One usage pattern for a caching Enforcer would be to create an Enforcer per service request so that the caching lives only as long as the request. Change-Id: I8e43dceec76aecd2b2ae23a137e56519efe29777
-
- 11 Oct, 2021 1 commit
-
-
Takashi Kajinami authored
Currently the oslo.config.opts entry_points provided by oslo.limit doesn't include options for auth plugins, thus the parameters to define credentials like username, password and etc are not picked up by oslo-config-generator. This adds the options for auth plugin options to the entry point so that the auth parameters are included by the generated config files and users can easily find the parameters to define the required user credential. Note that keystoneauth provides several plugins but this change covers only password plugins, assuming the password authentication is most popularly used. Change-Id: Ib440f58b589076677be9e90dd960cd4459e63746
-
- 05 Oct, 2021 1 commit
-
-
Zuul authored
-
- 04 Oct, 2021 1 commit
-
-
Zuul authored
-
- 29 Sep, 2021 1 commit
-
-
Thomas Goirand authored
-
- 17 Sep, 2021 1 commit
-
-
Thomas Goirand authored
-
- 10 Sep, 2021 2 commits
-
-
OpenStack Release Bot authored
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for yoga. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ic2bf80ec8f183476facb9710be968050641532e0
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/xena. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/xena. Sem-Ver: feature Change-Id: If079ffb950122121a9cd9254cce28bf62106ed57
-
- 13 Aug, 2021 1 commit
-
-
wangzihao authored
Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1]https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I2ea9570dcf018c484054d8078f6e5a767b23dd82
-
- 12 Aug, 2021 1 commit
-
-
wangzihao authored
The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I1d65fb9d8d302ff1e3f33e92b668b2241741e7e0
-
- 09 Jun, 2021 1 commit
-
-
Dan Smith authored
This adds a fixture that can be used by consuming projects to simulate a set of limits in keystone, without requiring actual keystone. Currently, consumers have to mock oslo.limit internals (at least) in order to do testing. Change-Id: If72050e90ca8b03e26d128c7bbcef6bbea92b501
-