- 12 Oct, 2021 2 commits
-
-
Michal Arbet authored
-
Michal Arbet authored
oslo.config 8.5.1 release meta:version: 8.5.1 meta:diff-start: - meta:series: wallaby 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: I7d25e62e4773d5124c800c42bb83d04d19cfb402 meta:release:Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org> meta:release:Workflow+1: Thierry Carrez <thierry@openstack.org>
-
- 16 Aug, 2021 1 commit
-
-
Thomas Goirand authored
-
- 02 Jun, 2021 1 commit
-
-
David Vallee Delisle authored
This is because there's no yaml representer for i18n Messages object. This patch aims to add this representer and allow the generation of configurations using oslo.i18n strings. One example of this is cinder. Closes-bug: #1928582 Change-Id: I70ab87c9bed093cad883b6301b8a09753fc470d9 (cherry picked from commit e5fc313e)
-
- 06 May, 2021 1 commit
-
-
Daniel Bengtsson authored
Call the parent with the version parameter. Change-Id: I20016e299077a7b678ecabceacb21cc0c7d306c8 (cherry picked from commit 1f16007c)
-
- 27 Apr, 2021 1 commit
-
-
Hervé Beraud authored
The ``HostDomain`` config type have been added few months ago [1] however the config option have been forgotten and this new type isn't importable. When we try to import this type without defining a new related cfg option we get the following issue: ``` AttributeError: module 'oslo_config.cfg' has no attribute 'HostDomain' ``` These changes allow us to import this new type and allow us to use it in our configs: ``` >>> from oslo_config import cfg >>> foo = cfg.HostDomain('foo') >>> foo.type.__call__("1") ... During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "~/oslo.config/oslo_config/types.py", line 893, in __call__ raise ValueError( ValueError: 1 is not a valid host address >>> foo.type.__call__("host_name") 'host_name' ``` Also properly initialize HostDomain because The HostDomain class wasn't calling super in it's __init__() method, which resulted in the type_name not being set properly for instances of that class. [1] https://opendev.org/openstack/oslo.config/commit/6480356928c9ae6169ea1e5a5b5f1df3d6e0dc75 Change-Id: Ie947803f61ba0ef080018e0447de894a400d7975 Closes-Bug: 1924283 (cherry picked from commit bb5e4cbe)
-
- 15 Apr, 2021 3 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/wallaby branch, tests will continue to use the upper-constraints list on master. Change-Id: I9bcb94dae06117ab81f4c07a6efa6862ee177711
-
OpenStack Release Bot authored
Change-Id: I56caa9902c80bc377f86e431333162716a544ba5
-
Daniel Bengtsson authored
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 Change-Id: I383111df27815708b60bf93ab565e402bb42d230 (cherry picked from commit 2193fcc2)
-
- 08 Mar, 2021 4 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
-
Thomas Goirand authored
-
Thomas Goirand authored
oslo.config 8.5.0 release meta:version: 8.5.0 meta:diff-start: - meta:series: wallaby 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: Idbec8dc7663db40f3cda029e5b588071edc83f3b meta:release:Code-Review+2: Hervé Beraud <hberaud@redhat.com> meta:release:Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> meta:release:Workflow+1: Sean McGinnis <sean.mcginnis@gmail.com>
-
- 18 Feb, 2021 1 commit
-
-
Ben Nemec authored
This addresses CVE-2017-18342. I doubt anyone is actually using an old version of PyYAML with oslo.config at this point, but that means it shouldn't hurt to bump the minimum either. Change-Id: I4f440eb9511333ce70db4184857dcbcdd0ed1b97 Closes-Bug: 1839398
-
- 16 Jan, 2021 2 commits
-
-
likui authored
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html Change-Id: I407b2c9bc6e9c1cd5b070a1cdca7c0eabe19b0ca
-
Zuul authored
-
- 14 Jan, 2021 1 commit
-
-
Zuul authored
-
- 12 Jan, 2021 3 commits
-
-
Moisés Guimarães de Medeiros authored
Change-Id: I3f3b1dca78e2e9b2515231ccc6600b64f31039fb Signed-off-by:Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
Moisés Guimarães de Medeiros authored
Moving .zuul.d/project.yaml to .zuul.yaml as it is the only file in that folder and to look similar to other oslo repos. Change-Id: I787f57e57e5dd83d08dfaecca2405bf064c9f924
-
Moisés Guimarães de Medeiros authored
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 Change-Id: I83e50eade2cf9924424d763421e464e559c16a08
-
- 20 Dec, 2020 3 commits
-
-
Michal Arbet authored
-
Michal Arbet authored
-
Michal Arbet authored
oslo.config 8.3.3 release meta:version: 8.3.3 meta:diff-start: - meta:series: victoria meta:release-type: release meta:pypi: yes meta:first: no meta:release:Author: Daniel Bengtsson <dbengt@redhat.com> meta:release:Commit: Daniel Bengtsson <dbengt@redhat.com> meta:release:Change-Id: I6c54381078985a6af2788b9a876cc7f2351cdf21 meta:release:Code-Review+2: Hervé Beraud <hberaud@redhat.com> meta:release:Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> meta:release:Workflow+1: Sean McGinnis <sean.mcginnis@gmail.com>
-
- 26 Nov, 2020 1 commit
-
-
Zuul authored
-
- 24 Nov, 2020 1 commit
-
-
David Vallee Delisle authored
When troubleshooting, it's often interesting to see the deltas between the default or sample configs and the running configuration. The oslo_config.validator is a great tool to integrate this feature across all projects. It can also be easily captured by data collection tools like sosreports with the current deployment packages. Change-Id: I172d82f19a81282093b0d5f7ae4c1817801cd887 Signed-off-by:David Vallee Delisle <dvd@redhat.com>
-
- 05 Nov, 2020 1 commit
-
-
Zuul authored
-
- 03 Nov, 2020 2 commits
-
-
Hervé Beraud authored
Moving on py3 as the default runtime for tox to avoid to update this at each new cycle. Wallaby support officially the following runtimes [1]: - Python 3.6 - Python 3.8 During Victoria Python 3.7 was used as the default runtime [2] however this version isn't longer officially supported. [1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html#python-runtimes-for-wallaby [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria Change-Id: Iab5475c25b3ff1ffd0b10766ab0a5dbd4b1c821a
-
Zuul authored
-
- 23 Oct, 2020 1 commit
-
-
Hervé Beraud authored
HostDomain is like HostAddress with the support of _ character - RFC1033 openstack services are failing to start when a hostname with underscore _ is provided. Example: ``` overcloud-novacompute_edge1-0.internalapi.localdomain overcloud-novacompute_edge1-0.internalapi ``` Nova use `HostAddressOpt` to define `live_migration_inbound_addr`, and if a hostname with underscore is present in the config file then the service fail to start. Example: ``` /etc/nova/nova.conf live_migration_inbound_addr = overcloud-novacompute_edge1-0.internalapi.localdomain ``` FQDN is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System (DNS). Underscore are allowed by RFC1033 [1][2][3]. Indeed, while a hostname may not contain other characters, such as the underscore character (_), other DNS names may contain the underscore.[1][2]. Systems such as DomainKeys and service records use the underscore. These changes allow us to use underscore with the `HostDomain`. [1] https://www.ietf.org/rfc/rfc1912.txt [2] https://www.ietf.org/rfc/rfc1033.txt [3] http://domainkeys.sourceforge.net/underscore.html Co-authored-by:
Daniel Bengtsson <dbengt@redhat.com> Change-Id: I0a0670207f96a987996d329e5efa9a5eb2ce000c Closes-Bug: #1892044 (cherry picked from commit 64803569)
-
- 22 Oct, 2020 2 commits
-
-
Zuul authored
-
Hervé Beraud authored
HostDomain is like HostAddress with the support of _ character - RFC1033 openstack services are failing to start when a hostname with underscore _ is provided. Example: ``` overcloud-novacompute_edge1-0.internalapi.localdomain overcloud-novacompute_edge1-0.internalapi ``` Nova use `HostAddressOpt` to define `live_migration_inbound_addr`, and if a hostname with underscore is present in the config file then the service fail to start. Example: ``` /etc/nova/nova.conf live_migration_inbound_addr = overcloud-novacompute_edge1-0.internalapi.localdomain ``` FQDN is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System (DNS). Underscore are allowed by RFC1033 [1][2][3]. Indeed, while a hostname may not contain other characters, such as the underscore character (_), other DNS names may contain the underscore.[1][2]. Systems such as DomainKeys and service records use the underscore. These changes allow us to use underscore with the `HostDomain`. [1] https://www.ietf.org/rfc/rfc1912.txt [2] https://www.ietf.org/rfc/rfc1033.txt [3] http://domainkeys.sourceforge.net/underscore.html Co-authored-by:
Daniel Bengtsson <dbengt@redhat.com> Change-Id: I0a0670207f96a987996d329e5efa9a5eb2ce000c Closes-Bug: #1892044
-
- 15 Oct, 2020 3 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
-
Thomas Goirand authored
-
- 12 Oct, 2020 1 commit
-
-
Zuul authored
-
- 22 Sep, 2020 3 commits
-
-
Stephen Finucane authored
This is necessary to enable parallel builds. As noted in the Sphinx docs [1], this method has the following function: Merge in data regarding docnames from a different domaindata inventory (coming from a subprocess in parallel builds). Given how simple the datatypes we're storing are, this is pretty easy to implement. [1] https://www.sphinx-doc.org/en/master/extdev/domainapi.html#sphinx.domains.Domain.merge_domaindata Change-Id: I46c7903b159f99c68896a4c3c4d20daef848f9c2 Signed-off-by:
Stephen Finucane <sfinucan@redhat.com> Closes-Bug: #1895162 (cherry picked from commit 01f63b87)
-
Zuul authored
-
Hervé Beraud authored
Introduced changes: - pre-commit config and rules - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks. - Applying fixes for pre-commit compliance in all code. Also commit hash will be used instead of version tags in pre-commit to prevend arbitrary code from running in developer's machines. pre-commit will be used to: - trailing whitespace; - Replaces or checks mixed line ending (mixed-line-ending); - Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker); - Checks that non-binary executables have a proper shebang (check-executables-have-shebangs); - Check for files that contain merge conflict strings (check-merge-conflict); - Check for debugger imports and py37+ breakpoint() calls in python source (debug-statements); - Attempts to load all yaml files to verify syntax (check-yaml); - Run flake8 checks (flake8) (local) For further details about tests please refer to: https://github.com/pre-commit/pre-commit-hooks Change-Id: I65a40bbff17d92b959764846801d5e0ddd3b97ce Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 13 Sep, 2020 2 commits
-
-
Thomas Goirand authored
-
Thomas Goirand authored
oslo.config 8.3.2 release meta:version: 8.3.2 meta:diff-start: - meta:series: victoria meta:release-type: release meta:pypi: yes meta:first: no meta:release:Author: Ben Nemec <bnemec@redhat.com> meta:release:Commit: Ben Nemec <bnemec@redhat.com> meta:release:Change-Id: I3ae7c0913864b949dfb01fd31e1c7567fc4b7fd7 meta:release:Code-Review+2: Hervé Beraud <hberaud@redhat.com> meta:release:Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> meta:release:Workflow+1: Sean McGinnis <sean.mcginnis@gmail.com>
-