summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Add Python3 xena unit testsOpenStack Release Bot2021-03-151-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for xena. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I966cfcc1f1aa528385a57f2012bf2540e3d3edc4
* | | | | | Merge "setup.cfg: Replace dashes with underscores"Zuul2021-05-211-4/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | setup.cfg: Replace dashes with underscoresYuehuiLei2021-04-281-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: I77d52471fea255982ad677e9d4bc318f24a9ace7
* | | | | Run functional job on Ubuntu FocalGhanshyam Mann2021-04-291-2/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devstack is planning to remove the Ubuntu Bionic support. - https://review.opendev.org/c/openstack/devstack/+/788754 Before that we need to switch Bionic job to focal. devstack-tox-functional define the latest nodeset which is single node focal currently so removing nodeset setting from python-cinderclient functional jobs. Change-Id: Ibbbfb20c86bb2ea0d3d74f6a6a1bc913874f67ad
* | | | Merge "Support passing client certificates for server version requests"Zuul2021-04-206-15/+56
|\ \ \ \ | |/ / / |/| | |
| * | | Support passing client certificates for server version requestssri harsha mekala2021-03-096-15/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the cinderclient to fetch server versions will fail with error `OpenSSL.SSL.Error: [sslv3 alert handshake failure]` when the server requires client certificates to be passed with these requests. Added the optional parameter `cert` to both get_server_version get_highest_client_server_version and methods so that users can have the option to pass client certificates while fetching server versions. Also support passing mTLS certificate/key to HTTPClient Closes-Bug: #1915996 Change-Id: I57c665dd9d4b8c32e5f10994d891d1e0f5315548 Signed-off-by: sri harsha mekala <smekala@oath.com>
* | | | Update master for stable/wallabyOpenStack Release Bot2021-03-152-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: I7a9c0cd51c45f05c75d3fa5be137aad7e62a016c
* | | | Merge "Add note for Wallaby release"7.4.0Zuul2021-03-121-0/+16
|\ \ \ \
| * | | | Add note for Wallaby releaseBrian Rosmaita2021-03-121-0/+16
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia958840739cab51236391e4d8d6d1569604d9a3e
* | | | | Update requirements for wallaby releaseBrian Rosmaita2021-03-114-70/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates requirements to what we're using now and revises the lower-constraints file to contain only direct dependencies. Change-Id: I1a3cc999b94dc6b6482b1ca44218b42ee2638a8c
* | | | | Merge "Add flake8-import-order extension"Zuul2021-03-1122-52/+44
|\ \ \ \ \
| * | | | | Add flake8-import-order extensionSean McGinnis2021-03-1022-52/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the import order extension to match what we have in the cinder repo. This is a linting extension that will check that imports are in the correct order and the correct grouping so they automatically get flagged, and it won't be whether reviewers notice and decide to do anything or not. Cinder change was Ic13ba238a4a45c6219f4de131cfe0366219d722f for a little more wordy reasoning. Also includes updates for noqa tags. Newer version of the linters appear to want these on the function definition line, not on the decorator line. Change-Id: Ibf3f3afbf3bb6ec6613b35f91d4a353c6a391f41 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | | | | Dropping explicit unicode literaltushargite962021-03-113-19/+19
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In python 3, all strings are considered as unicode string. This patch drops the explicit unicode literal (u'...') or (u"..") appearances from the unicode strings. Change-Id: I9902966892a1dc4f85d449dfe580fb128647487b
* | | | | Merge "Use TOX_CONSTRAINTS_FILE"Zuul2021-03-111-4/+4
|\ \ \ \ \
| * | | | | Use TOX_CONSTRAINTS_FILElikui2021-03-101-4/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ Change-Id: I26f4c8fcaaaf0eca5e5d6fcb6fd443b56ea41f35
* | | | | Merge "Bump API max version to 3.64"Zuul2021-03-101-1/+1
|\ \ \ \ \
| * | | | | Bump API max version to 3.64Alan Bishop2021-03-091-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump MAX_VERSION to 3.64 to support including the encryption_key_id attribute in volume and backup details. Implements: blueprint include-encryption-key-id-in-details Depends-On: I16f54e6722cdbcbad4af1eb0d30264b0039412fd Change-Id: I6e1f3ff62d4b7b9b8299f7bd73071c3c7856f6df
* | | | | Merge "Doc: Functional Tests in python-cinderclient"Zuul2021-03-101-2/+2
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Doc: Functional Tests in python-cinderclienttushargite962021-02-231-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | ostestr command is deprecated. Closes-bug: #1866376 Change-Id: I24398d481002f30754368ac601ff3ac304f3fb82
* | | | Merge "Changed minversion in tox to 3.18.0"Zuul2021-03-101-4/+4
|\ \ \ \
| * | | | Changed minversion in tox to 3.18.0tushargite962021-02-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Ia637e459b9401ab3f07fdf6e88868080ce59e245
* | | | | Merge "Remove install unnecessary packages"Zuul2021-03-101-2/+0
|\ \ \ \ \
| * | | | | Remove install unnecessary packageswu.shiming2021-02-191-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docs requirements migrated to doc/requirements.txt we need not install things from requirements.txt. Change-Id: I94c2ba1ddfc3a54edc2f69b8d7017e09b02e54a5
* | | | | | Merge "Remove more python2 compat code"Zuul2021-03-102-15/+2
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Remove more python2 compat codeEric Harney2021-03-082-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove code still adjusting for Python 2 behavior based on version checks. Change-Id: I29576a824278611d80991dce2501f14f1b262c76
* | | | | | Merge "Add MV 3.63 to the max supported version"Zuul2021-03-101-1/+1
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Add MV 3.63 to the max supported versionRafael Weingärtner2021-01-271-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the implementation on [1], it was requested to extend the Cinder client to support the newly created microversion (MV). Therefore, this patch is doing exactly that. We do not need to do any other work forward bcause the list volumes will display whatever we have in the response. I mean, the default is ``['ID', 'Status', 'Name', 'Size', 'Volume Type', 'Bootable', 'Attached to']``, but one can customize these fields using ``--fields`` [1] https://review.opendev.org/c/openstack/cinder/+/666886 Closes-Bug: https://bugs.launchpad.net/python-cinderclient/+bug/1913474 Depends-on: https://review.opendev.org/c/openstack/cinder/+/666886 Change-Id: I0815570a50e9b38fe18733c727acd52a406bfc1e
* | | | | 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