summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Drop lower-constraints jobrocky-eolstable/rockyBrian Rosmaita2021-04-091-4/+0
| | | | | | | | | | 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: Ic41b5cf5eb211603e23205a0e805d8ac8fe1f913
* Add missed 'Server ID' output in attachment-listrocky-em4.0.3Minmin Ren2020-01-213-9/+31
| | | | | | | | | | | | | | | | | | | | | | 'server_id' is not Attachment attribute, should be set by 'instance' attribute. v3/attachments respond body: {"attachments": [{"status": "attached", "instance": INSTANCE_UUID, "id": ATTACHMENT_UUID, "volume_id": VOLUME_UUID, }, ... ] } Closes-Bug: #1860393 Change-Id: Ica5d278cb7455befe1db4be0ab65114fd606ea0a (cherry picked from commit 03f228c11e0d88dcc396b30b7544b5cfde894750) (cherry picked from commit 511224425804621550bf30403f7768eebe6f34ca)
* Raise API max version for Rocky updates4.0.2Sean McGinnis2019-05-082-1/+23
| | | | | | | | | | | | | | | | | | | Functionality was added during rocky, but the MAX_VERSION of the client was not updated for these versions. This raises the version to support the added functionality. 3.53 - Schema validation - no client changes 3.54 - Add mode option to attachment-create: I22cfddd0192c4a72b8f844f23d1fa51b96c57e06 3.55 - Transfer snapshots with volumes I61a84b5abf386a4073baea57d8820c8fd762ae03 This patch adds a release note to the cherry pick indicated below. Change-Id: I8c8fb8f552e529c8474a3e3b771ba8eb7aed193a Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> (cherry picked from commit b843a168efc9261a12ebe322fe701ef355474874) (cherry picked from commit ee37f267354a8dfe5d4b9b05c261bf86f329cfb8)
* OpenDev Migration PatchOpenDev Sysadmins2019-04-194-9/+9
| | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* Replace openstack.org git:// URLs with https://Ian Wienand2019-03-242-2/+2
| | | | | | | | | | | | | | | | | This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: I941987ce1e9fdff3ee8fc167168ad6386a0aa744
* import zuul job settings from project-configDoug Hellmann2018-09-091-0/+12
| | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I2b691e5abdf282f79f9c695f9492e1026222a628 Story: #2002586 Task: #24288
* Update UPPER_CONSTRAINTS_FILE for stable/rockyOpenStack Release Bot2018-08-081-4/+4
| | | | | | | | | | | | | | | | | | The new stable upper-constraints file is only available after the openstack/requirements repository is branched. This will happen around the RC1 timeframe. Recheck and merge this change once the requirements repository has been branched. The CI system will work with this patch before the requirements repository is branched because zuul configues the job to run with a local copy of the file and defaults to the master branch. However, accepting the patch will break the test configuration on developers' local systems, so please wait until after the requirements repository is branched to merge the patch. Change-Id: I54e3e36709410c2f32d2baf15764de38af43aa45
* Update .gitreview for stable/rockyOpenStack Release Bot2018-08-081-0/+1
| | | | Change-Id: Ie758aff52fe9947241c8ea44658a5b25041d2a04
* Allow volume-transfer creation < 3.55 microversion4.0.1Sean McGinnis2018-07-314-63/+32
| | | | | | | | | | | Handling for the new `no_snapshots` option was incorrectly handling microversion evaluation that would prevent anything less than the new microversion from working. This changes the check to only handle the changed argument for 3.55 and later. Change-Id: If96889ccde6044706e6a5dcd83fde3c20fe1c1fd Closes-bug: #1784703 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Merge "Reflect multiattach deprecation in help text"4.0.0Zuul2018-07-272-2/+2
|\
| * Reflect multiattach deprecation in help textSean McGinnis2018-07-262-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Change Icbb9c0ca89b25620cedff6cac7a4723e7126eca6 notified that the ``multiattach`` argument was deprecated, but nothing was added to the args help text to indicate this, relying on a user to have read the release notes. In preparation of removing this option, this updates the help text so there is at least some indication that it is going away. Change-Id: I9e767a3f1411fbfc0bf0e433b45560e451d547d5 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Remove replication v1 supportSean McGinnis2018-07-265-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | The replication v1 implementation in Cinder was deprecated in the Mitaka release in favor of the v2 "Cheesecake" version. Support was kept in the client for backwards compatibility, but it has now been several releases and these options should be removed. Closes-bug: #1705470 Change-Id: I978a39a552fffc9ac7ba6e4726d1df2072fa45ba Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Remove unnecessary parameters from volume create APIsNeha Alhat2018-07-266-70/+9
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | As per Cinder code, following parameters are not required to be passed in the request body of create volume API. * status * user_id * attach_status * project_id * source_replica If you pass these parameters, previously it was ignored but in the schema validation changes[1] we don't allow additionalProperties to be passed in the request body. If user passes additional parameters which are not as per API specs[2], then it will be rejected with 400 error. On patch[3], tempest tests: test_volume_snapshot_create_get_list_delete, test_volume_create_get_delete" are failing because of these unnecessary parameters. This patch removes these unnecessary parameters passed to the create Volume API. [1]https://blueprints.launchpad.net/cinder/+spec/json-schema-validation [2]https://review.openstack.org/#/c/507386/ [3]https://review.openstack.org/#/c/573093/ Change-Id: I37744bfd0b0bc59682c3e680c1200f608ad3991b
* Merge "Remove deprecated CLI options"Zuul2018-07-242-28/+15
|\
| * Remove deprecated CLI optionsSean McGinnis2018-07-232-28/+15
| | | | | | | | | | | | | | | | | | | | | | | | The following options were deprecated in Queens or Pike and are now being removed: --endpoint-type --bypass-url --os-auth-system Change-Id: I3b951cc4eb3adff23f3d2cbe674971816261ef56 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Merge "Update pylint to work with python 3"Zuul2018-07-234-8/+16
|\ \
| * | Update pylint to work with python 3Sean McGinnis2018-07-234-8/+16
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pylint job was switched over to run under python 3, but the job is not voting and it was apparently missed that the conversion was causing it to fail. This updates the version of pylint to one that is actually supported by python 3 and makes tweaks to our script to for the minor changes between versions. Single character change to get rid of the more strict py3 regex string escape character format. Change-Id: I93124b62c5ee177815457b32f55f5453fc3d387e Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Add reno to requirementsSean McGinnis2018-07-232-0/+2
|/ | | | | | | | | | | | | | Our HACKING documentation instructs developers to use: "tox -e venv -- reno new <slug>" to create new release notes. We did not add reno to our requirements though, so attempting to run "tox -e venv -- reno" fails with the command not found. This adds reno to our requirements so they get installed in the venv. Change-Id: Ie888297098e9380587769affad1a8ca9a6dfe5bc Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Switch from ostestr to stestrliuyamin2018-07-203-5/+5
| | | | | | | | os-testr has moved over to use stestr instead of testr. This change updates the tox.ini file to call stestr directly instead of going through ostestr and remove testrepository from test-requirements.txt. Change-Id: I31fa5fefd610ec783471e15992675bd39ff0ebc4
* Merge "Add release note for ability to set attachment mode"Zuul2018-07-201-0/+6
|\
| * Add release note for ability to set attachment modeSean McGinnis2018-07-191-0/+6
| | | | | | | | | | | | | | This adds a release note announcing the availability of the --mode CLI option to create attachments as RO or RW. Change-Id: I89e2bdd9b6da2745a793db78450b15e701e23ed1
* | Merge "Transfer snapshots with volumes"Zuul2018-07-206-2/+224
|\ \
| * | Transfer snapshots with volumeswanghao2018-07-196-2/+224
| |/ | | | | | | | | | | | | | | | | This patch will support to transfer volumes with or without snapshots in new V3 api after mircoversion 3.55. Change-Id: I61a84b5abf386a4073baea57d8820c8fd762ae03 Depends-On: https://review.openstack.org/533564/ Implements: blueprint transfer-snps-with-vols
* | Merge "fix tox python3 overrides"Zuul2018-07-192-1/+8
|\ \
| * | fix tox python3 overrideshuang.zhiping2018-07-172-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I04b87b308a82113a57ea41bde0329e92b07b642e
* | | Add mode option to attachment-createJohn Griffith2018-07-174-3/+60
| |/ |/| | | | | | | | | | | | | | | | | | | | | We introduce a mode option in attachment-create starting with microversion 3.54. The mode option is the new/preferred way of setting ro mode (as opposed to admin-metadata). This patch adds the support for the mode option to the client for endpoints that support 3.54. Depends-on: https://review.openstack.org/532702/ Change-Id: I22cfddd0192c4a72b8f844f23d1fa51b96c57e06
* | Merge "Remove initialization of logger if logger is None"Zuul2018-07-031-5/+0
|\ \
| * | Remove initialization of logger if logger is NoneNeha Alhat2018-06-261-5/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If default_log_level=keystoneauth=WARN is enabled in nova.conf, then these log messages [1][2][3] are logged using cinderclient.v3.client logger name instead of keystoneauth.session. This is because cinderclient initializes logger if not passed by nova and since debug=True is set in nova.conf it’s uses root logger log level. This patch removes initialization of logger code to ensure log messages[1][2][3] are logged only when keystoneauth=DEBUG is enabled in nova.conf. This will also enable us to consume split_logger config option [4] when enabled in nova without making any additional changes in client code. [1] REQ: https://review.openstack.org/#/c/505764/8/keystoneauth1/session.py@391 [2] RESP: https://review.openstack.org/#/c/505764/8/keystoneauth1/session.py@422 [3] RESP BODY: https://review.openstack.org/#/c/505764/8/keystoneauth1/session.py@454 [4] https://review.openstack.org/#/c/568878/ Change-Id: I937c6ac2f6e254c438ee2f36eb6c291f62c0f411
* | Merge "Use api version 3 for functional test"Zuul2018-06-253-5/+12
|\ \
| * | Use api version 3 for functional testjunboli2018-06-193-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | switch to use OS_VOLUME_API_VERSION = 3 to run functional tests. Closes-bug: #1775354 Co-Authored-By: liuyamin <liuyamin@fiberhome.com> Change-Id: If6c4291aa7d8e85a4f8c1d5665a0e4a72aa1f1d1
* | | Keep is_public usage backwards compatible3.6.1Sean McGinnis2018-06-223-12/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a1513244caf7acbd41e181419bc8b62bf4bcaba added the ability to filter by AZ, but it changed the existing behavior if is_public was not specified. This adds handling to make sure we are still consistent with the previous behavior. Co-Authored-by: Alan Bishop <abishop@redhat.com> Change-Id: I5000aab092c1b434c8dc17bbe4b2d3d632f528c3 Closes-bug: #1778055
* | | unable to create group from src in cinderclientwanghao2018-06-203-9/+20
|/ / | | | | | | | | | | | | | | | | | | | | According the api schema of cinder, create_group_from_src should only specify one of arguments from [group_snapshot_id, source_group_id]. Now cinderclient specified them both even if one of them is None. This patch fix this issue to just pass one argument. Change-Id: Idef51ab9a1452dd5eb3be4d4b6dca095a777d611 Closes-Bug: #1777555
* | Merge "Fix failing functional test cases"Zuul2018-06-181-2/+4
|\ \
| * | Fix failing functional test casesPooja Jadhav2018-06-131-2/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | After applying schema validation to volume actions APIs[1], error messages are formatted as per the standards. So the tests are failing because of error messages. This patch fixes failed functional tests by correcting error messages. [1]https://review.openstack.org/#/c/559042/ Change-Id: Id05bf637d77ab401fc0aec5be09eee423bf1a223
* | Merge "Unreadable output of upload-to-image."Zuul2018-06-151-0/+4
|\ \
| * | Unreadable output of upload-to-image.deepak_mourya2018-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The output of upload-to-image is not readable due to volume type is printed in output as a whole. Printing volume type name only cleans up the output. Change-Id: Ia588cf7ccc0873a8cf956c551afcccf4b6ddaa39 Closes-Bug: #1557486
* | | Remove PyPI downloadsChen2018-06-071-4/+0
| |/ |/| | | | | | | | | | | | | | | According to official site, https://packaging.python.org/guides/analyzing-pypi-package-downloads/ PyPI package download statistics is no longer maintained and thus should be removed. Change-Id: I2a2b3970abb9c66b5a1db70248726a0fc6fb37a4
* | Merge "update the value of OS_AUTH_URL and OS_VOLUME_API_VERSION"3.6.0Zuul2018-06-023-5/+5
|\ \
| * | update the value of OS_AUTH_URL and OS_VOLUME_API_VERSIONunknown2018-05-213-5/+5
| |/ | | | | | | | | | | | | In the file doc/source/cli/index.rst, doc/source/user/cinder.rst, doc/source/user/shell.rst, update OS_AUTH_URL and OS_VOLUME_API_VERSION. Change-Id: I543bb2fedf3a1326bf1a46804f0d026ad8e21680
* | Merge "Add the parameter service-id for service cleanup command"Zuul2018-05-282-3/+12
|\ \
| * | Add the parameter service-id for service cleanup commandliuyamin2018-05-252-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | There isn't service_id param in cinderclient. We have this param in cinder, so add this param in the cinderclient. Change-Id: I579741595f91802bcf117029889567f234b5b14c Closes-bug: #1771721
* | | Remove useless args in create_group_from_srcwanghao2018-05-223-13/+1
| |/ |/| | | | | | | | | | | | | | | | | | | Remove status, project_id and user_id args from create_group_from_src. Those args will cause error when using cinderclient since schema validation in Cinder side. Change-Id: Iba9a45625f9e6423e8e582425605ca184238cde9 Closes-Bug: #1772375
* | Merge "Support availability-zone in volume type"Zuul2018-05-206-6/+57
|\ \ | |/ |/|
| * Support availability-zone in volume typeTommyLike2018-05-026-6/+57
| | | | | | | | | | | | | | | | | | | | Since 3.52, new option '--filters' has been added to 'type-list' command, and it's only valid for administrator. Change-Id: I140f6d61a2747d4fcaabfbccea864dcc7eb841d1 Depends-On: I4e6aa7af707bd063e7edf2b0bf28e3071ad5c67a Partial-Implements: bp support-az-in-volumetype
* | Follow the new PTI for document buildliuyamin2018-05-111-7/+0
| | | | | | | | | | | | | | | | | | | | This review already follows the new PTI https://review.openstack.org/#/c/528997/ but we also should remove [build_sphinx] section as described in: http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Change-Id: I6cf9f2fb59502acb4166faa5c3946dc24eeceee0
* | Merge "Allow --help for specific commands"Zuul2018-05-032-0/+17
|\ \
| * | Allow --help for specific commandsEric Harney2018-04-102-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes calls such as: $ cinder list --help work as expected, equivalent to: $ cinder help list rather than just printing the full help message. Change-Id: I038eeeea554f0bb5dd170f503eaec570441520b3
* | | Trivial: Update pypi url to new urlTovin Seven2018-04-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Change-Id: I7f467a12ec4cf5d3c9e3f74ac0ade09f67867c20
* | | add lower-constraints jobDoug Hellmann2018-04-073-0/+74
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: Ib36375525dd11d62d9f5566c714e76876892d9d7 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | Merge "Update python usage docs"Zuul2018-04-041-1/+2
|\ \ | |/ |/|