summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Prep for 1.2.2"1.2.2Jenkins2015-06-051-0/+5
|\
| * Prep for 1.2.2John Griffith2015-06-051-0/+5
| | | | | | | | | | | | | | Still in need of a push to pypi for dependency issues, here's the bump, coming up next tag and push. Change-Id: I60ed62278c6baa162405e1b36042d3f229395689
* | Merge "Updated from global requirements"Jenkins2015-06-051-1/+1
|\ \ | |/ |/|
| * Updated from global requirementsOpenStack Proposal Bot2015-06-041-1/+1
| | | | | | | | Change-Id: If12a4d22c92f6b33a126a8cd659c267077dd99d2
* | Merge "Add findall server side filtering"Jenkins2015-06-053-9/+24
|\ \ | |/ |/|
| * Add findall server side filteringAnton Arefiev2015-05-223-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | Findall method in cinderclient/base.py isn't very efficient: it loads the entire list then filters on the Python side. When calling "cinder show 'volName'" on a tenant holding a lot of volumes (> 1000) the run time is too long. On my env show command with 10000 volumes takes ~2 min, after apply this patch few seconds. Closes-Bug: #1449444 Change-Id: I23070d94d5bb100b2dd8677f67d7c8b1e7d34e52
* | Merge "Fixed typos and repeated docstrings"Jenkins2015-06-045-11/+16
|\ \
| * | Fixed typos and repeated docstringsSwapnil Kulkarni2015-05-135-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates in [1] volume_snapshots.py (v1 & v2) [2] qos_specs.py (v1 & v2) [3] volumes.py Closes-Bug: #1343844 Co-Authored-By: Chandan Kumar <chkumar246@gmail.com> Change-Id: I867a9eae6e1907b941e49928c6aa976d261d159a
* | | Merge "Fix functional readonly_cli tests"Jenkins2015-06-022-22/+33
|\ \ \
| * | | Fix functional readonly_cli testsAnton Arefiev2015-05-262-22/+33
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parser.listing method return empty list if env doesn't have resources, so assertTableStruct works wrong, doesn't check field names in the output table. This change add new assert(assertTableHeaders) to check resource attributes. Change-Id: Ieca67b5cc2202467527c5a2dfbd7b2f2b4d5ad8d Closes-Bug: #1458932
* | | Merge "Avoid _get_keystone_session() if auth_plugin"Jenkins2015-06-023-6/+59
|\ \ \
| * | | Avoid _get_keystone_session() if auth_pluginDerrick J. Wippler2015-05-073-6/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid calling _get_keystone_session() if auth_plugin is provided by the user Closes-Bug: 1421433 Change-Id: I37a7139107c357caf1a25ac3d0a3457afade0f83
* | | | Merge "Fix functional tests and tox 2.0 errors"Jenkins2015-06-023-8/+59
|\ \ \ \
| * | | | Fix functional tests and tox 2.0 errorsAdrien Vergé2015-05-183-8/+59
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the recent update to tox 2.0.x, environment variables such as OS_AUTH_URL are not passed by default, resulting in tests errors mentionning Keystone authentication failures. This patch reads credentials from the 'functional_creds.conf' config file, like it is done in novaclient (and soon in glanceclient and neutronclient). Reading credentials the old way (the environment) is still possible. Change-Id: I2ec1df481aba7a3866fc8dbc912311de02c22d11 Related-Bug: #1455102
* | | | Bump hacking to >=0.10.0,<0.11 to fix failure of gate pep8Tomoki Sekiyama2015-06-014-5/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pbr 1.0.1 released in 2015-05-19 requires the newer hacking module >=0.10.0,<0.11 than the versions specified in the test-requirement.txt file, which causes failure in gate-python-cinderclient-pep8. This patch bumps the pbr version in test-requirement.txt to make it consistent with requirements repository, and adds some fixups to avoid some new hacking rules. Change-Id: I7de6e04e30a475ec1c26224461faf0c708178a40 Closes-Bug: #1460774
* | | Merge "Find resource refactoring"Jenkins2015-05-1711-21/+49
|\ \ \
| * | | Find resource refactoringAnton Arefiev2015-05-1211-21/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'name' field for some resources is called something different, for example 'display_name' for volumes, 'name' for volumes type. So class 'resource' has attribute 'NAME_ATTR' wich contains attribute name for different resources. This change removes reduntant call find in resource manager, instead of it checks NAME_ATTR value. Related-Bug: #1449444 Change-Id: Ide334d7535c73cbdff72c30319eb539d8f5304d6
* | | | Merge "Add functional post test_hook"Jenkins2015-05-131-0/+53
|\ \ \ \
| * | | | Add functional post test_hookJohn Griffith2015-05-121-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an initial add of a simple post_test_hook for the functional tests that are run in cinderclient. Change-Id: If0b242c4caaa611da8fb55b8f04ab436c0ce9984
* | | | | Merge "cinderclient no longer honors --endpoint-type"Jenkins2015-05-131-4/+4
|\ \ \ \ \
| * | | | | cinderclient no longer honors --endpoint-typescottda2015-05-121-4/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit for "Enable version discovery": ae03d2a721bd9acb61805ce792a27fb7cf88e5cd breaks CLI use of --endpoint-type. This is because we were using the default interface instead of checking to see if an endpoint_type is passed in. Change-Id: I412bb6b4bcb9bf10aa6118a2ed43e28cbd3ed236 Closes-Bug: 1454407
* | | | | Add --os-endpoint-type to match other servicesscottda2015-05-121-7/+14
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cinder uses the parameter '--endpoint-type' but other services (Glance, Nova, Swift) use '--os-endpoint-type'. (Neutron has deprecated 'endpoint-type' in favor or 'os-endpoint-type' as well. '--endpoint-type' should be deprecated and 'os-endpoint-type' should be added. Change-Id: I0ac6573be35c86b9f764a39f1e60486d2345f51b Closes-Bug: #1453901
* | | | Updated from global requirementsOpenStack Proposal Bot2015-05-071-1/+1
| |/ / |/| | | | | | | | Change-Id: I51a8d89fb392d578c54aa1318e02aa1a1ae19320
* | | Update release notes for 1.2.0 and 1.2.11.2.1Mike Perez2015-05-061-0/+80
|/ / | | | | | | | | | | Prepping for tag. Change-Id: I8ae5e5a0e7ea140d84a0838ffd2ce0c08fcc6aad
* | Merge "Remove "OPTIONAL:" from optional argument help text (v2)"Jenkins2015-05-061-6/+6
|\ \
| * | Remove "OPTIONAL:" from optional argument help text (v2)Eric Harney2015-04-221-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All arguments starting with '--' are optional and listed under the 'Optional arguments:' header by argparse. Remove the extra note shown for each argument. This mirrors the previous change which cleaned this up for v1: 811af8f Remove "OPTIONAL:" from optional argument help text Change-Id: Ie8e9544c1544ff5403f1c29e83d528d896957899
* | | Merge "Updated from global requirements"Jenkins2015-05-061-2/+2
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2015-05-041-2/+2
| | | | | | | | | | | | | | | | Change-Id: Ie0fbf5656185fb39fb2c3199fbd4ce59fc1dd4c4
* | | | Merge "Add CLI read-only functional tests"Jenkins2015-05-066-1/+151
|\ \ \ \
| * | | | Add CLI read-only functional testsJohn Griffith2015-05-046-1/+151
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First pass at functional tests in cinderclient. This patch just takes some of the basic CLI tests from tempest and moves them into the cinderclient functional tests. These are read-only tests, and just do simple field checks on the tables generated by the basic list commands. Note: to run use "tox -efunctional", this requires that you have a full cinderclient env and credentials are set. You may be either running this locally (say in a devstack env) or you may have a remote cloud handy that you can just source the credentials for and run it that way. Change-Id: I2f09a63be265d6a74cb103d80579068b9ab66bf4
* | | | Change --force parameter into booleanyatin karel2015-05-042-11/+40
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Change --force parameter into boolean, now user can use it as boolean, without specifying True or False with it. It is still backward compatible with --force True|False. This can be deprecated in future. Closes-Bug: #1244453 Change-Id: Id245af1fa0db27912439a420c37aefca530894ba
* | | Add version removal rule to stop discovery warningMike Perez2015-04-292-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cinder recently added version discovery leveraging Keystone Client. For cases where the service catalog still contains version numbers, this can result in Keystone attempting to do discovery at the base url with the version number and giving warnings. This will set a version removal rule so Keystone can find the correct base url. Change-Id: I71432468fea8bf1e50f180ab7f6dd69ee9aaa7e6 Closes-Bug: #1448244
* | | Merge "Support pagination param limit in volume list in V1"Jenkins2015-04-283-2/+14
|\ \ \
| * | | Support pagination param limit in volume list in V1Anton Arefiev2015-04-223-2/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | Since v1 api supports limit param in volume list, cinderclient should support it too. Change-Id: I60ffe0190a61dee354de5bc60ea3210c666bf6f2 Closes-Bug: #1447162
* | | V2:cinder create --image option doesn't workPranaliDeore2015-04-272-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In create volume help, --image optional parameter is allowed to be passed to create volume, but even after passing valid image ID or NAME, volume is created without image. Assigned image parameter to the image_ref to fix this issue. Closes-Bug: 1447589 Change-Id: I21b8a51451a2caf230ca04103b2d573d1aa966b4
* | | Merge "Remove duplicate find request in find_resource"Jenkins2015-04-242-17/+19
|\ \ \
| * | | Remove duplicate find request in find_resourceGorka Eguileor2015-04-012-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed duplicate manager.find method call using search argument display_name that affected any command that searches for a volume by display_name or any command that searches for non existent volumes. Change-Id: I86c99b41dd231b058ed3f6d5d78eafe35a111dec Closes-Bug: #1429102
* | | | Merge "Create Consistency Group from CG Snapshot CLI"Jenkins2015-04-245-0/+96
|\ \ \ \
| * | | | Create Consistency Group from CG Snapshot CLIXing Yang2015-04-225-0/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addressed the following: * Added a new CLI to support creating a CG from a CG snapshot. cinder consisgroup-create-from-src [--cgsnapshot <cgsnapshot>] [--name <name>] [--description <description>] API patch: https://review.openstack.org/#/c/145952/ Partial-Implements: blueprint consistency-groups-kilo-update Change-Id: I03cce04e1d43ea72fc53a8bf614ba4f969f6e32e
* | | | | Merge "Update README to work with release tools"Jenkins2015-04-231-0/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Update README to work with release toolsDoug Hellmann2015-04-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The README file needs to have links to the project documentation and bug tracker in a parsable format in order for some of the release tools scripts to work (particularly the one that prints the release note email). Change-Id: I37e0acc5ed8e1af565359290fa622456901c735e
* | | | | Kilo Consistency Group CLI updateXing Yang2015-04-223-2/+96
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses the following: * Modify Consistency Group * Add CLI to update a consistency group, i.e., changing name and description, adding existing volumes to CG and removing volumes from CG. cinder consisgroup-update --name <name> --description <description> --add-volumes <uuid1,uuid2,...> --remove-volumes <uuid5,uuid6,...> Implements: blueprint consistency-groups-kilo-update Change-Id: I76317dc006c1f80e2e6c83218e9566f1d37d935e
* | | | Merge "Add support to incremental backups in cinder"Jenkins2015-04-214-3/+25
|\ \ \ \ | |/ / / |/| | |
| * | | Add support to incremental backups in cinderXing Yang2015-04-214-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new option to "cinder backup-create" to support incremental backups. Specify --incremental to create an incremental backup. By default, it will be a full backup. Co-Authored-By: Xing Yang <xing.yang@emc.com> Implements: blueprint incremental-backup Change-Id: Id11ecd2982ea838181b4adaa5a742fc65f864acb
* | | | Merge "Add ability to specify path var to testr"1.2.0Jenkins2015-04-211-1/+1
|\ \ \ \
| * | | | Add ability to specify path var to testrJohn Griffith2015-04-201-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This keeps cinderclient/tests as the default test dir, but it adds the ability to set specific paths via the OS_TEST_PATH var, this way we can call on unit vs functional tests (once the functional tests are in place of course). Change-Id: Icdc703e4054af6d22f5886581efed07319ec0247
* | | | Merge "cinder list now supports filter by tenant"Jenkins2015-04-205-145/+186
|\ \ \ \
| * | | | cinder list now supports filter by tenantyatin karel2015-04-125-145/+186
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Admin can now filter volumes on the basis of tenant. Also updated help argument, to be consistent over the v1 and v2 shell module. Closes-Bug: #1341411 Change-Id: I647f0c9331ee4cd27acbfada6cdb9a56f80701b4
* | | | Merge "Enable version discovery"Jenkins2015-04-207-33/+382
|\ \ \ \
| * | | | Enable version discoveryMike Perez2015-04-207-35/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The service catalog can now have the cinder endpoint x.x.x.x:8776 with service_type volume, without needing to specify a version in the endpoint. Keystone will do discovery of the root / GET of the Cinder API to discover the versions that can be talked to. This also provides backwards compatibility for the previous solution of having v1 enabled on service_type volume and v2 on service_type volumev2. Change-Id: Id0347f8370dbc8fd7fa8096cd5859e10b0c5d67c