summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update TOX_CONSTRAINTS_FILE for stable/2023.1stable/2023.1OpenStack Release Bot2023-02-241-2/+2
| | | | | | | | | | | | 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/2023.1 branch, tests will continue to use the upper-constraints list on master. Change-Id: I5e0926c7e33e798ab57925d65103e4d17d6ea895
* Update .gitreview for stable/2023.1OpenStack Release Bot2023-02-241-1/+2
| | | | Change-Id: Iaf933acd5ed339df7ef7f3204ed60b768c2e3c64
* [imageutils] Fix __str__ for QemuImgInfo6.1.0Brian Rosmaita2022-11-112-1/+4
| | | | | | | Code is calling 'appened' on a list; correct this to 'append'. Closes-bug: #1996426 Change-Id: I8729cf180f92f43519c942e22f3b285377a5612f
* Imported Translations from ZanataOpenStack Proposal Bot2022-09-101-4/+4
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ifc167609013d83f7140efd1ad912ae83e75af773
* Add Python3 antelope unit testsOpenStack Release Bot2022-09-091-1/+1
| | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for antelope. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Ida38facc856fd53162da9cd6e59eab1c10ab889f
* Update master for stable/zedOpenStack Release Bot2022-09-092-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/zed. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/zed. Sem-Ver: feature Change-Id: I9fc3a12e0596370e9d602e178ba40ba7f5e6a098
* Imported Translations from Zanata6.0.1OpenStack Proposal Bot2022-06-271-2/+21
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I2834d2d5427efca3ab83cd04fd603efc02aab19a
* Imported Translations from ZanataOpenStack Proposal Bot2022-06-211-2/+178
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ib718d3ebd82a9fa81528775569c779e389bb8fdd
* Merge "Remove deprecated helpers from oslo_utils.timeutils"6.0.0Zuul2022-06-133-135/+10
|\
| * Remove deprecated helpers from oslo_utils.timeutilsStephen Finucane2022-05-263-135/+10
| | | | | | | | | | | | | | | | Remove the 'isotime', 'strtime' and 'iso8601_from_timestamp' helpers from 'oslo_utils.timeutils'. These are all available in the stdlib now. Change-Id: If4afb9242b14c48cc70e409463865b7b644a919f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "Remove oslo_utils.fnmatch"Zuul2022-06-132-30/+5
|\ \ | |/
| * Remove oslo_utils.fnmatchStephen Finucane2022-05-182-30/+5
| | | | | | | | | | | | | | | | This has been deprecated for a long time. No need to keep it around any longer. Change-Id: I8273e164243e014a658b725a375e5632af211945 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "requirements: Remove explicit pbr dependency"Zuul2022-06-131-5/+0
|\ \ | |/
| * requirements: Remove explicit pbr dependencyStephen Finucane2022-05-181-5/+0
| | | | | | | | | | | | | | We don't use this at runtime. No need to install it. Change-Id: I5d7d526beebc39de2fa0ff8c6b1d2458c6a3d0bb Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "strutils: Defer import of pyparsing"5.0.0Zuul2022-05-311-4/+7
|\ \ | |/
| * strutils: Defer import of pyparsingStephen Finucane2022-05-181-4/+7
| | | | | | | | | | | | | | | | | | | | This is a slow import and the single user of it, the 'split_by_commas' helper, does not appear to have any users outside of python-glareclient (which is a dead project). We might want to remove the user at some point, but for now simply defer loading of the library. Change-Id: I91d0c6eec5333a660f995a9d1436e4b068693900 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "bindep: Use Python 3 devel packages"Zuul2022-05-301-3/+1
|\ \
| * | bindep: Use Python 3 devel packagesStephen Finucane2022-05-261-3/+1
| |/ | | | | | | | | Change-Id: I6dbb8650b0bc3448143ed88570ce33820710b156 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | Merge "Remove unnecessary unicode prefixes"Zuul2022-05-267-50/+47
|\ \ | |/ |/|
| * Remove unnecessary unicode prefixessongwenping2022-04-227-50/+47
| | | | | | | | Change-Id: Iaae10962581b84b4ae2af1a064dd27d78c05dd4d
* | Drop python3.6/3.7 support in testing runtimeHervé Beraud2022-05-051-3/+1
|/ | | | | | | | | | 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 Change-Id: I0f9f23514867820fcf1d6397d08cde0dd15f29c8
* fix strutils password regex4.13.0Hervé Beraud2022-03-103-0/+18
| | | | | | | | | | | | | Those regexes will fix Object style representation output. See the payload used in tests for details. This kind of output can be obtained by using the command: ``` $ openstack --debug ``` Co-Authored-By: Daniel Bengtsson <dbengt@redhat.com> Change-Id: I9024be93b109d1b64ca736546c0f69db7a5e06d0
* Add Python3 zed unit testsOpenStack Release Bot2022-03-041-1/+1
| | | | | | | | | | | 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: I21bd17a734cfbc893169ffb42931c36d864be1d8
* Update master for stable/yogaOpenStack Release Bot2022-03-042-0/+7
| | | | | | | | | | | | 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: If66133112990e5bcffa302b8802ded88f60a0116
* Fix formatting of release list4.12.2Pierre Riteau2022-02-071-14/+14
| | | | Change-Id: I678d0d3d9506709404d534dc1c68ed6f75445558
* Fix regex used to mask password4.12.1Hervé Beraud2022-01-113-1/+35
| | | | | | | | | | | | | Some use cases are poorly handled by the regex used to mask password. Indeed when the password contains quotes or double quotes in the middle such as `pass"word`, the mask_password method will return `***"word`. For more details please see https://bugs.launchpad.net/oslo.utils/+bug/1949623 Closes-Bug: #1949623 Change-Id: I941750b4d49d2d75f0831b24d6dd17f4040f70a2
* Merge "Update python testing classifier"Zuul2021-12-211-0/+2
|\
| * Update python testing classifierdengzhaosen2021-12-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Yoga testing runtime[1] has been updated to add py39 testing as voting. Unit tests update are handled by the job template change in openstack-zuul-job - https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286 this commit updates the classifier in setup.cfg file. [1] https://governance.openstack.org/tc/reference/runtimes/yoga.html Change-Id: I3a74a608fec5cc9f562c8a1cc99d3d35fc8d505a
* | Use LOG.warning instead of deprecated LOG.warnTakashi Kajinami2021-11-292-7/+7
|/ | | | | | | | | The LOG.warn method is deprecated[1] and the LOG.warning method should be used instead. [1] https://docs.python.org/3/library/logging.html#logging.warning Change-Id: If352bbb14a1a44fb2229e633d15e1bf1099fa425
* Add backing file format to the output4.12.0Dmitriy Rabotyagov2021-11-112-2/+19
| | | | | | | | | | | Since libvirt 6, it might be important to understand the format of the backing image [1] and verify it before operations. So we adding backing file format to the output of the QemuImgInfo [1] https://libvirt.org/kbase/backing_chains.html Change-Id: If83289882e79a973bc77f332408f8f7317351f6f
* Merge "QemuImgInfo: Fix inconsistent value format of encrypted"4.11.0Zuul2021-10-133-2/+11
|\
| * QemuImgInfo: Fix inconsistent value format of encryptedTakashi Kajinami2021-09-053-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | The qemu-img info command shows the encrpyed field in different formats according to the output format. When the default human format is used the field can be 'yes' or None while when json format is used the same field can be True or False. This change ensures the corresponding attribute has the consistent format regardless of the output format used. Closes-Bug: #1942682 Change-Id: I949f07582a708114fdfba76f1a05aa3a3e5c4f40
* | Merge "Changed minversion in tox to 3.18.0"Zuul2021-10-051-3/+3
|\ \
| * | Changed minversion in tox to 3.18.0wangzihao2021-08-121-3/+3
| |/ | | | | | | | | | | | | | | 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: I475fe7eac69350e5438cda7310eddd1cb6db813e
* | Add Python3 yoga unit testsOpenStack Release Bot2021-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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: Id181512a0c4d479d57497a8b22432a32ba561309
* | Update master for stable/xenaOpenStack Release Bot2021-09-102-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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: Ia84d6f887003f1368757c604d828e7badfc1ba66
* | setup.cfg: Replace dashes with underscoreswangzihao2021-08-201-4/+4
|/ | | | | | | | | | | | | | | | | | 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: I000dcc5db4e19e24f824a271c78e24529a8dd61a
* Modify UUID sentinel to support keystone-like UUIDs4.10.0Alexey Stupnikov2021-08-033-3/+25
| | | | | | | | | | | | | | Keystone User IDs and Project IDs are used in unit tests, but _UUIDSentinels() class doesn't generate UUIDs without hyphens. This patch makes backward compatible modifications to _UUIDSentinels() class and introduces keystoneidsentinel global that could be used in the same way as existing uuidsentinel. Original "UUID sentinel" change: I214ff21b461fa1ca4b83476e1d0a763efe986217 Related-Bug: #1746747 Change-Id: Idb3e893cc03d64ad0522b5e4cedfa30c4f4a2a2f
* QemuImgInfo: Skip deprecation warning when output is not passed4.9.2Takashi Kajinami2021-07-061-5/+6
| | | | | | | | | | | | | | | | | | | | | | Change 73eb0673f627aad382e08a816191b637af436465 deprecated usage of the human format and introduced a deprecatipon warning message which is shown unless format is explicitly set to 'json'. To avoid the deprecation warning, all usage of QemuImgInfo requires explicit definition of format='json'. This means that we should add the format parameter to all existing usage of QemuImgInfo even if output is blank as is described in the following example. QemuImgInfo() QemuImgInfo(output=None) However later we should revert these implementations again when we deprecated or remove the format parameter. These steps are very redundant. This change suppresses the warning message when output is blank so that we can avoid deprecation warnings without redundant update and revert. Change-Id: If1ec42dae757fa3d74c740a52c346701ea19f1c9
* Drop warnings enable filteryatinkarel2021-07-011-2/+0
| | | | | | | | | | | | [1] Enabled warnings without specifying category, leading to all sort of warnings enabled, this patch drops it and let it to consumers to enable warnings types which they are interested in. [1] https://review.opendev.org/c/openstack/oslo.utils/+/790429 Closes-Bug: #1934098 Change-Id: I822138c18e0932e8f7e3dc62267f167876c962ae
* Remove references to 'sys.version_info'4.9.1dengzhaosen2021-06-012-107/+6
| | | | | | We support Python 3.6 as a minimum now, making these checks no-ops. Change-Id: Ia183dc2f19bf08635fb830d603f2bed888765ef6
* Merge "Ussuri+ is python3 only and update python to python3"Zuul2021-05-261-1/+1
|\
| * Ussuri+ is python3 only and update python to python3dengzhaosen2021-05-061-1/+1
| | | | | | | | Change-Id: If3f844ee6bfebc16f15263dc03653cb2aba27bf2
* | Merge "Deprecate the fnmatch module."Zuul2021-05-262-0/+14
|\ \
| * | Deprecate the fnmatch module.Hervé Beraud2021-05-112-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | Oslo.utils's fnmatch module was added to fix the py2.7 fnmatch module who was not thread safe [1]. Python 2.7 is no longer supported so now we can use the stdlib's fnmatch module and deprecate the one of oslo.utils. [1] https://bugs.python.org/issue23191$ [2] https://opendev.org/openstack/oslo.utils/commit/e46a46ba90741987f1147afc56876e3d0d27e8a2 Change-Id: I538379f91d2ba415c566ada8d221b62b47ba80bb
* | Merge "Dropping lower constraints testing"Zuul2021-05-261-39/+0
|\ \
| * | Dropping lower constraints testingsongwenping2021-04-251-39/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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: Ib7db2f9aafa9b9a3acfb74ed33aef6c3355b4db8
* | Deprecate the human format on QemuImgInfoHervé Beraud2021-05-103-8/+37
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | ``human`` format parsing introduced many issue in the past. Each time qemu will update it's human format output we could be impacted by their changes and it could introduce new issues on oslo.utils. Human format is a human readable format which need to be parsed by regexes, in other words it's not really a format that machine can consume natively. Qemu introduced json output since version 1.3 [1] and this format is machine readable, for the sake of stability on oslo.utils we decided to drop the support of the human format and to use json as the unique and only supported format. We will reach our goal by following this scenario: step 1: deprecate the human format step 2: remove the human format and deprecate the format parameters step 3: remove the parameter (json all the time) These changes deprecate the ``human`` format (step 1) [1] https://wiki.qemu.org/ChangeLog/1.3 Change-Id: Ia8d6cd08a8989395f9b0f9097d2e57757b8cb915
* Merge "Drop lower-constraints"4.9.0Zuul2021-04-161-6/+0
|\
| * Drop lower-constraintssongwenping2021-04-161-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lower-constraints is not a requirement of the OpenStack Python PTI [0] and there currently is a discussion on the mailing list [1] about dropping the test, with the oslo team already having done so [2]. The new dependency resolver in pip fails due to incompatible dependency versions in our lower-constraints file, meaning that we were never providing any real guarantees with it. To unblock the CI, I am disabling lower-constraints job for now, with the option to reenable it in case we fix the constraints, and based on the outcome of the mailing list discussions and consensus. [0]. https://governance.openstack.org/tc/reference/pti/python.html [1]. http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019672.html [2]. http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019659.html Change-Id: I8c647b325a6f489aaffdab474117c5451852c81e