- 17 Sep, 2021 2 commits
- 31 Aug, 2021 2 commits
-
-
Brian Rosmaita authored
The QuotaSet class was never added to cinderclient.v3.quotas, and the VolumeTransfer class was never added to cinderclient.v3. volume_transfers. Note: this fix is proposed directly to the stable branches, as the issue was fixed differently in master (Xena development) when the cinderclient.v2 classes were removed by change I335db5c1799e. Change-Id: Ie00f068d7818e20683a0c242b51027d657382dd4 Closes-bug: #1938451 (cherry picked from commit 579846c7)
-
Brian Rosmaita authored
The test_cli.CinderBackupTests.test_backup_create_and_delete test is hitting timeout errors in the python-cinderclient-functional-py36 zuul job. This is happening because it's inheriting the OS_TEST_TIMEOUT value of 60 from the base testenv, and that value is being used by the tempest.lib class we inherit from as a timeout for each test. This is a problem for test_backup_create_and_delete because it creates a volume, waits for available, creates a backup, waits for available, deletes the volume, waits for deletion, deletes the backup, waits for deletion. Our functional tests have their own timeout handling, so turn off the tempest.lib timeout and use ours. An alternative to turning it off is to set it at a value that respects our timeout for our longest test, which would be: - time-to-available: 120 sec (x2) - time-to-deleted: 60 sec (x2) that is, 360 sec. Change-Id: I33399b4c094af2cc059da6e332f4c0a91e6ab57e (cherry picked from commit d04ded6a) (cherry picked from commit fa00aff4)
-
- 30 Jul, 2021 1 commit
-
-
Brian Rosmaita authored
This prevents a job reporting 'success' when the appropriate python interpreter cannot be found, when actually it didn't run at all. Also change the default envlist to use generic 'py3' instead of a specific version which might not be present. Also change zuul config so the python-cinderclient-functional-py36 job runs on centos-8-stream nodes, where py36 should be available. And change bindep.txt to specify the correct package name for centos-8. Jeremy Stanley has given a more thorough explanation of why this is a good change: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014810.html This isn't a theoretical issue. If you look at recent python-cinderclient-functional-py36 job results (for example, [0]), you'll see that Zuul reported 'success', but on a closer look, you'll see that no tests were run. [0] https://zuul.opendev.org/t/openstack/build/1bfc80638086405f8b29905cdd6f71be/log/job-output.txt#25470 Depends-on: https://review.opendev.org/c/openstack/devstack/+/803072 Change-Id: I2e2aa24e1592b66b287c84eda97b5079c40a36ec (cherry picked from commit b891c998) (cherry picked from commit 4c6c3b49) changed: .zuul.yaml - using centos-8 node
-
- 09 Apr, 2021 1 commit
-
-
Brian Rosmaita authored
Running a lower-constraints job is optional in master, and seems pointless in the stable branches, so drop it. Additional information here: http://lists.openstack.org/pipermail/openstack-discuss/2021-March/021204.html Change-Id: I0311f7076f4640a42f82217f9ddfc13a3907f8a4
-
- 23 Dec, 2020 1 commit
-
-
Brian Rosmaita authored
Conservative changes to get the l-c job passing with the new pip resolver. Big changes: - pytz 2013.6 -> 2015.7 (u-c allows 2020.1) * needed for babel - tempest 17.1.0 -> 24.0.0 (u-c allows 25.0.1) * for dulwich (long story) - urllib3 1.21.1 -> 1.24.1 (u-c allows 1.25.10) * for tempest - oslo.concurrency 3.25.0 -> 3.26.0 (u-c allows 4.3.1) * for tempest - mccabe 0.2.1 -> 0.6.0 * for flake8 Also added dulwich to test-requirements to narrow down versions considered by the resolver. Change-Id: I8bb622c947cada2905e8d756d5a64f08abaeee8d
-
- 16 Sep, 2020 8 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/victoria branch, tests will continue to use the upper-constraints list on master. Change-Id: I1ae3f5147bceb006b014809edd0470eaf3a1783b
-
OpenStack Release Bot authored
Change-Id: I9b58b47580b06549cd674fc15f4b88dace13443b
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Brian Rosmaita authored
The openstack-python3-victoria-jobs template is running unit tests for py36 and py38. We should do the same for our functional test jobs. So replace the functional-py37 job with a functional-py38 job. Change-Id: Icb338611169975be04bb27b86b5b3de0a37a6f5f
-
Brian Rosmaita authored
Change-Id: If948b069a52f3a4fc9d2464b86652fc523e8af53
-
whoami-rajat authored
This patch adds command for set,get and delete default volume types for projects. This patch adds 3 commands : 1) Set Set a default volume type for a project cinder --os-volume-api-version 3.62 default-type-set <vol-type-id> <project-id> 2) Get Get the default volume type for a project cinder --os-volume-api-version 3.62 default-type-list --project-id <project-id> Get all default types cinder --os-volume-api-version 3.62 default-type-list 3) Unset Unset default volume type for a project cinder --os-volume-api-version 3.62 default-type-unset <project-id> Implements: Blueprint multiple-default-volume-types Change-Id: Id2fb00c218edbb98df3193577dba6a897c6e73f6
-
- 15 Sep, 2020 1 commit
-
-
tushargite96 authored
"myvol.delete" should be "myvol.delete()" Change-Id: Iadddfed8deec1f0dee2b71effb3b4de2689d6ada Closes-Bug: #1866374
-
- 09 Sep, 2020 1 commit
-
-
Zuul authored
-
- 04 Sep, 2020 1 commit
-
-
Zuul authored
-
- 03 Sep, 2020 1 commit
-
-
Brian Rosmaita authored
Some extra whitespace is present in the ignore-path in the [doc8] testenv, so remove it. Change-Id: Ibd1b5f8259ec174b2bbb233b270f0e09daa67bc2
-
- 02 Sep, 2020 2 commits
-
-
zhoulinhui authored
The imp module is deprecated[1] since version 3.4, use importlib to instead [1]: https://docs.python.org/3/library/imp.html Change-Id: Ie250592bc183e8db1758b6cfa4681a45f4c489ab
-
Zuul authored
-
- 26 Aug, 2020 2 commits
- 21 Aug, 2020 1 commit
-
-
Zuul authored
-
- 18 Aug, 2020 1 commit
-
-
Luigi Toscano authored
The base devstack-tox-functional* jobs now set the required environment (OS_* vars set by devstack) before calling tox. Depends-On: https://review.opendev.org/746235 Change-Id: If58a6088f92c4be5edd53f0f5cd9a093d4cbc5f1
-
- 17 Aug, 2020 1 commit
-
-
Ghanshyam Mann authored
As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. - pep8 error - Set bionic nodeset for py36 and py37 job. [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-fo$ Story: #2007865 Task: #40179 Change-Id: Ibab96807a7747738282732fe0069b9bc197da0ee
-
- 07 Aug, 2020 2 commits
- 05 Aug, 2020 2 commits
- 24 Jul, 2020 1 commit
-
-
Ivan Kolodyazhny authored
Microversion 3.61 adds cluster_name attribute to volume details output for admin users. Change-Id: I13f85c8ddd4cb238a245c263151123fd271a9927 Depends-On: https://review.opendev.org/742991
-
- 16 Jul, 2020 1 commit
-
-
Eric Harney authored
pycodestyle does not know about "importutils.try_import" calls, so we have to either a) put them inside a "try" block or b) add "# noqa: E402" to each import after the try_import call Change-Id: Ia545bb689cfdfb57962d74e3957dfb372fd3782b
-
- 09 Jul, 2020 1 commit
-
-
Stephen Finucane authored
os-testr is dead. Long live stestr. Change-Id: Ie37f00e2f5ef2230adcff0d662e2d0b214b8c74c Signed-off-by:Stephen Finucane <sfinucan@redhat.com>
-
- 05 Jul, 2020 1 commit
-
-
Doug Hellmann authored
Importing pkg_resources has a side-effect of scanning all of the installed python modules looking for entrypoints to build an in-memory cache. Stevedore will be adding an on-disk cache to speed that process up, which should provide significant performance benefits for client applications such as python-openstackclient. This change introduces stevedore to replace pkg_resources. Change-Id: I66decf6d5a4f79ddaa6617737e9334a56dbbbad4 Signed-off-by:Doug Hellmann <doug@doughellmann.com>
-
- 22 Jun, 2020 1 commit
-
-
Zuul authored
-
- 18 Jun, 2020 1 commit
-
-
Zuul authored
-
- 16 Jun, 2020 1 commit
-
-
Luigi Toscano authored
Closes-Bug: #1883674 Change-Id: I4f4468b23d04ecf74fb6347bfb518377127b563d
-
- 05 Jun, 2020 2 commits
-
-
Sean McGinnis authored
This adds doc8 to the pep8 job to lint the docs. Also fixes a few issues it highlighted. Change-Id: Id0f4b9bee1f6a0103ec581b20037a9b74201aaca Signed-off-by:Sean McGinnis <sean.mcginnis@gmail.com>
-
Sean McGinnis authored
Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: Ia41326a601dfd72750bd81c3ebee9ec5884ad91b Signed-off-by:Sean McGinnis <sean.mcginnis@gmail.com>
-
- 04 Jun, 2020 1 commit
-
-
Sean McGinnis authored
Our CLI docs are very out of date. These used to be generated by the docs team with some tooling they had. Since the docs moved in-repo, that tooling has gone away, and for the most part no one has done any updates to the CLI docs. This adds a sphinx directive that will generate these docs every time the docs are built. This way, whenever someone makes a CLI change, they do not need to have to know to also edit a documentation file to match their change. Any code changes will automatically be picked up and reflected in the docs. Change-Id: I4406872ab6e9335e338b710e492171580df74fa5 Signed-off-by:Sean McGinnis <sean.mcginnis@gmail.com>
-