summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge "Remove all usage of six library"Zuul2021-03-0832-164/+83
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Remove all usage of six libraryhaixin2021-03-0432-164/+83
| |/ / / | | | | | | | | | | | | | | | | | | | | Replace six with Python 3 style code. Change-Id: I4b97e040f3e790ac114dcd43c68e6b67b1079adf
* | | | Merge "Move cinderclient to new hacking 4.0.0"Zuul2021-03-041-1/+1
|\ \ \ \
| * | | | Move cinderclient to new hacking 4.0.0tushargite962021-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Id3e61949550e70e2c4235406d258bbd9c66e67cf
* | | | | Merge "Bump pylint to 2.6.0"Zuul2021-03-032-2/+2
|\ \ \ \ \
| * | | | | Bump pylint to 2.6.0Luigi Toscano2021-02-192-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current version does not work anymore with the current testing stack. Due to the bump, the wrapper needed a few changes (maybe it could be dropped at some point? Version 2.3.0 (used by cinder right now) was considered too, but it requires a specific version of isort: https://github.com/PyCQA/isort/issues/1273 Change-Id: I07fa32e7f49bde041d101a2d09860d0bc27acda0
* | | | | Merge "Stop configuring install_command in tox."Zuul2021-02-271-1/+0
|\ \ \ \ \
| * | | | | Stop configuring install_command in tox.tushargite962021-02-031-1/+0
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that this is the the default value provided by tox: https://tox.readthedocs.io/en/latest/config.html#conf-install_command So we can remove the line and simply use the default value. Change-Id: I7a703e0ee91b73b7ab736712756caaba6981f8e4
* | | | | Uncap PrettyTableWander Way2021-02-181-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | This is now maintained as a Jazzband project [1]. [1] https://github.com/jazzband/prettytable Change-Id: I71ace4c2857b9e12e9023aadaf72bbe97c2fda1c
* | | | Support backup-restore to a specific volume type or AZAlan Bishop2021-01-113-0/+232
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhance the 'backup-restore' shell command to support restoring a backup to a newly created volume of a specific volume type and/or in a different AZ. New '--volume-type' and '--availability-zone' arguments leverage the existing cinder API's ability to create a volume from a backup, which was added in microversion v3.47. The shell code is a new v3 implementation, and it drops support for the v2 command's deprecated '--volume-id' argument. Change-Id: Ic6645d3b973f8487903c5f57e936ba3b4b3bf005
* | | Update requirements and lower-constraints7.3.0Alan Bishop2020-12-233-61/+74
| |/ |/| | | | | | | | | | | | | | | | | | | Sync the versions with cinder's, which were recently updated by I42af21b1c4247d04d479f1fc1ecd6f9baac0cfc9. Also increased the minimum version of tempest to the most recent release. Also added indirect dependencies to test-requirements.txt in order to limit the number of versions considered by the resolver. Change-Id: I7b4bc7b392b2192e0c832c4f0148546a5920b9e2
* | Fix undesirable raw Python errorEduardo Santos2020-10-293-0/+22
|/ | | | | | | | | | | | | | Using the cinderclient without a subcommand while passing an optional argument triggers the raw Python error `ERROR: 'Namespace' object has no attribute 'func'`. This bug can be reproduced by issuing the command `cinder --os-volume-api-version 3.40`. Added a default value to `func` and an empty value to `command` as placeholders so that a help message is shown instead of the Python error. Change-Id: Idb51e8635b97f0da2976f3268d5e19100ec77203 Closes-Bug: #1867061
* Merge "Add Python3 wallaby unit tests"Zuul2020-10-221-1/+1
|\
| * Add Python3 wallaby unit testsOpenStack Release Bot2020-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I4aed8f56609dea21a8170bd5f5d242cfac045dde
* | Merge "doc: Update Py37 instead of py27"Zuul2020-10-151-3/+3
|\ \ | |/ |/|
| * doc: Update Py37 instead of py27tushargite962020-09-171-3/+3
| | | | | | | | | | | | | | Examples in this section should use a Python 3 environment and not py27. Change-Id: If082b92e089af980e411b4b4c1319e462862a55f Closes-Bug: #1866375
* | Update master for stable/victoriaOpenStack Release Bot2020-09-162-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/victoria. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/victoria. Change-Id: Ia36030fb2858ddf4c6672173cde510dd8f8b7a53 Sem-Ver: feature
* | Merge "Add functional-py38 job"7.2.0Zuul2020-09-162-19/+10
|\ \
| * | Add functional-py38 jobBrian Rosmaita2020-09-162-19/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Add note for Victoria release"Zuul2020-09-161-0/+11
|\ \ \
| * | | Add note for Victoria releaseBrian Rosmaita2020-09-161-0/+11
| | | | | | | | | | | | | | | | Change-Id: If948b069a52f3a4fc9d2464b86652fc523e8af53
* | | | Merge "Add commands for default type overrides"Zuul2020-09-1610-1/+277
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Add commands for default type overrideswhoami-rajat2020-09-1610-1/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Python API in python-cinderclienttushargite962020-09-151-1/+1
| |/ |/| | | | | | | | | | | "myvol.delete" should be "myvol.delete()" Change-Id: Iadddfed8deec1f0dee2b71effb3b4de2689d6ada Closes-Bug: #1866374
* | Merge "Use importlib to take place of imp module"Zuul2020-09-091-2/+11
|\ \ | |/ |/|
| * Use importlib to take place of imp modulezhoulinhui2020-09-021-2/+11
| | | | | | | | | | | | | | | | | | 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
* | Merge "[goal] Migrate python-cinderclient jobs to focal"Zuul2020-09-049-19/+23
|\ \
| * | [goal] Migrate python-cinderclient jobs to focalGhanshyam Mann2020-08-179-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Remove excess whitespace in ignore-pathBrian Rosmaita2020-09-031-1/+1
| |/ |/| | | | | | | | | | | Some extra whitespace is present in the ignore-path in the [doc8] testenv, so remove it. Change-Id: Ibd1b5f8259ec174b2bbb233b270f0e09daa67bc2
* | Merge "Add support for Cinder API mv3.61"Zuul2020-09-021-1/+1
|\ \
| * | Add support for Cinder API mv3.61Ivan Kolodyazhny2020-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Microversion 3.61 adds cluster_name attribute to volume details output for admin users. Change-Id: I13f85c8ddd4cb238a245c263151123fd271a9927 Depends-On: https://review.opendev.org/742991
* | | Merge "zuul functional job: drop the custom playbooks"Zuul2020-08-265-37/+2
|\ \ \
| * | | zuul functional job: drop the custom playbooksLuigi Toscano2020-08-185-37/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | 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
* | | Merge "Add doc linting to pep8 target"Zuul2020-08-266-19/+34
|\ \ \
| * | | Add doc linting to pep8 targetSean McGinnis2020-06-056-19/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge "Clean up some old v1 API references"Zuul2020-08-211-5/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Clean up some old v1 API referencesSean McGinnis2020-06-021-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes some code that was still pointing to the V1 API. No need to add release note or additional announcements since this was all removed long ago, and if anyone would have gone down this code path it would have just blown up trying to import the v1 code that is no longer there. Change-Id: I7d239d3fe3d879e4c391e83cae1e394cf1f5e6eb Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | | Merge "trivial: Drop references to os-testr"Zuul2020-08-073-3/+2
|\ \ \ \
| * | | | trivial: Drop references to os-testrStephen Finucane2020-07-093-3/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | os-testr is dead. Long live stestr. Change-Id: Ie37f00e2f5ef2230adcff0d662e2d0b214b8c74c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Fix pygments style"Zuul2020-08-070-0/+0
|\ \ \ \
| * | | | Fix pygments stylefuzihao2020-05-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New theme of docs (Victoria+) respects pygments_style. Since we starts using Victoria reqs while being on Ussuri, this patch ensures proper rendering both in Ussuri and Victoria. Change-Id: I7d7bebc5b29b4aa251bba784aeca98e23d3e9c23
* | | | | Merge "use stevedore to load util plugins"Zuul2020-08-052-6/+12
|\ \ \ \ \
| * | | | | use stevedore to load util pluginsDoug Hellmann2020-07-052-6/+12
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Merge "Stop to use the __future__ module."Zuul2020-08-058-16/+0
|\ \ \ \ \
| * | | | | Stop to use the __future__ module.Hervé Beraud2020-06-028-16/+0
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The __future__ module [1] was used in this context to ensure compatibility between python 2 and python 3. We previously dropped the support of python 2.7 [2] and now we only support python 3 so we don't need to continue to use this module and the imports listed below. Imports commonly used and their related PEPs: - `division` is related to PEP 238 [3] - `print_function` is related to PEP 3105 [4] - `unicode_literals` is related to PEP 3112 [5] - `with_statement` is related to PEP 343 [6] - `absolute_import` is related to PEP 328 [7] [1] https://docs.python.org/3/library/__future__.html [2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html [3] https://www.python.org/dev/peps/pep-0238 [4] https://www.python.org/dev/peps/pep-3105 [5] https://www.python.org/dev/peps/pep-3112 [6] https://www.python.org/dev/peps/pep-0343 [7] https://www.python.org/dev/peps/pep-0328 Change-Id: Id785793c36b3a6819a7522525252c3fef15ebe2b
* | | | | Bump hacking to 3.1.0Eric Harney2020-07-165-6/+12
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Use unittest.mock instead of third party mock"Zuul2020-06-2214-35/+32
|\ \ \ \ | | |_|/ | |/| |
| * | | Use unittest.mock instead of third party mockSean McGinnis2020-06-0514-35/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge "Add py38 package metadata"7.1.0Zuul2020-06-180-0/+0
|\ \ \ \
| * | | | Add py38 package metadataSean McGinnis2020-04-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we are running the Victoria tests that include a voting py38, we can now add the Python 3.8 metadata to the package information to reflect that support. Change-Id: I92118f2a4a6c6db3f614addd324c76411c3b7f24 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>