summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove replication v2 calls1.6.0Alex O'Rourke2016-03-014-135/+0
| | | | | | | | | | With replication v2.1 merged in cinder and the calls merged in the client, there is no longer a need for the old calls. If these commands are called with the newest cinder code, it fails miserably. Basically reverts this patch: https://review.openstack.org/#/c/231708 Change-Id: I29c0565c1efe518e40c3483ceb4ca0d40cd7d0d7
* Merge "Update minimum tox version to 1.8"Jenkins2016-03-011-1/+1
|\
| * Update minimum tox version to 1.8Sean McGinnis2016-02-281-1/+1
| | | | | | | | | | | | | | | | Other projects have updated to 1.8 or later for the minimum tox version (nova, neutron), so we should probably do the same. Change-Id: I2a12208ee964278d10f34a8439cefa8269c11b9b
* | Merge "Add replication v2.1 (cheesecake) calls"Jenkins2016-02-292-0/+46
|\ \
| * | Add replication v2.1 (cheesecake) callsJohn Griffith2016-02-242-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cheesecake introduces a host based replication use case. This change includes the changes needed to support those implementations in the Cinder API. Implements: blueprint replication-update Change-Id: I74dc1a00fb4a2c05510c6159253036ac19706959
* | | Merge "snapshot-list now supports filtering by tenant"Jenkins2016-02-292-1/+19
|\ \ \
| * | | snapshot-list now supports filtering by tenantDeepti Ramakrishna2016-02-272-1/+19
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Admin can now filter snapshots on the basis of tenant. No changes are needed on server side since snapshot model contains project_id as a column which means that it supports native filtering by tenant (i.e, project) via SQL. This closely follows similar functionality for volume listing added in the change-id - fa8c7e3d84bd93cdfc3641554e10d422281ea018 DocImpact After this patch is merged we need to regenerate the CLI reference guide so that the added documentation for the new option "--tenant <tenant_id>" for "cinder snapshot-list" command gets included. Change-Id: I0bbd8e0b4aaf25da738c67638fb497337ead312b Co-Authored-By: wuyuting <wytdahu@gmail.com>
* | | Merge "Avoid logging sensitive info in http requests."Jenkins2016-02-293-2/+57
|\ \ \
| * | | Avoid logging sensitive info in http requests.Jose Porrua2016-02-163-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch follows the same approach as other OpenStack python clients, by adding a safe header method to hash sensitive information. Change-Id: I980ea7411b1e7f6d47d0a75d58de87b0f944d0d9 Closes-bug: #1516689
* | | | Merge "Trival: Remove 'MANIFEST.in'"Jenkins2016-02-290-0/+0
|\ \ \ \
| * | | | Trival: Remove 'MANIFEST.in'LiuNanke2016-01-101-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Everything in this file is automatically generated by pbr. There appears to be no good reason to keep it around. Change-Id: Ie2482701e8061deb7b71f66c9d1d8727d206a49c
* | | | | Merge "Use instanceof instead of type"Jenkins2016-02-292-2/+2
|\ \ \ \ \
| * | | | | Use instanceof instead of typeBrandon Palm2016-02-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjusted conditional statements to use instanceof when comparing variables. Instanceof supports inheritance type checking better than type. Change-Id: I449f3df92b3646c384de717b7d53f7f85258c449
* | | | | | Merge "Word Misspelling"Jenkins2016-02-292-2/+2
|\ \ \ \ \ \
| * | | | | | Word MisspellingHerman Ge2016-01-112-2/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Word misspelling in following message: 1. shell.py help='A unqiue identifier that represents a failover target.' 2. volumes.py :param secondary: A unqiue identifier that represents a failover Should change the word 'unqiue' to 'unique'. Change-Id: I44a94b403f0bb71864d03683bdaf3b98f4d73bb1
* | | | | | Merge "Fix return type in consistencygroups docstring"Jenkins2016-02-291-1/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Fix return type in consistencygroups docstringCao ShuFeng2016-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix return type of create_from_src in consistencygroups. TrivialFix Change-Id: I510ccbb919af0a3f0950ff04f9c41b3d3b6aacfa
* | | | | | Merge "Fix omission of request_ids returned to user"Jenkins2016-02-272-3/+14
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix omission of request_ids returned to userCao Shufeng2016-02-172-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ManagerWithFind's find() and findall() function is exposed to users as ManagerWithFind is parent class of VolumeManager, SnapshotManager, etc. When the find() and findall() function is called by users, they should also return request_ids to users. Change-Id: I87dca61f96ff9cf4dc9a443a46d7f559e8b3026f Closes-Bug: 1545975
* | | | | | Merge "Don't print HTTP codes for non-HTTP errors"Jenkins2016-02-253-8/+24
|\ \ \ \ \ \
| * | | | | | Don't print HTTP codes for non-HTTP errorsEric Harney2016-02-243-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes: $ cinder rename asdf ERROR: Must supply either name or description. (HTTP 1) To: $ cinder rename asdf ERROR: Must supply either name or description. Affects rename, snapshot-rename, consisgroup-update, and consisgroup-create-from-src. (consisgroup-* previously printed HTTP 400.) Closes-Bug: #1549020 Closes-Bug: #1549026 Change-Id: Ia920b3b75b53170789b694cbdd49100bd6a72d21
* | | | | | | Merge "Add extra_specs_list test"Jenkins2016-02-251-0/+4
|\ \ \ \ \ \ \
| * | | | | | | Add extra_specs_list testEric Harney2016-02-181-0/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no test covering this command. Change-Id: I887cef64490037b17dbea5d82b099324b5fe9d58
* | | | | | | Merge "Updated from global requirements"Jenkins2016-02-251-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Updated from global requirementsOpenStack Proposal Bot2016-02-241-1/+1
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: Ie8e5df17dda66255802b475e6f5295d74a2eface
* | | | | | | Merge "Remove pypy from tox environment list"Jenkins2016-02-251-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Remove pypy from tox environment listSean McGinnis2016-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pypy is a supported python interpretor for python-cinderclient, but I don't think it's necessary to run all unit tests with it for everyone. We do have the gate-python-cinderclient-pypy test to validate there are no incompatibilities. Pypy is also not available by default, so it is an extra step for someone to know to install and set up the pypy environment before they can run tox without failures. Change-Id: I15e315415574dfe8cf8a3d5f7f968a082b81b165
* | | | | | | Merge "Extra 'u' in output of cinder cli commands"Jenkins2016-02-242-5/+32
|\ \ \ \ \ \ \
| * | | | | | | Extra 'u' in output of cinder cli commandsSheel Rana2016-02-192-5/+32
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In output of cinder show command, below fields contains extra 'u' character being unicode: 1. volume_image_metadata 2. metadata In output of "cinder credentials", below field contains extra 'u' 1. roles In output of "cinder qos-create", below field contains extra 'u' 1. specs In output of "cinder qos-list", below field contains extra 'u' 1. specs In output of "cinder extra-specs-list", below field contains extra 'u' 1. extra_specs In output of "cinder qos-show", below field contains extra 'u' 1. specs Change-Id: I8be32f117ddc29b087ee872ff065c175dd70b372 Closes-Bug: #1538413 Closes-Bug: #1538415
* | | | | | | Add release notes for return-request-id-to-callerAnkit Agrawal2016-02-241-0/+10
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more details on how request_id will be returned to the caller, please refer to the approved blueprint [1] discussed with the cross-project team. [1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html Implements: blueprint return-request-id-to-caller Change-Id: Ic6b557895707f30869219bd5096c4ef7785cf7dc
* | | | | | Merge "Eliminate unnecessary character"Jenkins2016-02-231-1/+1
|\ \ \ \ \ \
| * | | | | | Eliminate unnecessary characterdaiki kato2016-02-171-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminated unnecessary character about endpoint of keystone. Change-Id: I4ae38d22c28162d87277379a693614c2a63433c9
* | | | | | Merge "Add request_ids attribute to resource objects"Jenkins2016-02-236-35/+72
|\ \ \ \ \ \
| * | | | | | Add request_ids attribute to resource objectsAnkit Agrawal2016-02-166-35/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added request_ids attribute to resource object for all the volume_backups, volume_encryption_types and volume_transfers APIs by updating following APIs: volume_backups: reset_state, delete, export_record, import_record volume_transfers: delete volume_encryption_types: list Returning list with request_ids as attribute in case of 'list' API for volume_encryption_types. These changes are required to return 'request_id' from client to log request_id mappings of cross projects. For more details on how request_id will be returned to the caller, please refer to the approved blueprint [1] discussed with the cross-project team. [1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html DocImpact 'request-ids' will be returned as an attribute with response object. User can access it using 'res.request_ids' where 'res' is a response object. Change-Id: I2197ca38f6c9a8b0ced5c82d29676b49c9700b09 Partial-Implements: blueprint return-request-id-to-caller
* | | | | | | Merge "Add request_ids attribute to resource objects"Jenkins2016-02-2317-81/+181
|\ \ \ \ \ \ \
| * | | | | | | Add request_ids attribute to resource objectsAnkit Agrawal2016-02-1617-81/+181
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added request_ids attribute to resource object for all the cgsnapshots, consistencygroups, qos_specs, quota_classes, quotas and services APIs by updating following APIs: cgsnapshots: delete, update consistencygroups: delete, update, create qos_specs: delete, associate, disassociate, disassociate_all quota_classes: update quotas: update services: enable, disable, disable_log_reason These changes are required to return 'request_id' from client to log request_id mappings of cross projects. For more details on how request_id will be returned to the caller, please refer to the approved blueprint [1] discussed with the cross-project team. [1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html DocImpact 'request-ids' will be returned as an attribute with response object. User can access it using 'res.request_ids' where 'res' is a response object. Change-Id: I7b399512fcec9ecd31938656deb60e325bb76ad4 Partial-Implements: blueprint return-request-id-to-caller
* | | | | | | Merge "Fix sort problem in snapshot and backup list"Jenkins2016-02-232-2/+29
|\ \ \ \ \ \ \
| * | | | | | | Fix sort problem in snapshot and backup listLisaLi2016-01-202-2/+29
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sort in command snapshot-list and backup-list doesn't work, and they show same results. The patch is to fix the problem, and transfer sortby_index as None in utils.print_list. Closes-Bug: #1536054 Change-Id: I00760fd4b395b04b95a8139224e18ea8d649d377
* | | | | | | Merge "Add request_ids attribute to resource objects"Jenkins2016-02-2310-97/+211
|\ \ \ \ \ \ \
| * | | | | | | Add request_ids attribute to resource objectsAnkit Agrawal2016-02-1710-97/+211
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added request_ids attribute to resource object for all the volume, volume_types, volume_type_access and volume_snapshots APIs by updating following APIs: volumes: delete, update, force_delete, reset_state, extend, migrate_volume, retype, update_readonly_flag, manage, unmanage, promote, reenable, get_pools, initialize_connection, terminate_connection, get_encryption_metadata volume_types: delete volume_type_access: add_project_access remove_project_access volume_snapshots: delete and update Returning list with request_ids as attribute in case of 'delete_metadata' and 'delete_image_metadata' APIs. These changes are required to return 'request_id' from client to log request_id mappings of cross projects. For more details on how request_id will be returned to the caller, please refer to the approved blueprint [1] discussed with the cross-project team. [1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html DocImpact 'request-ids' will be returned as an attribute with response object. User can access it using 'res.request_ids' where 'res' is a response object. Change-Id: Icc4565291220278a65e6910a840fba623b750cc4 Partial-Implements: blueprint return-request-id-to-caller
* | | | | | | Merge "Provide consistency for Wrapper classes"Jenkins2016-02-233-6/+6
|\ \ \ \ \ \ \ | |/ / / / / / | | | | / / / | |_|_|/ / / |/| | | | |
| * | | | | Provide consistency for Wrapper classesAnkit Agrawal2016-02-153-6/+6
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated TupleWithMeta class to make it consistent with other Meta classes in order to avoid confusion. Also made provision to call TupleWithMeta with a tuple containing one or more elements. For more details on how request_id will be returned to the caller, please refer to the approved blueprint [1] discussed with the cross-project team. [1] http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html Change-Id: I5a79a4ed8cb4dc83ea3b64499df191750462100d Partial-Implements: blueprint return-request-id-to-caller
* | | | | Fix return type in backup docstringAnkit Agrawal2016-02-171-3/+3
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed return type for export_record and import_record in volume backups. TrivialFix Change-Id: I58aea0996961eab33e5cfa7d57b59cda9859e82e
* | | | Merge "Remove openstack-common.conf"Jenkins2016-02-161-10/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove openstack-common.confLiuNanke2016-01-071-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't sync from oslo-incubator, so don't need this file any more. Change-Id: Ifba634021ec1bd67c0155cf22222d4b214b4736d
* | | | Merge "Removes MANIFEST.in as it is not needed explicitely by PBR"Jenkins2016-02-151-4/+0
|\ \ \ \
| * | | | Removes MANIFEST.in as it is not needed explicitely by PBRsonu.kumar2015-12-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes `MANIFEST.in` file as pbr generates a sensible manifest from git files and some standard files and it removes the need for an explicit `MANIFEST.in` file. Change-Id: Ied336f051e094b6b7bed4cac0858941ec43e3b26
* | | | | Merge "Code is hosted on git.openstack.org"Jenkins2016-02-151-3/+2
|\ \ \ \ \
| * | | | | Code is hosted on git.openstack.orgAndreas Jaeger2016-01-161-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're hosting on git.openstack.org, github is just a mirror. Update description in README.rst for this. Change-Id: I813d0da52490f4de4c8586c48fc9d09fd52f3b5a
* | | | | | Merge "Update HACKING with current information"Jenkins2016-02-151-47/+17
|\ \ \ \ \ \