- 13 May, 2022 6 commits
-
-
Janitor authored
Changes-By: lintian-brush Fixes: lintian: out-of-date-standards-version See-also: https://lintian.debian.org/tags/out-of-date-standards-version.html
-
Janitor authored
Changes-By: lintian-brush Fixes: lintian: upstream-metadata-file-is-missing See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html Fixes: lintian: upstream-metadata-missing-repository See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html
-
Janitor authored
+ Replace python_distutils buildsystem with pybuild. Changes-By: lintian-brush Fixes: lintian: package-uses-old-debhelper-compat-version See-also: https://lintian.debian.org/tags/package-uses-old-debhelper-compat-version.html
-
Janitor authored
Changes-By: lintian-brush Fixes: lintian: insecure-copyright-format-uri See-also: https://lintian.debian.org/tags/insecure-copyright-format-uri.html
-
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>
-
- 24 Mar, 2022 2 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
-
- 08 Mar, 2022 2 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)
-
- 04 Mar, 2022 2 commits
-
-
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
-
- 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
-
- 07 Jun, 2021 1 commit
-
-
Dan Smith authored
In multiple situations, it is necessary to be able to probe the limits set for a project without actually enforcing. Examples: 1. Exposing a usage API where we want to not only report the current usage, but the limit as well. Otherwise clients have to do their own calls to keystone and correlation to get a single integer limit value, which we should be able to expose for them. 2. When checking quota as part of a long-running process of consuming an unbounded data stream, we need to be able to determine how much quota remains so that we can stop the transfer if we exceed the limit. Without this, we have to periodically call to keystone during the transfer, which is expensive and could fail. This patch adds a calculate_usage() method to the Enforcer which calculates the usage using the enforcement model and returns a mapping of resource names to namedtuples that contain limit and usage information. Change-Id: Ic0632cc5ec52aefb85a04f879651963bfa54dcbe
-
- 18 May, 2021 1 commit
-
-
wu.shiming authored
[1] https://github.com/pre-commit/pre-commit-hooks/commit/9136088a246768144165fcc3ecc3d31bb686920a Change-Id: I45f42b47cb3ba45416dc7e4325b4efd635df4a92
-
- 16 Apr, 2021 3 commits
- 15 Apr, 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 xena. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I8a12f0dcdec43f3a5738858bafa210fdb6f1bac1
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: I0ee8832bb010b0929ba0e7a0dd00fa9a399004e7
-
- 23 Mar, 2021 1 commit
-
-
Hervé Beraud authored
This patch is the merge of 2 current fixes that need to be solved in the same time. Indeed each issue lock our gates independently. Dropping lower constraints testing We facing errors related to the new pip resolver, this topic was discussed on the ML and QA team proposed to to test lower-constraints [1]. I propose to drop this test because the complexity and recurring pain needed to maintain that now exceeds the benefits provided by this mechanismes. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html Move flake8 as a pre-commit local target. The goal here is to avoid conflicts between flake8 and hacking version each 2 days. Inspired from nova's approach[1]. The flake8 version to install will be determined by hacking and requirements[2] will stay aligned instead of relying on different versions. [1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35 [2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1 Co-authored-by:
Daniel Bengtsson <dbengt@redhat.com> Change-Id: I04a845fd98f0d21f7a21dae9f184117263390dd1
-
- 14 Jan, 2021 1 commit
-
-
Hervé Beraud authored
UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ [2] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: I1a006cf4368cc18c34dd6f236ecfe966e6b09388
-
- 03 Jan, 2021 1 commit
-
-
xuanyandong authored
Change-Id: I09d641c27372bba638aa8be207d27d80c8ec01ab
-