summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add snapshot_id param note for backup-create"queens-em3.5.0Zuul2018-01-232-0/+9
|\
| * Add snapshot_id param note for backup-createzhengyin2018-01-112-0/+9
| | | | | | | | Change-Id: Id7c565629aeed6d915b21b8de514afcee42470cf
* | Merge "Bump API microversion to 3.50"Zuul2018-01-231-1/+1
|\ \
| * | Bump API microversion to 3.50Jay S. Bryant2018-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is to bump MAX_VERSION to 3.50 in api_version. This bump is necessary to keep cinderclient in sync with cinder which moved to 3.50 with change: f1bfd9790d2a7cac9a3e66417b11dc8e3edd8109 With MV 3.50 we are able to request multiple attachments for a single volume. Change-Id: Ic51b890b816112cecaedd68df8d13ec175623c66
* | | Merge "Removes unicode 'u' response for "cinder get-capabilities""Zuul2018-01-232-4/+5
|\ \ \
| * | | Removes unicode 'u' response for "cinder get-capabilities"Abijitha Nadagouda2018-01-232-4/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The output of "cinder get-capabilities" command returns unicoded response. But it would appear from the utils class that setting formatters will go through the capabilities dict and make sure all values are properly string formatted. Therefore added formatters to return string formatted response. Added formatters=sorted(prop.keys()) line instead of static values as suggested by the reviewer, to avoid tying server knowledge to the client and also any update on the server side would easily reflect here. Closes-bug: #1680444 Change-Id: Ie38236db364d59ddab42cb925d0435777b0ffe86
* | | Updated from global requirementsOpenStack Proposal Bot2018-01-181-1/+1
|/ / | | | | | | Change-Id: I25be0e60459c2dc652b4ee8672984a65d3cf143e
* | Merge "Support for reporting backend state in service list"Zuul2018-01-184-1/+24
|\ \
| * | Support for reporting backend state in service listwanghao2018-01-094-1/+24
| |/ | | | | | | | | | | | | | | | | | | This patch will support the feature: report backend state in service list in client side. Depends-On: I561dca3ef7c1901401621bc112389dbd178a907e Change-Id: If15e1fa50b5feecd74c7394c918f4fc9d87bcf3e Implements: blueprint report-backend-state-in-service-list
* | Merge "Add api_version wraps for generic volume groups"Zuul2018-01-181-0/+10
|\ \
| * | Add api_version wraps for generic volume groupsjeremy.zhang2018-01-111-0/+10
| | | | | | | | | | | | | | | | | | This patch is mainly to add api_verion wraps for volume group APIs. Change-Id: I1f71ef67c482410b9a671226f68160afde98ae5d
* | | Merge "Migrate to keystoneauth identity cli opts."Zuul2018-01-172-133/+92
|\ \ \
| * | | Migrate to keystoneauth identity cli opts.Zhao Chao2018-01-162-133/+92
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use keystoneauth1 to parse keystone authentication arguments. Previously these arguments are parsed in the different service clients seperately. Use keystoneauth1 instead will make this consistent across projects and less error-prone. This change is inspired by NovaClient. Co-Authored-By: Morgan Fainberg <morgan.fainberg@gmail.com> Co-Authored-By: David Hu <david.hu@hp.com> Co-Authored-By: Monty Taylor <mordred@inaugust.com> Closes-Bug: #1734945 Change-Id: I3c5141eeddd3747ff542e95b04e4848470ad9508 Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
* | | Merge "Fix v2 volume unit tests"Zuul2018-01-161-17/+15
|\ \ \
| * | | Fix v2 volume unit testsjeremy.zhang2018-01-081-17/+15
| |/ / | | | | | | | | | | | | | | | | | | This patch is mainly to fix the wrongly used fake client in v2 volume unit tests. Change-Id: If0d0aa7a95b7d58886cc77e8a377ac2f17985f18
* | | Merge "Add service cleanup command"Zuul2018-01-166-0/+129
|\ \ \
| * | | Add service cleanup commandGorka Eguileor2017-10-036-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cinder volume services will perform cleanup on start, but when we have multiple volume services grouped in a cluster, we may want to trigger cleanup of services that are down. This patch adds command `work-cleanup` to trigger server cleanups and prints service nodes that will be cleaned and those that didn't have an alternative service in the cluster to do the cleanup. This command will only work on servers supporting API version 3.24 or higher. New command: cinder work-cleanup [--cluster <cluster-name>] [--host <hostname>] [--binary <binary>] [--is-up <True|true|False|false>] [--disabled <True|true|False|false>] [--resource-id <resource-id>] [--resource-type <Volume|Snapshot>] Specs: https://specs.openstack.org/openstack/cinder-specs/specs/newton/ha-aa-cleanup.html Change-Id: I1c33ffbffcb14f34ee2bda9042e706937b1147d7 Depends-On: If336b6569b171846954ed6eb73f5a4314c6c7e2e Implements: blueprint cinder-volume-active-active-support
* | | | Merge "Add cluster support in manage listings"Zuul2018-01-165-18/+86
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Add cluster support in manage listingsGorka Eguileor2017-10-035-18/+86
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for API microversion 3.17, which allows us to pass --cluster optional argument to volume and snapshot manage listings. Implements: blueprint cinder-volume-active-active-support Change-Id: I97b5f2e9960d5a1f140fc638804dbc631d63ff9d
* | | Fix 'cluster' paramter using for v3 volume managejeremy.zhang2018-01-053-2/+12
| |/ |/| | | | | | | | | | | The 'cluster' paramter is wrongly provided for v3 volume manage, as it should be included in the 'volume' object. Change-Id: I12440aa6ada9c0e058138e8da7f7bc12359847bb
* | Merge "Deprecate multiattach flag on volume create"3.4.0Zuul2018-01-033-2/+25
|\ \
| * | Deprecate multiattach flag on volume createSean McGinnis2017-12-213-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This form of multiattach was never fully supported and is now being replaced by the new mutliattach workflow with Nova. As part of this, volume type extra specs will be used to indicate multiattach ability and will allow retyping between volume types to change the flag after creation. That work is still in progress and has some potential to change. But we know we are not going to support this old style, so we should get that deprecated now so we can remove it and not cause any confusion. Change-Id: Icbb9c0ca89b25620cedff6cac7a4723e7126eca6
* | | Updated from global requirementsOpenStack Proposal Bot2018-01-021-0/+3
| | | | | | | | | | | | Change-Id: I4d4efd8f1713972164a6ede13f3aa7d62f8e9717
* | | Follow the new PTI for document buildjiansong2017-12-213-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I7615e33c0d00c56b3ee6cb856a0553e32a1664c6
* | | Merge "Remove setting of version/release from releasenotes"Zuul2017-12-221-10/+3
|\ \ \
| * | | Remove setting of version/release from releasenotesSean McGinnis2017-11-161-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes are version independent, so remove version/release values. We've found that most projects now require the service package to be installed in order to build release notes, and this is entirely due to the current convention of pulling in the version information. Release notes should not need installation in order to build, so this unnecessary version setting needs to be removed. Change-Id: Ia207f4c8d2e6134aed4dbee37ccfb7b7f58bab16 Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
* | | | Merge "Updated from global requirements"Zuul2017-12-211-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Updated from global requirementsOpenStack Proposal Bot2017-12-191-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ib67cf573428146de735ec2e52d0697f37e14acef
* | | | Merge "Fix the way to get backup metadata"Zuul2017-12-202-5/+16
|\ \ \ \ | |/ / / |/| | |
| * | | Fix the way to get backup metadatalihaijing2017-12-132-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In v3/shell.py do_backup_update(), the metadata through 'args.metadata' is a list, like this: 'metadata': [u'k1=v1']. But we need a metadata dict like this: 'metadata': {"k1": "v1"}. So call the right method shell_utils.extract_metadata() to get metadata from args. Change-Id: I82cb96b1f89b4009d4b3f4a0e64db076a7a04977
* | | | Merge "Backup create is not available from 3.0 to 3.42"Zuul2017-12-153-16/+69
|\ \ \ \
| * | | | Backup create is not available from 3.0 to 3.42TommyLike2017-12-143-16/+69
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backup create command is shielded by patch [1]. [1]: 2255fc99da9752737dcaa96ae4507b646074afb2 Change-Id: I100b8734ee2df4d81e16e2bfdafd81227c20d25e
* | | | Removed unnecessary parameters from group and group_snapshots create APIspooja jadhav2017-12-145-23/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per code, the 'status', 'user_id' and 'project_id' parameter is not required to be passed in the request body in case of group and group_snapshot create APIs. Even if you pass these parameter, it is silently ignored in the code. This patch removes those parameters passed in the request body. Change-Id: I29e7d4c8a3eee52f4ea7278d2edf2c7deec40628
* | | Merge "Remove 'end_version' parameter in backup update"Zuul2017-12-112-5/+2
|\ \ \
| * | | Remove 'end_version' parameter in backup updateTommyLike2017-12-042-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary 'end_version' which was added in patch [1]. [1]: 2255fc99da9752737dcaa96ae4507b646074afb2 Change-Id: If014ba9c12bf662ef23ebf17decfa59273c63944
* | | | Bump Max API version to 3.483.3.0John Griffith2017-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order for Nova to be able to make use of the code for shared_targets that has gone into Cinder we need to bump to API Version to 3.48. This bumps to 3.48 to match the latest add to the Cinder side: https://review.openstack.org/#/c/524697/1 Change-Id: Icaa17654bd2810098d02f8074fedb35c5221cd55
* | | | Support create volume from backup in clientTommyLike2017-12-077-7/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds create volume from backup support in cinderclient. Change-Id: I01dbcf6b113d88732c174b848be2127ee7242b3c Implements: blueprint support-create-volume-from-backup Depends-On: 58d0fb327f9fc980e0c8b84dcd9f64c093285d13
* | | | Merge "Bump Max version to 3.46"Zuul2017-12-071-1/+1
|\ \ \ \
| * | | | Bump Max version to 3.46TommyLike2017-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump max version in client directly as the client changes are not needed. 1. 3.46: support create bootable volume from nova 0 size image. Change-Id: Ib0cf2d88e55006c10b873327ccc85dca2dd09769
* | | | | Merge "Updated from global requirements"Zuul2017-12-071-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Updated from global requirementsOpenStack Proposal Bot2017-12-051-1/+1
| |/ / / | | | | | | | | | | | | Change-Id: I87d4ef5b099793a049b361dcacf423a27282b12e
* | | | Merge "Support list with 'with_count' in client"Zuul2017-12-076-17/+117
|\ \ \ \
| * | | | Support list with 'with_count' in clientTommyLike2017-12-056-17/+117
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 'with_count' parameter in list volume, snapshot and backup APIs. Change-Id: I2b7b41b3579c24703a7a67ab5dc6f960a3ccbdc2 Partial-Implements: bp add-amount-info-in-list-api
* | | | Avoid tox_install.sh for constraints supportAndreas Jaeger2017-12-022-36/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not need tox_install.sh, pip can handle constraints itself and install the project correctly. Thus update tox.ini and remove the now obsolete tools/tox_install.sh file. This follows https://review.openstack.org/#/c/508061 to remove tools/tox_install.sh. Change-Id: I1facc619154613670444247ade567882ec84ed85
* | | Merge "Add cluster support in migration and manage"Zuul2017-12-019-48/+454
|\ \ \ | | |/ | |/|
| * | Add cluster support in migration and manageGorka Eguileor2017-10-039-48/+454
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for API microversion 3.16, which allows us to pass --cluster optional argument to migration and manage operations. For this, a new type of CLI argument is added, the mutually exclusive arguments that can be used similarly to the utils.arg decorator, but with utils.exclusive_arg decorator. Implements: blueprint cinder-volume-active-active-support Change-Id: If004715b9887d2a0f9fc630b44d6e11a4a8b778d
* | | Merge "Fix to use "." to source script files"Zuul2017-11-291-1/+1
|\ \ \
| * | | Fix to use "." to source script filesVan Hung Pham2017-11-221-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | Adhering to coding conventions. Refer to ``Code conventions`` at https://docs.openstack.org/contributor-guide/ for details. Change-Id: I65e0eea36f3cb3d8d33a059e1538bf0579ca7cdd
* | | Merge "Updated from global requirements"Zuul2017-11-292-2/+2
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2017-11-162-2/+2
| |/ / | | | | | | | | | Change-Id: I42a92cafe702ff98f7e2bec8af3292c4c8e660ca