summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Fix typo: dow -> downLuigi Toscano2020-06-161-1/+1
| | | | | | | | | | Closes-Bug: #1883674 Change-Id: I4f4468b23d04ecf74fb6347bfb518377127b563d
* | Add directive to document CLISean McGinnis2020-06-036-4476/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge "Add py38 package metadata"Zuul2020-05-271-0/+1
|\ \
| * | Add py38 package metadatazhangboye2020-05-221-0/+1
| | | | | | | | | | | | Change-Id: I3a0df4c9886465238bb62c1c24b3cafb9bc5aeb1
* | | Merge "Switch to newer openstackdocstheme and reno versions"Zuul2020-05-225-20/+15
|\ \ \ | |/ / |/| |
| * | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-225-20/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. openstackdocstheme renames some variables, so follow the renames. A couple of variables are also not needed anymore, remove them. Set openstackdocs_auto_name to use project as name. Set openstackdocs_pdf_link to link to PDF file. Note that the link to the published document only works on docs.openstack.org where the PDF file is placed in the top-level html directory. The site-preview places the PDF in a pdf directory. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I2cc022495b162bec1424ec69611acb879900c005
* | | Fix hacking min version to 3.0.1Ghanshyam Mann2020-05-152-5/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. Also removing the hacking and other related dep from lower-constraints file as theose are blacklisted requirements and does not need to be present there. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: If5f2f970a353189f3eaeea00322848cb8346245c
* | Bump default tox env from py37 to py38Sean McGinnis2020-04-241-1/+1
|/ | | | | | | | | | | | | | Python 3.8 is now our highest level supported python runtime. This updates the default tox target environments to swap out py37 for py38 to make sure local development testing is covering this version. This does not impact zuul jobs in any way, nor prevent local tests against py37. It just changes the default if none is explicitly provided. Change-Id: Ie26a8d5a79c3ba8348419f031af0cef0f0e5c6c7 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Remove Babel from requirementsDmitry Tantsur2020-04-172-2/+0
| | | | | | | | | It's not a runtime dependency (and even oslo.i18n has dropped it). The translation infrastructure installs Babel explicitly. See this mailing list thread for a full reasoning: http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html Change-Id: I2898616ec6302bb578ddc265d6c6dc02d8415eac
* Add Python3 victoria unit testsSean McGinnis2020-04-101-1/+1
| | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for victoria. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I8e798da1c5cc2b36d00ab861a77e836bd55a9900 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update master for stable/ussuriOpenStack Release Bot2020-04-082-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/ussuri. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/ussuri. Change-Id: Ibe088b927b963f1fe6b3e654ad1a5f03618c332b Sem-Ver: feature
* Add release note for Ussuri cinderclient release.7.0.0Brian Rosmaita2020-04-071-0/+28
| | | | | | The official Ussuri release will be 7.0.0. Change-Id: I4f41291768d06faf0d76f8d8a1c420b765f29b6b
* Merge "Remove autogen warning"Zuul2020-04-071-18/+0
|\
| * Remove autogen warningIan Wienand2020-03-251-18/+0
| | | | | | | | | | | | This isn't autogenerated ... it would be good if it was, but it isn't. Change-Id: Iaf8b2375051e2dbd8cf6fd653fac4cdc60b4e7ea
* | Merge "Replace bypass_url with os_endpoint"Zuul2020-04-076-20/+21
|\ \ | |/
| * Replace bypass_url with os_endpointIan Wienand2020-03-256-20/+21
| | | | | | | | | | | | | | | | The --bypass-url argument was removed with I3b951cc4eb3adff23f3d2cbe674971816261ef56 so this name does not make sense now. Replace with os_endpoint. Change-Id: Ifa889cc2e885e9c621c8494995b2020195b696ca
* | Merge "Add support for Block Storage API mv 3.60"Zuul2020-04-064-18/+91
|\ \
| * | Add support for Block Storage API mv 3.60wanghao2020-04-064-18/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change I1f43c37c2266e43146637beadc027ccf6dec017e adds time-comparison filtering to the volume list calls (summary and detail) in the Block Storage API microversion 3.60. The current cinderclient filter support will pass these filters correctly, so the only change needed on the client side is to bump the MAX_VERSION so that the client can make calls to mv 3.60. Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com> Change-Id: Ib4b7cbc7e527c0524336e139e127f19accfb7568 Partially-Implements: bp support-to-query-cinder-resources-filter-by-time-comparison-operators
* | | Cleanup py27 supportAndreas Jaeger2020-04-042-20/+1
| |/ |/| | | | | | | | | | | | | | | | | | | Make a few cleanups: - Remove python 2.7 stanza from setup.py - Add requires on python >= 3.6 to setup.cfg so that pypi and pip know about the requirement - Remove old sections from setup.cfg: Wheel is not needed for python 3 only repo Change-Id: I92d21453d610ba7f90ae9b150e6a245ce0e709e6
* | Remove --bypass-url documentationIan Wienand2020-03-244-16/+10
| | | | | | | | | | | | | | This was removed with I3b951cc4eb3adff23f3d2cbe674971816261ef56; cleanup old references. Change-Id: I71e6da99dff04d86b9dd67a754764b1e742d366a
* | Pass os_endpoint to keystone sessionIan Wienand2020-03-242-1/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The os_endpoint should be passed to the keystone session as the endpoint_override argument. This is particularly imprtant for talking to Rackspace, who seem to have an odd situation where the endpoint is V2 compatible [1], but the API is still at /v1/ [2] (i think?). To use the RAX API you need to find your account number, then something like: OS_USERNAME=xyz OS_PASSWORD=abc OS_AUTH_URL=https://identity.api.rackspacecloud.com/v2.0/ OS_VOLUME_API_VERSION=2 CINDER_ENDPOINT=https://dfw.blockstorage.api.rackspacecloud.com/v1/<account#> cinder volume list Should work Honestly I'm not 100% what's up with the unit test. I think endpoint override was not being processed previously, and now it is so it drops the "admin"? Story: #2007459 Task: #39138 [1] https://developer.rackspace.com/docs/cloud-block-storage/v1/general-api-info/cbsv1-methods-vs-cinderv2-methods/ [2] https://developer.rackspace.com/docs/cloud-block-storage/v1/general-api-info/service-access/ Change-Id: I6b9a1f088c84676ddf9894cf9524d3239f3cf3a9
* Merge "Fix doc bug filing link"Zuul2020-03-111-2/+2
|\
| * Fix doc bug filing linkEric Harney2020-03-061-2/+2
| | | | | | | | | | | | | | | | | | This needs to go to "python-cinderclient" to work instead of "cinderclient". Add a "doc" tag to these bugs as well. Change-Id: I45ae03e9c071dd9b159b1c0183b53db4dd837453
* | Ussuri contrib docs community goalBrian Rosmaita2020-03-053-10/+28
|/ | | | | | | This patch standardizes the CONTRIBUTING.rst file and adds doc/source/contributor/contributing.rst Change-Id: I892e49f96573b77b46bd8847a5d2ac8254e8e5e1
* Add filters support for volume transferRajat Dhasmana2020-02-125-1/+85
| | | | | | | | | | | | | | | | | | Currently ``id`` and ``volume_id`` filters are working correctly for transfer-list command. support for filtering by ``name`` is handled in patch provided in Depends-On. Since filtering by all parameters is supported by API, we can happily add the filters option on the client for volume transfers. Also adds functional test for transfers. Related-Bug: #1860100 Depends-On: https://review.opendev.org/#/c/703658/ Change-Id: I2fd3a6a7b9add65a9a21388df44efb6747065a74
* Merge "Update revert_to_snapshot params"6.0.0Zuul2020-02-121-3/+3
|\
| * Update revert_to_snapshot paramsArmstrong Liu2019-12-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | In revert_to_snapshot method, snapshot param must be a object and also has 'id' attribute, so before use the method, we have to use snapshot.get method to get snapshot information. But revert_to_snaoshot only use id of snapshot, we can use snapshot instead of snapshot.id. Change-Id: Ifbdbae3ee66d72f9d34cf4a8fdf2bde388b2b6f0
* | Merge "Raise hacking version to 2.0.0"Zuul2020-02-129-63/+63
|\ \
| * | Raise hacking version to 2.0.0Sean McGinnis2019-12-219-63/+63
| |/ | | | | | | | | | | | | | | | | We've kept hacking capped for a long time now. This raises the hacking package version to the latest release and fixes the issues that it found. Change-Id: I69e41a340c815090f25677607e971a8e75791f6d Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Merge "Add test for subcommands"Zuul2020-02-122-0/+119
|\ \
| * | Add test for subcommandsEric Harney2019-11-122-0/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This tests that the expected subcommands register in the shell client, by looking at the output that would show up in "cinder help". The purpose of this is to help prevent us from accidentally deleting some commands when refactoring shell code. TODO: cover commands post-3.0 Change-Id: Ifcbc08ae9184fa33049b18f8ad7ef5d92003a7b8
* | | Merge "Fix: --poll inconsistency"Zuul2020-02-122-1/+2
|\ \ \
| * | | Fix: --poll inconsistencywhoami-rajat2019-12-052-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we use `--poll` parameter with cinder create command, it waits for the volume to become available but doesn't update the data displayed to the user. Due to this, there are inconsistency between several parameters in the output after 'poll' and 'cinder show' command. Eg: cinder create 1 --image <image-id> --poll shows 'bootable' flag as false whereas, cinder show <vol-id> shows 'bootable' as true Change-Id: I1502e88f1cd84d225b75c07313e4eb252cc2d645 Closes-Bug: #1855224
* | | | Drop support for python 2xuanyandong2020-01-166-21/+63
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds support for py3.6 and py3.7 check and gate jobs. Co-authored-by: xuanyandong <xuanyandong@inspur.com> Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com> Closes-bug: #1853372 Change-Id: Ia978b692ade23ee6482957f41b17cb879c96fea7
* | | Merge "Update hacking version"Zuul2019-12-124-4/+6
|\ \ \ | |_|/ |/| |
| * | Update hacking versionjacky062019-10-304-4/+6
| | | | | | | | | | | | | | | | | | Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: I1ae708f0753249226ceb47610a1a4d0b558c1d0e
* | | Hide cinder CLI errors on bash-completionEric Harney2019-10-181-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On my environment, the cinderclient CLI reports: /usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.6) or chardet (2.2.1) doesn't match a supported version! When running any command. This is fairly irritating to have pop up in the context of cinder bash-completion calls, i.e., when you hit tab after "cinder" at the shell. Just hide errors there rather than pollute the screen with them. Change-Id: I40019dcc845015de8cfe8165656829cdaa446666
* | Update master for stable/trainOpenStack Release Bot2019-09-122-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/train. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/train. Change-Id: Ibe8494e386365c15cb8473c6dbf992b1f72888a8 Sem-Ver: feature
* | Merge "Drop support for --sort_key and --sort_dir"5.0.0Zuul2019-09-1110-162/+22
|\ \ | |/ |/|
| * Drop support for --sort_key and --sort_dirSean McGinnis2019-09-1110-162/+22
| | | | | | | | | | | | | | | | | | These arguments were deprecated in the kilo release in favor of a combined --sort argument. This drops support for the deprecated arguments. Change-Id: If8f8ac44cc81f553009a15ca67257e86cb925b6f Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Merge "Drop support for --allow-multiattach"Zuul2019-09-1112-70/+19
|\ \ | |/
| * Drop support for --allow-multiattachSean McGinnis2019-09-1112-70/+19
| | | | | | | | | | | | | | | | | | | | The ability to enable multiattach on the command line was deprecated in Queens with the full implementation of multiattach enabling it through volume type extra specs. This removes the command line arg and handling for specifying it with volume creation. Change-Id: Ifc0c874657f959266050cd1a7a40e6ecccc8c114 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Merge "Optional filters parameters should be passed only once"Zuul2019-09-114-21/+136
|\ \ | |/ |/|
| * Optional filters parameters should be passed only oncewhoami-rajat2019-09-054-21/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch does the following : 1) Errors out if similar type of filters args are passed Eg : cinder list --name abc --name xyz cinder list --name abc --filters name=xyz 2) Allows multiple filter parameters of different type cinder list --filters name=abc --filters size=1 Change-Id: I2f8662555f830b0821147324849d04e7a29d0580
* | Update docs to refer to PROJECT instead of TENANTSean McGinnis2019-09-103-7/+7
| | | | | | | | | | | | | | | | Updates several references for things like OS_TENANT_NAME and --os-tenant-name. Change-Id: If71710740b4d4573a1b3f515a5762a4f82bc727d Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Drop support for OS_TENANT_NAME and OS_TENANT_IDSean McGinnis2019-09-103-22/+12
| | | | | | | | | | | | | | | | These have been deprecated for a very long time now. Switch to only support the current OS_PROJECT_NAME and OS_PROJECT_ID. Change-Id: I2fb78768b4308a3aaf12764edadb58d4a307adaa Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Merge "Drop 'endpoints' and 'credentials' commands"Zuul2019-09-083-27/+6
|\ \
| * | Drop 'endpoints' and 'credentials' commandsSean McGinnis2019-04-183-27/+6
| | | | | | | | | | | | | | | | | | | | | | | | We are past the deprecation period for these commands and they should now be removed. Change-Id: I37f0dc539da5d43f629ea726bb603fa995c1fe6f Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>