summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Print warning on authentication errorTerryHowe2015-04-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least print a warning on authentication error. I have no idea why an exception is being ignored here because if there is no session, nothing is going to happen. This at least will print some useful warning: (.venv)terry@f350:~/python-openstackclient$ os flavor list --os-cloud pro WARNING: openstackclient.shell Possible error authenticating: __init__() got an unexpected keyword argument 'asdf' ERROR: openstack Authentication requires 'auth_url', which should be specified in 'HTTPClient' This error was caused by having a bogus value 'asdf' in the cloud.yaml for the cloud pro. Change-Id: Ie08432e0464cfa86b3b3f67ca29d3b7d23d2f46f
* | | | | | Merge "Fix session timing"Jenkins2015-04-175-19/+71
|\ \ \ \ \ \
| * | | | | | Fix session timingDean Troyer2015-04-075-19/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subclass keystoneclient.session.Session to add the timing hooks to record the elapsed time returned by requests.Response objects, including the redirection history. Redirects are included individually and not rolled into the total time for the original request. This works for all clients that use OSC's session. Closes-Bug: #1402577 Change-Id: I9360c90c151579b89a37edb8c11c17feb15b3cb9
* | | | | | | Re-organize functional testsSteve Martinelli2015-04-1710-79/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests should be further divded by project version, similar to the structure of the unit tests. Change-Id: Ied3a4204983cdd253c5602a60968c066038d88f2
* | | | | | | Merge "Fix skipped image create attribute location attr"Jenkins2015-04-171-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Fix skipped image create attribute location attrMarek Aufart2015-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Image create action accepts attribute called location, in method body is list of allowed attributes, which contain localtion, what is typo and this attribute was not passed to glance. Fixed. Change-Id: I357b06b63b8aa97f7a5f587ef3fcee7a4b360ed1 Closes-Bug: #1445460
* | | | | | | Merge "Uncap library requirements for liberty"Jenkins2015-04-172-8/+8
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Uncap library requirements for libertyDoug Hellmann2015-04-162-8/+8
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia2b0c00c5b1da19f2f6995aae3c2e0226a3fa2dc Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
* | | | | | Merge "Better help for --nic in create server"Jenkins2015-04-171-2/+9
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Better help for --nic in create serverDavanum Srinivas2015-04-151-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the help string from python-novaclient for a better user experience. Closes-Bug: #1444685 Change-Id: If7b8e3f68a0c6ad82b9959f162670b5568d5d12d
* | | | | | Merge "Add support to specify volume quotas per volume type"Jenkins2015-04-162-2/+15
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add support to specify volume quotas per volume typeSteve Martinelli2015-04-152-2/+15
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a --volume-type option to quota set, this will allow users to set quotas for volume attributes on a per volume-type basis. for example: openstack quota set admin --volume-type myvol --volumes 12 Change-Id: I3ce9cf82a65d4f012b339f0e0dedb752cb132c33 Closes-Bug: 1438377
* | | | | Merge "Use cliff deferred help instead of homemade one"Jenkins2015-04-141-32/+3
|\ \ \ \ \
| * | | | | Use cliff deferred help instead of homemade oneCedric Brandily2015-03-171-32/+3
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes openstackclient homemade hack to defer help printing in initialize_app and uses cliff (new) option to defer help printing. Change-Id: Ie3e94ec96254745bfef8c5ff5abc405facfe1bea Related-Bug: #1316622
* | | | | Merge "Add warning message if unknown version supplied"Jenkins2015-04-142-0/+8
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Add warning message if unknown version suppliedTerryHowe2015-04-132-0/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Print a warning message if an unknown api version is supplied. An attempt will be made to run the command anyway. Change-Id: Idec8e88fe9621f10ec4b7eecd90708fb3730f56f
* | | | Use glanceclient's inbuilt images findJamie Lennox2015-04-021-55/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | Glanceclient image listing was special cased as it wasn't implemented in glanceclient directly. This is no longer the case and we should use glanceclient's functions. Change-Id: If8d1246f1bd97c07f9f10f5457aa32124efa0be3
* | | Merge "Updated from global requirements"Jenkins2015-04-012-10/+10
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2015-03-312-10/+10
| | | | | | | | | | | | | | | | Change-Id: I5907d473b34799f9361ad2b611868ad22db3eaf6
* | | | Merge "Imported Translations from Transifex"Jenkins2015-03-311-0/+748
|\ \ \ \ | |/ / / |/| | |
| * | | Imported Translations from TransifexOpenStack Proposal Bot2015-03-311-0/+748
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I24c3357026b230c335a5366035a2ff744cd79622
* | | | Add support to remote_idMarco Fargetta2015-03-304-14/+314
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The federation APIs for the identity providers introduce a new parameter for every identity provider, named remote_ids, which contains a list of entity ID associated with. This parameter can be provided during the creation of the identity provider and can be updated at any time. For more information look at the blueprint: https://blueprints.launchpad.net/keystone/+spec/idp-id-registration This patch add the support to this new parameter in the command line by inserting the option "--remote-id" in the following commands: - "identity provider create" - "identity provider set" Additionally, the values can be read from a file, specified by "--remote-id-file", containing an entity id per line. Change-Id: Ie93340ee57e54128daa70d8a7bd0a9975ff7eef4 Depends-On: I12a262c55b5f6b5cc7007865edf30f14269da537 Implements: blueprint idp-id-registration
* | | Merge "Add a doc about authenticating against v3"Jenkins2015-03-241-0/+55
|\ \ \
| * | | Add a doc about authenticating against v3Steve Martinelli2015-03-191-0/+55
| |/ / | | | | | | | | | | | | | | | | | | i've had to explain this too many times, and paste the env. vars i'm using to folks on irc. Change-Id: I87677c57b309a865c1bd8ea42dc44c00d3ec0489
* | | Merge "Add project and domain params to network create"Jenkins2015-03-244-0/+138
|\ \ \
| * | | Add project and domain params to network createColleen Murphy2015-03-194-0/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, openstackclient has no way to specify to which project a network belongs upon creation. Instead, it uses the project ID that the user is authenticating with to fill the tenant_id column. This is a problem because an admin user is unable to specify a project for a non-admin network. To fix this and to improve feature parity with the neutron client, this patch adds project and domain parameters to the network create command and uses the given project name to look up the project ID. Neutron does not allow the project to be changed after creation, so no such parameter has been added to the neutron set command. Neutron calls the field 'tenant_id', but this change exposes the parameter as '--project' to support the newer terminology. If no project is specified, the client defaults to the previous behavior of using the auth project. Change-Id: Ia33ff7d599542c5b88baf2a69b063a23089a3cc4
* | | | Add the ability to set and unset flavor propertiesMarek Aufart2015-03-194-4/+193
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Added flavor set and unset command which allow manage flavor properties called extra_specs. Command flavor show output was extended with these properties. Closes-Bug: 1434137 Change-Id: Ie469bade802de18aab9d58eda3fff46064008163
* | | Merge "Look harder to find DevStack"Jenkins2015-03-121-1/+8
|\ \ \ | |_|/ |/| |
| * | Look harder to find DevStackDean Troyer2014-11-141-1/+8
| | | | | | | | | | | | Change-Id: Ice5cc560513c5ada1c7a525464cd2823d5979542
* | | Base TokenEndpoint plugin on keystoneclient'sJamie Lennox2015-03-111-16/+5
| | | | | | | | | | | | | | | | | | | | | | | | Keystoneclient has always provided a TokenEndpoint plugin. Unfortunately it uses a different option name for url, so subclass the original and replace the options. Change-Id: I7e16b31ceb9f75f1c1f6bfb224d8f8f353d06150
* | | Create 1.0.3 release notes1.0.3Dean Troyer2015-03-101-45/+88
| | | | | | | | | | | | Change-Id: I83dd40d0445f8676e72b87fe90b133566cfb5547
* | | Merge "Move OSC auth plugins so they can be found"Jenkins2015-03-107-113/+123
|\ \ \
| * | | Move OSC auth plugins so they can be foundDean Troyer2015-03-107-113/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The plugin detection at the top of openstackclient.api.auth did not detect the plugins at the bottom of that file because, surprise, they had not been declared yet so the entry points were ignored. Move both plugin subclasses into openstackclient.api.auth_plugin. Fix a problem with the password callback that was otherwise made worse with this change. Closes-Bug: 1428912 Change-Id: Idc3b72534071e0013c8922884a8bc14137509a0f
* | | | Merge "Update README"Jenkins2015-03-101-80/+28
|\ \ \ \
| * | | | Update READMEDean Troyer2015-03-091-80/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-orient README toward end-users Change-Id: I4623832dde72a7ae0eeadf09429402521771dd35
* | | | | Merge "Add identity v3 catalog show"Jenkins2015-03-104-1/+80
|\ \ \ \ \
| * | | | | Add identity v3 catalog showTerryHowe2015-03-094-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia6b6c25eded43b899b3aa026227ad2859f1c67dd
* | | | | | Merge "Add identity v3 catalog list"Jenkins2015-03-103-0/+142
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Add identity v3 catalog listTerryHowe2015-03-073-0/+142
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id4c1371ca28b9fd884ec75061edca700fd69886c
* | | | | | Merge "Add ability for diplaying hypervisor statistics"Jenkins2015-03-104-0/+52
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Add ability for diplaying hypervisor statisticslin-hua-cheng2015-03-064-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new command 'hypervisor stats show' for displaying the hypervisor stats over all compute nodes. Change-Id: I4f98c69135b04d4f6cea67cd6350d5d99fb79dba Partial-Bug: #1423748
* | | | | | Merge "Fix catalog list when region name is absent"Jenkins2015-03-081-1/+2
|\ \ \ \ \ \
| * | | | | | Fix catalog list when region name is absentDean Troyer2015-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some service catalogs in the wild have services without region names defined. Let's be nice and stuff in a default value indicating this state. Closes-Bug: #1429211 Change-Id: I3ebe2534dc6e3438aaeddc7757fb2db4117eae4b
* | | | | | | Merge "Fix identity v2 catalog list"Jenkins2015-03-082-12/+26
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Fix identity v2 catalog listTerryHowe2015-03-042-12/+26
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The v2 catalog list was only printing the last endpoint in the catalog. Change-Id: I5401a11eedb3be1513c86261329de50c8ad82720
* | | | | | Merge "Add 'uptime' in 'hypervisor show'"Jenkins2015-03-081-0/+13
|\ \ \ \ \ \
| * | | | | | Add 'uptime' in 'hypervisor show'lin-hua-cheng2015-03-061-0/+13
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fetch the 'uptime' by making a call to hypervisor-uptime. Update the help for 'hypervisor show' to mention that it supports by Name or Id. Change-Id: I31060d203e87749cfc05810c2d9db42f2416051d Partial-Bug: #1423748
* | | | | | Imported Translations from TransifexOpenStack Proposal Bot2015-03-082-221/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I938be669e9c25b8aeaeff86f3e08adc90cf86603
* | | | | | Merge "Raise AttributeError for unknown attributes"Jenkins2015-03-062-1/+2
|\ \ \ \ \ \
| * | | | | | Raise AttributeError for unknown attributesJamie Lennox2015-03-052-1/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not returning a value is the same as returning None. In the event that someone asks ClientManager for an attribute that doesn't exist it should raise AttributeError in the same way as other python objects rather than return an empty value. Change-Id: Id0ee825e6527c831c38e3a671958ded362fb96e1