summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge "Update migration constant"Zuul2022-02-122-1/+13
|\ \ \ \ \
| * | | | | Update migration constantBrian Rosmaita2022-02-102-1/+13
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the data migration current release to 'yoga'. Include a semver pseudo-header in this commit message so that pbr will increment the major version number, otherwise glance.tests.unit.gate.test_data_migration_version will break. Also add a reminder about this to the release cycle tasks list. Change-Id: Ibdbeb752d29afeb48628587442577ab139be9ac9 Sem-Ver: api-break
* | | | | Make FIPS job non-votingAde Lee2022-02-111-0/+15
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temporarily make the FIPS job non-voting till we figure out why its failing. Restore the non-fips version of the cinder job so we keep the coverage. Change-Id: I1a9dbd087cca52798f0d01c62ebb47e37f52d87a
* | | | Merge "[APIImpact] Quota usage API"Zuul2022-02-0812-11/+259
|\ \ \ \
| * | | | [APIImpact] Quota usage APIDan Smith2022-02-0312-11/+259
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a /v2/info/usage API endpoint which exposes to the user their current limits and usage. The discovery API does not (appear to) have existing tests, so this adds a module for that, although only usage tests are added currently. Implements: blueprint quota-api Change-Id: I50c98bac50f815bdb9baae024e77afd388f74554
* | | | Merge "Add fips check jobs"Zuul2022-02-073-4/+44
|\ \ \ \
| * | | | Add fips check jobsAde Lee2022-02-033-4/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some jobs have been modified to run to confirm that functionality is still working when FIPS is enabled on the nodes. As the FIPS tests currently run on centos nodes, code is added to the test-setup script to set up the databases correctly. Also had to increase the swap space on the nodes; see [0] for an explanation. The current FIPS jobs run using python 3.6 on centos-8-stream. We will modify these to run on centos-9-stream and python 3.9 in a subsequent patch. [0] https://review.opendev.org/c/openstack/devstack/+/803706 Change-Id: I060d8247c7b09f63990ea411e6c6a056bb50410d
* | | | | Merge "Remove six.moves.urllib usage"Zuul2022-02-0720-23/+24
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | Remove six.moves.urllib usageStephen Finucane2022-01-2720-23/+24
| | | | | | | | | | | | | | | | | | | | Change-Id: I71be65ef7b8f710e9317419d7b38559b39f461b0 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Remove six.moves.http_client usage"Zuul2022-02-0350-157/+190
|\ \ \ \ | |/ / /
| * | | Remove six.moves.http_client usageStephen Finucane2022-01-2750-157/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a rather beefy change due to the number of usages of this import. The changes are trivial though. Change-Id: I7badeeaca438b0291f4ed86670e7f217e6372c61 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Remove six.moves.range usage"Zuul2022-02-0320-43/+1
|\ \ \ \ | |/ / /
| * | | Remove six.moves.range usageStephen Finucane2022-01-2720-43/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the same as the 'range' keyword in Python 3 Change-Id: If3aa008522c24e870b7bf13de32b8ed1b27cb519 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Replace six.BytesIO, six.StringIO usage"Zuul2022-02-029-39/+42
|\ \ \ \ | |/ / /
| * | | Replace six.BytesIO, six.StringIO usageStephen Finucane2022-01-279-39/+42
| | | | | | | | | | | | | | | | | | | | Change-Id: I007da2ba19b4e18f7c4f64d1503a18815a3f8ce4 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Remove six.text_type, six.binary_type usage"Zuul2022-02-0233-169/+102
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Remove six.text_type, six.binary_type usageStephen Finucane2022-01-2733-169/+102
| | | | | | | | | | | | | | | Change-Id: I2ed464202f8b645aed11490e111c61d3c7423c11 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | Merge "Fix tests on Python3.10"Zuul2022-01-271-1/+4
|\ \ \ | |/ / |/| |
| * | Fix tests on Python3.10Cyril Roelandt2022-01-251-1/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both test_property_protection_with_missing_operation and test_property_protection_with_misspelt_operation rely on a bug in Python 3.9: the "]" character in a section name is not read, so section '^[0-9]' is read as '^[0-9'. This causes _compile_rule to fail and raise the exception the tests are expecting. In Python 3.10, this bug has been fixed and the exception is no longer raised. Instead, CONFIG.get() raises a NoOptionError in _load_rules, which is not caught. Closes-Bug: #1954321 Change-Id: Ibce11ac002dc900299d478ea875797dd1f8df17e
* | Bump SQLalchemy to version that supports PY3.9Erno Kuvaja2022-01-211-1/+1
| | | | | | | | | | | | | | | | Bumping SQLAlchemy to 1.3.14, which is first version supporting Python 3.9 runtime, this hopefully addresses the issue reported. Change-Id: I73f0c7c067fcab00a97cd925cad19edd64b6eb45 Closes-Bug: #1957167
* | Merge "Updating python testing as per Yoga testing runtime"Zuul2022-01-213-46/+57
|\ \
| * | Updating python testing as per Yoga testing runtimeGhanshyam Mann2021-12-133-46/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 functional and tips jobs to test on py39, also update the classifier in setup.cfg file. [1] https://governance.openstack.org/tc/reference/runtimes/yoga.html Change-Id: I6e1c64961f0feb920e45ef6a6ed29f2e32265768
* | | Merge "Use LOG.warning instead of deprecated LOG.warn"Zuul2022-01-2031-107/+138
|\ \ \
| * | | Use LOG.warning instead of deprecated LOG.warnTakashi Kajinami2022-01-1931-107/+138
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | 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: Ie0cac63dedf69728392f293f4551e495aebf4d40
* | | Merge "Update Interop doc"Zuul2022-01-182-9/+10
|\ \ \
| * | | Update Interop docMartin Kopec2021-11-082-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit replaces DefCore committee (a former name) by Interop Working Group (the current name) and updates a few more old interop references. Change-Id: I09c02f3adc2ba5acb2c325e462bc6e54dd23d0fb
* | | | Merge "Remove dead psutil-related code"Zuul2022-01-181-6/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Remove dead psutil-related codeCyril Roelandt2021-09-281-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we moved from psutil 1.x to psutil 2.x, we needed to have code that supports both version for a little while. We are now enforcing the use of psutil>=3.2.2, so we can safely get rid of the code tailored for psutil<2. Change-Id: I409d7e079acbfdc5bf4ef8236f99eaa00c29ba40
* | | | Remove six.iteritems usageStephen Finucane2021-12-2115-87/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We also remove hacking tests for this, along with those for iterkeys and itervalues (no usage of these). Change-Id: If5b46580078eb756651ac6118f502eccdc693646 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Remove six.add_metaclass usageStephen Finucane2021-12-213-11/+5
| |_|/ |/| | | | | | | | | | | Change-Id: If0d2ad8357ea759638c6b83c04ec7a2f3cf9f6bd Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | Merge "Imported Translations from Zanata"Zuul2021-11-302-177/+54
|\ \ \
| * | | Imported Translations from ZanataOpenStack Proposal Bot2021-11-252-177/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ib820ac6eb1a3732bacb622e9215f22231ec6dc89
* | | | Replace FakeObject with mock.MagicMockwhoami-rajat2021-11-261-11/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | In glance cinder functional tests, we currently use FakeObject class to create mock objects which has limited functionality. Replacing it with mock.MagicMock will prevent failures like in change I129181b2338e09d094ee552a62500c6e460ee621 and other features as well. Change-Id: I5afa2541bc28970191ea9fd76bf44eb9aaaa1081
* | | Refactor glance cinder testsRajat Dhasmana2021-11-241-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Legacy attachment API calls were removed/replaced from the code with new attachment API support in glance store with change[1] This patch removes the same methods mocked in the tests. [1] https://review.opendev.org/c/openstack/glance_store/+/782200 Change-Id: I111fc36dcf3bc203f21377a3095a2170d00bb9bf
* | | Merge "Remove broken tempest-full-py3-opensuse15 job"Zuul2021-11-231-2/+0
|\ \ \
| * | | Remove broken tempest-full-py3-opensuse15 jobGhanshyam Mann2021-11-031-2/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tempest-full-py3-opensuse15 is failing all the time[1] and opensuse is not tested/supported distro in testing runtime or devstack anymore. So let's remove opensuse broken job from tempest too. Needed-By: https://review.opendev.org/c/openstack/tempest/+/816569 [1] https://zuul.opendev.org/t/openstack/builds?job_name=tempest-full-py3-opensuse15 Change-Id: Iae7ec150fb51d7e9d019182223062e6462084617
* | | Merge "Add "bochs" as a possible video model"Zuul2021-11-182-1/+3
|\ \ \
| * | | Add "bochs" as a possible video modelKashyap Chamarthy2021-11-152-1/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Xena, this commit[1] support for the "bochs" video model (the device is recommended for UEFI guest), but neglected to update Glance documentation. Correct that now. [1] https://opendev.org/openstack/nova/commit/c590843974 "Allow 'bochs' as a display device option" Change-Id: I2026a81d3611e069fbcd1a79c2384d18cb5a653d Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
* | | Merge "Add missing packages to test dependencies"Zuul2021-11-171-0/+3
|\ \ \ | |/ / |/| |
| * | Add missing packages to test dependenciesAndre Aranha2021-11-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests are failing when running on Centos due to lack of qemu-img package and python3-devel. This patch is adding the missing packages to bindep.txt. Closes-Bug: #1947146 Change-Id: I99ab96a7f8b6fdf6a27faf1fe0ea0328f89b154f
* | | Merge "Fix typos"Zuul2021-10-2027-40/+40
|\ \ \
| * | | Fix typosCyril Roelandt2021-10-1327-40/+40
| | | | | | | | | | | | | | | | Change-Id: I5e7776324c01e467799b1296c35b84dc0c10cce2
* | | | Merge "Add libpcre3-dev/pcre-devel to bindep.txt"Zuul2021-10-131-0/+2
|\ \ \ \
| * | | | Add libpcre3-dev/pcre-devel to bindep.txtCyril Roelandt2021-09-281-0/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | This is required to run "tox -edocs". Change-Id: Iba9b5c660628bae77708911ef0459992e01c93c4 Closes-Bug: #1870205
* | | | Merge "Update qcow test to use qcow2 instead"Zuul2021-10-131-2/+2
|\ \ \ \ | |_|_|/ |/| | |
| * | | Update qcow test to use qcow2 insteadAndre Aranha2021-10-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qemu-img package for Centos 8 doesn't support qcow disk format anymore, due to this, tests using qcow are failing with `Unknown file format 'qcow'`. This patch updates the qcow tests for qcow2 instead. Closes-Bug: #1946457 Change-Id: If488ae4299a6cab521eec9c5e9ce4f29f94057e1
* | | | Merge "Use singular they instead of "he/she" where possible"Zuul2021-10-134-6/+6
|\ \ \ \
| * | | | Use singular they instead of "he/she" where possibleCyril Roelandt2021-10-064-6/+6
| | |/ / | |/| | | | | | | | | | | | | | Change-Id: I5a30a62f8d62e2c97c30e795317e95c207e196b9 Closes-Bug: #1946166
* | | | Merge "Use single quotes in image policies"Zuul2021-10-122-9/+9
|\ \ \ \ | |_|/ / |/| | |
| * | | Use single quotes in image policiesLance Bragstad2021-09-232-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The oslopolicy-sample-generator wraps strings in double quotes, which breaks with the glance sample policy file since it's using double quotes to evaluate strings. This commit fixes the issue so that we're using single quotes in the check strings so oslo.policy can wrap them with double-quotes and it won't break yaml parsers. Change-Id: I4f4553d91e58047c05ea853a8eb3764376338a45