summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Set up every time record log in file"Jenkins2015-09-084-15/+387
|\
| * Set up every time record log in fileDaisuke Fujita2015-08-084-15/+387
| | | | | | | | | | | | | | | | | | This will allow users to record logs of all their commands into a predefined log file, in clouds.yaml. The log should have a format similar to that of oslo.log. Change-Id: I1b334bf429d575fc25809c9706fc0b11116be3f1 Implements: blueprint every-time-record-log-in-file
* | Merge "Volume v2 list does not show server name"Jenkins2015-09-083-9/+10
|\ \
| * | Volume v2 list does not show server nameTerryHowe2015-08-283-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | The volume v2 list was using the volume id rather than the server id. Change-Id: Ibe03d34b5b503af2d00202dabd640f796449cf9a Closes-Bug: #1489954
* | | Fix compute API version snafuDean Troyer2015-09-042-5/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | novaclient 2.27.0 introduced the API microversion discovery and client.Client now wants an api_version argument to properly work out the correct API version in use. OSC needs to provide this when required. Letting the compute client plugin do the version validity checking makes more sense than encoding it into shell.py, so I've added a new OSC plugin interface function check_api_version() that is called from shell.py if it exists. If it either does not exist or it returns False the previous version checking using API_VERSIONS is still performed. compute.client.check_api_version() conditionally imports the new novaclient.api_versions module and uses it if successful. Otherwise check_api_version() returns False and the previous code path is resumed. One side-effect of this is that it is now valid to use --os-compute-api-version with any valid microversion supported by the installed python-novaclient. Closes-Bug: #1492467 Change-Id: I4535b38a5639a03a9597bf83f6394f9bb45c2b9e
* | | Merge "Ignore flavor and image find errors on server show"Jenkins2015-09-031-4/+10
|\ \ \
| * | | Ignore flavor and image find errors on server showTerryHowe2015-08-281-4/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | If there is an error finding an image or a flavor during image show, ignore it and just print the id of the flavor or image. This code is also used during server create and server rebuild, but only to display the results. Change-Id: I5362158ab8ffc3e5a0800904d6ea15420c3a8627 Closes-bug: #1489901
* | | Merge "Running 'limits show' returns nothing"Jenkins2015-09-021-1/+1
|\ \ \
| * | | Running 'limits show' returns nothingMajor Hayden2015-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running limits show without --absolute or --rate returns nothing and the user is left to figure out what they need to provide to get the correct data back. This patch prints an error and help output by making at least one of the arguments required. Change-Id: I576cf8ec0e05524ee67d46c48b56da8d44258667
* | | | Fix 'auhentication' spelling error/mistakeJoshua Harlow2015-09-011-1/+1
| |/ / |/| | | | | | | | Change-Id: Iba58c188d2ae44170539534eea1415cf8eb65ac4
* | | default OS_VOLUME_API_VERSION to v2Steve Martinelli2015-08-241-1/+1
|/ / | | | | | | | | | | | | | | | | Cinder is trying to deprecate/remove support for v1, so we should, as a client library default to v2 and keep support for v1. Related-Bug: 1467589 Change-Id: I732448a57fc3fd06a8d82ec0f0d2ace671036ca2
* | Use correct domain to find project1.6.0Jamie Lennox2015-08-111-1/+1
| | | | | | | | | | | | | | | | | | When adding a role to a group and project OSC is mistakenly using the group_domain to find the project which will fail if the group_domain != project_domain. Change-Id: I4c1bec9b3b183c755be121b91f40e026d707192b Closes-Bug: #1483520
* | Merge "Inherited info/option when listing role assignment"Jenkins2015-08-083-33/+137
|\ \
| * | Inherited info/option when listing role assignmentSamuel de Medeiros Queiroz2015-08-063-33/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds inherited information when listing role assignments. In addition, it makes possible to list only inherited ones by adding --inherited option. Change-Id: Idf889603d584716da95e2c7b4880142fbd8291c4 Closes-Bug: 1370546
* | | Merge "Fixes inherited role assignments CRUD calls"Jenkins2015-08-072-9/+9
|\ \ \ | |/ / |/| |
| * | Fixes inherited role assignments CRUD callsSamuel de Medeiros Queiroz2015-08-062-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The paremeter to Keystone Client was passed as 'inherited', when it should be 'os_inherit_extension_inherited'. Closes-Bug: #1482254 Change-Id: I1cb46add532223ef0b9620763b1047cc80e19ec0
* | | Merge "Add set feature to volume type v2"Jenkins2015-08-072-0/+224
|\ \ \
| * | | Add set feature to volume type v2heha2015-08-062-0/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "volume type set" and "volume type unset" is not in the v2. Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> implements bp: volume-v2 Change-Id: Ia804787d76d2029726c030b43c61eac3b411f66a
* | | | Merge "Add list feature to volume v2"Jenkins2015-08-073-1/+328
|\ \ \ \ | |_|/ / |/| | |
| * | | Add list feature to volume v2heha2015-08-063-1/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "volume list" is not in the v2. Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> implements bp: volume-v2 Change-Id: I9f4585202f5f9ec5f4c091278fc6c4036efb1290
* | | | Merge "Fix quota set failed problem"Jenkins2015-08-063-1/+109
|\ \ \ \
| * | | | Fix quota set failed problemjiaxi2015-07-283-1/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the command: openstack quota set, the compute quota below can't be set successfully,the value of compute quota stay unchanged, 'fixed-ips', 'floating-ips', 'injected-files', 'key-pairs'. What's more,I add a TODO comment in the code for two reason. 1. volume quota set works fine for the moment. 2. To indicate that this issue about volume needs discuss and report another bug, if it's confirmed. This bug is only about compute quota. Change-Id: Ic1028d561f5a0030cf65ac18fc117bf01e945478 Partial-Bug: #1420104
* | | | | Fix quota show when there is no project idTerryHowe2015-08-051-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If no id is in the response, quota show fails. Change-Id: I9905431b006404c9ba8453eba016cec9ebe19402 Closes-Bug: #1481803
* | | | | Add domain scoping in 'role assignment list'lin-hua-cheng2015-07-311-0/+6
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Add ability to set which domain the user, group or project belong to. Change-Id: Idf6c7f23ab96261a73682226fb10ce5f0133924e Closes-Bug: #1472909
* | | | Merge "Add plugin interface version"Jenkins2015-07-291-0/+4
|\ \ \ \
| * | | | Add plugin interface versionDean Troyer2015-07-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | External plugins need to know which plugin interface is being used by the host OSC. Releases <1.6 (?) will not have a version defined. Plugins can add the following to their make_client() to discover the interface version: _plugin_interface_version = getattr( instance, "PLUGIN_INTERFACE_VERSION", None, ) Change-Id: Ifc0f40fec5bc27f6425139984936b7f6e032a580
* | | | | Merge "Add support for volume v2 commands"Jenkins2015-07-253-2/+719
|\ \ \ \ \
| * | | | | Add support for volume v2 commandsAmey Bhide2015-07-243-2/+719
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the following commands: openstack volume create openstack volume set openstack volume unset Implements: blueprint volume-v2 Change-Id: Icb7404815763aa88550112fb42f5200ce05c2486
* | | | | Merge "Do not set default versions in parsed args"Jenkins2015-07-248-43/+35
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | Do not set default versions in parsed argsTerryHowe2015-07-188-43/+35
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting default versions in parsed args makes it so OCC cannot tell if the argument was parsed, an environment variable was set or it is just defaulted. In order to set api versions from OCC, it will have to be defaulted after processing OCC. Closes-Bug: #1453229 Change-Id: I4d065919397b783f3bdd4022c986c0234a7a16e6
* | | Merge "Add configuration show command"Jenkins2015-07-244-0/+153
|\ \ \ | |_|/ |/| |
| * | Add configuration show commandTerryHowe2015-07-234-0/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a `configuration show` command that displays the current configuration of the CLI. Different configurations can be displayed using options such as --os-cloud. Passwords and tokens are redacted by default unless the --unmask option is specified. Closes-Bug: #1476729 Change-Id: I0792365d0c5fa526cd09c0ed88c6bb1e2cb813a7
* | | Fix --os-auth-plugin in auth_with_unscoped_samlHugh Saunders2015-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The error message refers to --os-auth-plugin which is not a valid option. This patch changes that to --os-auth-type. Change-Id: I02ec0b7855131180bb8c674051930ebb51cb7303 Closes-Bug: #1477083
* | | Merge "Make trustee/trustor/project searchable by ID"Jenkins2015-07-211-23/+8
|\ \ \
| * | | Make trustee/trustor/project searchable by IDSteve Martinelli2015-07-201-23/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the previous implementation, we were always including the domain argument, which caused a lookup by name for trustee/trustor and project. By excluding it when not necessary, we do a search by ID in find_resources. Change-Id: Id756aeab522b5dccb2dc6b31d137a28514b0fdf6 Closes-Bug: 1473298
* | | | Merge "Add create and list for volume type v2"Jenkins2015-07-202-0/+226
|\ \ \ \
| * | | | Add create and list for volume type v2chengkunye2015-07-202-0/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Volume API v2 is missing create and list features. implements bp: volume-v2 Change-Id: I34a1ae440e9620b1c65546f4f43b369c8661250d
* | | | | Merge "Format volume type properties when showing"Jenkins2015-07-203-2/+15
|\ \ \ \ \
| * | | | | Format volume type properties when showingSteve Martinelli2015-07-193-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the properties of a volume type are unformatted. Use the formatter to keep things consistent with the way properties are represented in OSC. Change-Id: I81c6bd3fdbc30568c269e501c740473b2a1ffb4e
* | | | | | Merge "add image member commands for image API"Jenkins2015-07-203-0/+250
|\ \ \ \ \ \
| * | | | | | add image member commands for image APIchengkunye2015-07-203-0/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following commands: image project add image project remove Closes-Bug: 1402420 Change-Id: I07954e9fa43a3ad6078dd939ecedf9f038299e7b
* | | | | | | Fix the way auth_type default value is overridenJavier Pena2015-07-201-3/+4
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 50f05448982b5fafd9d9a7783b639dd145090a0d to os-client-config removed the default values in the _defaults dict. This makes any call to cloud_config.set_default() before initializing the dict fail. The fix changes the way the auth_type default is overriden, by doing it when cloud_config.OpenStackConfig() is executed. Change-Id: If37d3ba303f01d4c77fd7c15a3cde9634534b64a Closes-bug: #1473921
* | | | | | Rename type.py to volume_type.pySteve Martinelli2015-07-191-0/+0
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Volume V1, we have a type.py file which should be renamed to volume_type.py (as it's named for V2). Change-Id: If860bbafe4a801d8b4fa06938eef20658c4fcc2c Closes-Bug: 1475958
* | | | | Merge "Fix image save with API v2"Jenkins2015-07-191-1/+1
|\ \ \ \ \
| * | | | | Fix image save with API v2David Moreau Simard2015-07-151-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Glanceclient v2 no longer expects the whole image object, just the image id. Change-Id: I8f34acfa50ca2d50eb7c9eb1dd5114c4621ad158 Closes-bug: #1475001
* | | | | Merge "Removes trailing blank in trust show"Jenkins2015-07-192-4/+4
|\ \ \ \ \
| * | | | | Removes trailing blank in trust showGilles Dubreuil2015-07-192-4/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a blank character at the end of the roles value would remain Change-Id: I0961a5f9fb4b270a6055ee69898eadee315e416a Closes-Bug: 1474707
* | | | | Merge "Add volume type show for volume v1"Jenkins2015-07-191-0/+24
|\ \ \ \ \
| * | | | | Add volume type show for volume v1jiaxi2015-07-191-0/+24
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | volume type show is missing for volume V1 API. Closes-Bug: #1475879 Change-Id: Ic8a0845ecec04146d536412463175f57ef6511ae
* | | | | Merge "--property should be required in `os unset` commands"Jenkins2015-07-193-0/+3
|\ \ \ \ \ | |_|_|_|/ |/| | | |