summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Allow int version numbers in the clouds.yamlTerryHowe2015-11-041-1/+1
| | | | | | | | OSC blows up if you try to use for example identity_api_version: 2 in the clouds.yaml. It will only work with a string '2'. This fixes that. Change-Id: I785d37a288126a1582464e907c7f9c9947bac27c
* Merge "Mark arguments for 'credential' commands as required"Jenkins2015-11-043-16/+131
|\
| * Mark arguments for 'credential' commands as requiredSean Perry2015-09-303-16/+131
| | | | | | | | | | | | | | | | | | | | | | According to the [1], 'user_id', 'type', and 'blob' are all required arguments for 'credential set' but the code treats them as optional. Set the 'required' flag and remove logic supporting missing arguments. [1]: https://github.com/openstack/keystone-specs/blob/master/api/v3/identity-api-v3.rst#credentials-v3credentials "spec" Change-Id: I597c9616ad744385fc6dd92379feb03daec54458 Closes-Bug: #1418837
* | Merge "Trivial clean up: do not use plural form in command arguments."Jenkins2015-11-022-5/+5
|\ \
| * | Trivial clean up: do not use plural form in command arguments.Tang Chen2015-10-242-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | It is a general rule that we don't use plural form for the name of command arguments. But class DeleteServer() is still using "servers". So use "server instead". Change-Id: I2d76de14ec34b88547b9f728b41e9bd93b2a22c5
* | | Merge "Rename context.py to logs.py"Jenkins2015-10-303-36/+34
|\ \ \
| * | | Rename context.py to logs.pyTerry Howe2015-10-303-36/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At one point this file contained the context for logging, but the reason for its existence is now for logging. Implements: blueprint logging-migration Change-Id: I4ba42bbef97b09d31236ac8c01b6fb23827b8bee
* | | | Merge "Allow debug to be set in configuration file"Jenkins2015-10-301-0/+6
|\ \ \ \ | |/ / /
| * | | Allow debug to be set in configuration fileTerryHowe2015-10-301-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current default value for debug in cliff is False. Cloud config assumes that it was set that way on the command line and does not overlay it with the value from the configuration file. Cliff bug: https://bugs.launchpad.net/python-cliff/+bug/1483378 Change-Id: I66d82b489b2241dbcd1e1350e94259a54ce09de7
* | | | Merge "remove url from v3 regions"Jenkins2015-10-293-94/+9
|\ \ \ \ | |_|/ / |/| | |
| * | | remove url from v3 regionsSteve Martinelli2015-10-213-94/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the parameter "url" was removed from Keystone, it was only added for one release as part of an experimental support for adding service providers. BackwardsIncompatibleImpact Closes-Bug: 1506841 Change-Id: I7a62fbf1d9bfa8e6dd8d619e98c32b9860348d2e
* | | | Merge "Support pagination params for flavor list"Jenkins2015-10-232-6/+27
|\ \ \ \
| * | | | Support pagination params for flavor listliyingjun2015-10-212-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missing 'marker' and 'limit' params for `openstack flavor list` shell command. It would be nice to have this when there are many flavors. Closes-bug: #1505874 Change-Id: I088ac5d24f0d7595f5cbce14f063e296a449eb26
* | | | | Merge "Change Identity API default version to 3"Jenkins2015-10-211-1/+1
|\ \ \ \ \
| * | | | | Change Identity API default version to 3Steve Martinelli2015-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devstack now issues all v3 OSC commands for our CI, and since v3 has everything v2 has, we should be able to switch to v3. Furthermore, most OSC users were initially using OSC since they were looking to exploit v3 keystone capabilities. Change-Id: If7de86946f6dd0f148aa5f526155cccf90adfcc3
* | | | | | Merge "Move session and fixtures to keystoneauth1"Jenkins2015-10-207-7/+7
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Move session and fixtures to keystoneauth1Steve Martinelli2015-10-147-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in an effort to start consuming keystoneauth1, we can move our sesssion and fixture code over to use keystoneauth1 instead of keystoneclient. Change-Id: Ibcbd588ce2e3d864f87ff1eb6e1c3c071a1e06f6
* | | | | | Merge "Follow-on for volume list - add tests, clean help"Jenkins2015-10-195-23/+352
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Follow-on for volume list - add tests, clean helpDean Troyer2015-10-165-23/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add volume list tests for v1 (a copy of the v2 tests) * Converts volume v2 tests to use Identity v3 so domains can be tested * Add volume list (v2) tests for new options * Re-orders volume list options (both v1 and v2) to match * MArks the new volume list (v2) options as v2-only in doc Change-Id: I2181b2c48cfde2147d7d0ef135322df8a81e7ce8
* | | | | | Merge "Add filtering by project/user for 'openstack volume list'"Jenkins2015-10-171-5/+34
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Add filtering by project/user for 'openstack volume list'kafka2015-10-151-5/+34
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added project, user and domain options for filtering results, also cleaned up the order to match the docs. Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Closed-bug: #1483976 Change-Id: I9d955094d31d4a28e215d24f7521a11c62bee8db
* | | | | Merge "Fix up object-store show commands"Jenkins2015-10-147-38/+48
|\ \ \ \ \
| * | | | | Fix up object-store show commandsSteve Martinelli2015-10-107-38/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Change metadata to appear under a common 'properties' key, and use the utility to format them, this applied to object, account and container. 2) Clean up container and object output, which were setting the x-container-meta-owner property, but this is metadata only for the container, so it's pointless to have, removed it. 3) Container show was showing read/write ACLs and sync stuff, but these are not being returned by my swift by default, so I moved these to be checks, so we don't clutter the output. Change-Id: Ife7521fe9c2724035b06963c118bd6016ba2f5b5
* | | | | | Mask the sensitive values in debug loglin-hua-cheng2015-10-122-4/+10
| |/ / / / |/| | | | | | | | | | | | | | | | | | | Change-Id: I0eb11a648c3be21749690f079229c8e63a678e6c Closes-Bug: #1501598
* | | | | Merge "Add test for role list --inherited"Jenkins2015-10-121-0/+33
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add test for role list --inheritedDean Troyer2015-10-071-0/+33
| | | | | | | | | | | | | | | | | | | | Change-Id: I216ab6c8ac903720ec67870a5171ae57a8f293aa
* | | | | Merge "image set should not show the resource"Jenkins2015-10-084-25/+7
|\ \ \ \ \
| * | | | | image set should not show the resourceSteve Martinelli2015-10-064-25/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the rest of OSC set commands do not show the resource after it has been updated. unless the update fails then we report back a failure, otherwise the user should assume everything went fine. Change-Id: I2bd4188450c3853b4a1bc25f80fc9450cda32bdd
* | | | | | Merge "Evaluate --inherited in role list"Jenkins2015-10-082-0/+10
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Evaluate --inherited in role listRudolf Vriend2015-10-062-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the --inherited option was not being passed into keystoneclient Closes-Bug: #1502822 Change-Id: I48170dc67b23cc9b0665b1e0f38118eea952f131
* | | | | | Fix non-ascii issue with object commandslin-hua-cheng2015-10-061-13/+22
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Escape the container and object name whenever it is used as URL. Change-Id: I2343c1e67843ab53773b3fca6e258dc329cd9573 Closes-Bug: #1503508
* | | | | Merge "Add ID column to compute service list"Jenkins2015-10-071-0/+1
|\ \ \ \ \
| * | | | | Add ID column to compute service listAlex Schultz2015-10-061-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds the ID to the compute service list command so that the ID can be leveraged by scripts trying to remove or update a specific service. Change-Id: I446b4c0071988133195eb2382313b3918b7ffa72 Closes-Bug: #1503430
* | | | | Merge "Add tags to `image set`"Jenkins2015-10-074-10/+113
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Add tags to `image set`NiallBunting2015-10-064-10/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds --tag to the v2 version of `image set`. This is another step to compatability between the osc image api. Added merge of tags into existing tags and handling duplicates, and tests for same. Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Change-Id: Ie800fcbf8bbc0978c54ace3278750a18023e8ce4
* | | | | Merge "Clean up Image v2 image set command"Jenkins2015-10-062-123/+264
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Clean up Image v2 image set commandDean Troyer2015-10-062-123/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the Image v2 image set command meet at the intersection of the v1 image set command and the v2 image create command: * Add visibility to the deadopts list and remove the option * Put the options in the same order as v1 image set * Make the help text match * Add --properties * Move the additional options that do not appear in either v1 image set or v2 image create after --property as they are really pre-defined properties * Add tests for v2 image set to match v1 and then some * Put the SetImage class in v2/image.py in alphabetical order Change-Id: I102b914e8ad09a014f6fdd846c5766b6c2eaadb8
* | | | Merge "Image fix bug with --volume"Jenkins2015-10-061-12/+14
|\ \ \ \
| * | | | Image fix bug with --volumeNiallBunting2015-09-181-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently after calling the cinderclient to create an image from a volume, it also then tries to create another image. This fails as the keyword volume is unexpected. This add checks so the image is not created in this case. Allowing --volume to not throw an error when it has worked. Change-Id: I67e650eb0b8c331d86515e3e326c39a5d6dad5e1 Closes-Bug: 1497221
* | | | | add set/unset support for objects in object storeSteve Martinelli2015-10-062-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add docs and command support to set and unset metadata of objects that are stored in an object store (swift). Closes-Bug: #1501945 Change-Id: If838a4b3343b6ddb97cd4bd1cb63f0ba1c1a00a1
* | | | | add support for set/unset of container propertiesSteve Martinelli2015-10-062-16/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include docs and commands to set and unset container properties Partial-Bug: #1501945 Change-Id: I8d7e8cf356a2321a37ed940c4e10cae411b94dfd
* | | | | Merge "Add one parenthesis"Jenkins2015-10-051-1/+1
|\ \ \ \ \
| * | | | | Add one parenthesisAtsushi SAKAI2015-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the following help message, last parenthesis is missing. $ openstack --os-volume-api-version 2 help volume delete usage: openstack volume delete [-h] [--force] <volume> [<volume> ...] Delete volume(s) positional arguments: <volume> Volume(s) to delete (name or ID) optional arguments: -h, --help show this help message and exit --force Attempt forced removal of volume(s), regardless of state (defaults to False Change-Id: I45c4030abf076cba14450019c379d333eb6530d6
* | | | | | Merge "cleanup account ids from container commands"Jenkins2015-10-054-6/+12
|\ \ \ \ \ \
| * | | | | | cleanup account ids from container commandsSteve Martinelli2015-10-024-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use a common function to determine account ID instead of different ways - depending on the response and command Change-Id: I95adc5dc7d5a82a2cffc570d1ded24d1fc754a11
* | | | | | | Merge "Add support for showing account details"Jenkins2015-10-052-1/+34
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Add support for showing account detailsSteve Martinelli2015-10-022-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add the command `openstack account show` that lists details about the object store account that the user authenticated against. Partial-Bug: #1501943 Change-Id: I1246dafee812b63a41d43be4e3598224364a2c11
* | | | | | | Merge "Add support for updating swift account properties"Jenkins2015-10-052-0/+118
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Add support for updating swift account propertiesSteve Martinelli2015-10-012-0/+118
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this patch adds support for creating/updating and removing properties (nee: metadata) for object store accounts. Partial-Bug: #1501943 Change-Id: I3ed70a5d8bd8920fedb79adc60cdc602261d5eef
* | | | | | Add tests for find_resource()Dean Troyer2015-10-011-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a couple of tests for utils.find_resource() for the odd resources and managers without resource_class. Change-Id: I2ed9b491d1361b5259b3a5f80b4fac787a7087c1