summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated from global requirementskilo-eolstable/kiloOpenStack Proposal Bot2016-04-291-1/+1
| | | | Change-Id: I9e6df69683927c3608e1fcc9a7166c7385c4951e
* Updated from global requirementsOpenStack Proposal Bot2016-02-063-12/+11
| | | | Change-Id: I4386c1add227c70284ce3ca7fe27d44681d18d9a
* update defaultbranchDoug Hellmann2015-04-151-0/+2
| | | | Change-Id: Ie3018b63dea831040115af53470299cf383be626
* Replication V21.0.9Morgan Jones2015-03-132-2/+53
| | | | | | | | | | | | The V2 implentation of replication, including: - promote-to-replica-source - eject-replica-source Implements: blueprint replication-v2 Change-Id: I9075365a8fae754e29d27d6e371a1d8c8980e26b Authored-By: Morgan Jones <morgan@parelastic.com> Co-Authored-By: Peter Stachowski <peter@tesora.com>
* Add coverage libraryOTSUKA, Yuanying2015-03-102-0/+2
| | | | | | `tox -ecover` is failed because of lack of necessary library. This adds it. Change-Id: I7dc6b5e46335b770e31aaa9f02522a5eeb401114
* Merge "Fixed issues while using --bypass-url"Jenkins2015-03-091-9/+1
|\
| * Fixed issues while using --bypass-urlMayuri Ganguly2015-03-051-9/+1
| | | | | | | | | | | | | | | | | | | | | | Python-troveclient 1.0.8 introduced a regression where the usage of --bypass-url results in an AuthSystemNotFound exception. Removing some redundant code, which was due to a previous merge conflict, fixed the issue. Closes-bug 1416120 Change-Id: I1c949f69ee08447ce88aeefa92c60f361ab54832
* | Clean up remaining references to TROVE_URLAlex Tomic2015-03-051-1/+1
|/ | | | | | | | | | | | Replaced last remaining reference to TROVE_URL in python-troveclient. Currently the user along with OS_URL , or TROVE_URL , is used as part of a hash for a unique directory for the bash completion cache. Since I'm not sure if there is a reason why the legacy URLs are used here, I've replaced TROVE_URL with NOVA_URL instead of OS_AUTH_URL which might be more appropriate for this purpose. Change-Id: Id30aeae992aecba3c1fbe53c2ce421157410ca20 Closes-Bug: #1238282
* Merge "Changed documentation for datastore parameter for configuration-create"Jenkins2015-03-011-1/+2
|\
| * Changed documentation for datastore parameter for configuration-createMayuri Ganguly2015-02-181-1/+2
| | | | | | | | | | | | | | | | | | | | The datastore parameter for configuration-create is documented as optional but is required if there is no default datastore. Changed documentation to handle this case. Closes-bug 1365702 Change-Id: I8d7869b77eeba8c5be510093d42ff6486f529b6d
* | Merge "Correct order of parameters to assertEqual"Jenkins2015-02-253-16/+16
|\ \
| * | Correct order of parameters to assertEqualAmrith Kumar2015-02-233-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | The correct order of parameters to assertEqual is (expected, actual). It makes the assertion message more meaningful when there is a failure. Change-Id: I1ab6933d2eee336b41f6ab791e32ad6eaa004a6b Partial-Bug: #1277104
* | | Merge "Updated from global requirements"Jenkins2015-02-241-2/+2
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2015-02-201-2/+2
| |/ / | | | | | | | | | Change-Id: Iad104a40d3be15a8c566dde79e22e6c3c6792888
* | | Merge "Fix grammatical errors in profiler messages"Jenkins2015-02-241-10/+9
|\ \ \ | |/ / |/| |
| * | Fix grammatical errors in profiler messagesPeter Stachowski2015-02-131-10/+9
| |/ | | | | | | | | | | | | | | | | While testing the osprofiler code, certain grammatical inconsistencies were found in the help/messages. These have been fixed. Change-Id: Ia0b81870e15a9bc118bcaa81e698ef0e44c96f94
* | Merge "Pass all kwargs through to adapter"Jenkins2015-02-152-49/+47
|\ \
| * | Pass all kwargs through to adapterJamie Lennox2015-01-162-49/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | Part of the benefit of clients using the keystoneclient adapter to manage the session object is that we can have a standard set of kwargs that can be controlled from the adapter. This only works if the unknown kwargs are passed through to the adapter. Change-Id: I78f195ef739dbfe33a08f4dc1922b14ec77ae833
* | | TroveClient API Documentation cleanupEdmond Kotowski2015-02-113-18/+49
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The documentation index page will now contain a Version 1 API Reference section with links to each v1 module and documentation for each method in that module. - Copied python-novaclients gen_ref method into the doc/source/conf.py file that dyanamically generates the sphinx .rst files for each trove v1 module. When it runs it will create generate a new folder named ref/v1/ and will contain each module such as instances.rst with the filled out automodule sphinx code. Ex: /ref/v1/instances.rst .. automodule:: troveclient.v1.instances :members: :undoc-members: :show-inheritance: Change-Id: Ib311486564f5b6def205590a1ccc2e493f3fef97
* | Updated from global requirementsOpenStack Proposal Bot2015-02-091-1/+1
| | | | | | | | Change-Id: I6a5b16ec5543afb786c391fcef49aca7dcb6575d
* | Merge "Show '-' for size when volume support disabled"Jenkins2015-02-091-0/+2
|\ \
| * | Show '-' for size when volume support disabledAshleigh Farnham2015-02-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When volume support is disabled trove list does not contain include a volume attribute in the response. Previously we would only add a value for size when the volume attribute was present. This change adds a value of '-' when there is no volume attribute. This makes the behaviour consistent with the behaviour of nova list where the task state has no value. Change-Id: I75e5f7c493f3d2fe938ecc8663457953c58f6b02 Closes-Bug:1394591
* | | Handle obsolete and unused oslo modulesAmrith Kumar2015-01-237-14/+58
|/ / | | | | | | | | | | | | | | The python-troveclient module still had references to strutils, and gettextutils which are now obsolete. Change-Id: Ia54a565c00966b0a1cb5f18c6e17e1237b2bfee6 Partial-Bug: #1380789
* | Merge "Fixed typo in exception message"Jenkins2015-01-221-1/+1
|\ \
| * | Fixed typo in exception messagePeter Stachowski2015-01-191-1/+1
| |/ | | | | | | | | | | The word 'simultaneously' was incorrectly spelled. This has been fixed. Change-Id: Id231404b09b1d26274ec9be114d0f304aab02192
* | default endpoint_type to 'publicURL'Edmond Kotowski2015-01-122-3/+9
|/ | | | | | | | | | | | | | | When trying to create a troveclient.v1.client.Client without specifying endpoint_type explicitly it will raise an AuthorizationFailure exception. This was because troveclient.v1.client.Client defaulted endpoint_type=None which overrides the troveclient.client.HTTPClient default value of 'publicURL' to None. Fix was to default the endpoint_type to 'publicURL' in the troveclient.v1.client.Client __init__ method. Also updated the documentation and README.rst for creating a trove client object because it was out of date and incorrect. Change-Id: I64dfbaa4eefc73d01468470dbe9eba5e209ff157 Closes-Bug: 1409982
* Merge "Fallback to flavor's str_id when id is None"Jenkins2014-12-192-10/+20
|\
| * Fallback to flavor's str_id when id is NoneAdam Gandelman2014-12-122-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a nova flavor's id is a string and not an int, Trove will return None for the flavor's id and instead expect clients to use the str_id field. This updates the shell mask this from the user and always present the relevant value as id, and allow specifying either str_id or id for flavor-show. find_resource() was updated to deal with ints and strings, not just UUIDs and ints. Relies on changes to Trove @ https://review.openstack.org/#/c/115811 Related-bug: #1333852 Change-Id: If08430b07b7e8b6a1737f3e71dba6a471de63794
* | Merge "Add instance name as parameter to CLI"Jenkins2014-12-1910-108/+301
|\ \ | |/ |/|
| * Add instance name as parameter to CLIDoug Shelley2014-12-0810-108/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow CLI to take instance name as well as instance id for sub-commands where instance can be specified. This commit does not include the metadata-* commands as the backend for that feature isn't merged. The spec will be adjusted to reflect that they commands will be out of scope. Affected sub-commands are: backup-create backup-list-instance configuration-attach configuration-default configuration-detach create (just for --replica_of) database-create database-delete database-list detach-replica delete resize-flavor resize-instance resize-volume restart root-enable root-show update user-create user-delete user-grant-access user-list user-revoke-access user-show user-show-access user-update-attributes Unit tests were added to test passing in an instance object for the affected sub-commands. A new set of unit tests were added for databases.py (doesn't look like any existed before). Change-Id: I5554a7d423990ff9cb24437a893d90d212b022b1 blueprint: add-instance-name-to-cli
* | Merge "Fixes trove show output"Jenkins2014-12-111-1/+1
|\ \
| * | Fixes trove show outputSushil Kumar2014-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reasons: - trove show gives different output for id and names as input, as explained in bug, with name it shows less information. Changes: - Returns the object found by id after finding the matching object from the list of obtained instances, which results in getting same attributes for output irrespective whichever way the command is used. Change-Id: Ib397d5791e9a6f10c10c2ab3160401c1c7cfa214 Closes-Bug: #1384055
* | | Merge "Remove RAX-specific auth in troveclient"Jenkins2014-12-104-43/+173
|\ \ \
| * | | Remove RAX-specific auth in troveclientSwapnil Kulkarni2014-12-094-43/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: Swapnil Kulkarni <swapnilkulkarni2608@gmail.com> Co-Authored-By: Nikhil Manchanda <SlickNik@gmail.com> Co-Authored-By: Craig Vyvial <cp16net@gmail.com> Change-Id: I250777890a1f5240c5f14290cf02eb5a7b34b434 Closes-Bug: #966329
* | | | Add profiling support to Trove clientZhi Yan Liu2014-12-104-1/+47
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To be able to create profiling traces for Trove, client should be able to send special HTTP header that contains trace info. This patch is as well important to be able to make cross project traces. (Typical case horizon calls Trove via python client, if profiler is initialized, Trove client will add extra header, that will be parsed by special osprofiler middleware in Trove api) Don't worry no security issue here, trace information is signed by HMAC key that is setted in api-paste.ini. So only person that knows HMAC key is able to send proper header. Main patch in Trove is: I580cce8d2b3c4ec9ce625ac09de6f14e1249f6f5 We prepared a common BP in oslo-spec due to integration change is similar to all projects: I95dccdc9f274661767d2659c18b96da169891f30 Currently there are 2 other projects are using osprofiler: Glance & Cinder, and some others are working in progress. Change-Id: I5a76e11d428c63d33f6d2c2021426090ebf8340c Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
* | | Merge "Associate flavor types with datastore versions"Jenkins2014-12-092-3/+24
|\ \ \
| * | | Associate flavor types with datastore versionsridhi.j.shah@gmail.com2014-12-072-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This feature provides the ability to associate flavor types with datastore versions.The trove-mange util enables adding/deleting this information.The trove-client has been changed to include a new api call: /{tenant_id}/datastores/{datastore}/versions/{version}/flavors. This call will return all nova flavors if no entries are found for the said datastore-version in datastore_version_metadata, otherwise only the entries found are returned. Change-Id: I89fc2db0078d7884b7b3fa91f5daec68c0132dfb Implements: blueprint associate-flavors-datastores
* | | | Merge "Workflow documentation is now in infra-manual"Jenkins2014-12-052-3/+3
|\ \ \ \
| * | | | Workflow documentation is now in infra-manualJeremy Stanley2014-12-052-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace URLs for workflow documentation to appropriate parts of the OpenStack Project Infrastructure Manual. Change-Id: Ie62438c60d2087fa067e967a5e2b8ea8ee392e48
* | | | | Updated from global requirementsOpenStack Proposal Bot2014-12-041-1/+1
|/ / / / | | | | | | | | | | | | Change-Id: Ieafe119fe7df2567794c1c85c270c8236fb623b1
* | | | Fixes client to send 0 for min/max sizeTim Simpson2014-12-031-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if 0 is passed as the min_size or max_size for a configuration, the Trove client would ignore it and not put it in the dict making up the request body. This changes that code to explicitly check if this value is not None instead of ignoring it if its zero. Co-Authored-By: Craig Vyvial <cp16net@gmail.com> Fixes bug: 1398995 Change-Id: I7f1d196b00a612365576bfb82fbfd35d647588d4
* | | | Merge "Adds support for Keystone V3 API"1.0.8Jenkins2014-12-026-97/+622
|\ \ \ \ | |_|_|/ |/| | |
| * | | Adds support for Keystone V3 APIBob Thyne2014-12-016-97/+622
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated trove client to support Keystone V3 API. The Keystoneclient session object is used for authentication, retrieving the service catalog and HTTP connection/session management. Added additional CLI parameters for Keystone V3. Added tests using requests_mock instead of mocking completely the session object like the previous failed patch: https://review.openstack.org/#/c/102315 Change-Id: Ib804c0a45b3b4d3f8670ec642b2c2fd1be6cd656
* | | | Updated from global requirementsOpenStack Proposal Bot2014-11-181-1/+1
| |/ / |/| | | | | | | | Change-Id: Ie62f7d7122538685db76240ce7b5d748aa623a87
* | | Merge "Fixed typo in doc/source"Jenkins2014-11-131-3/+3
|\ \ \ | |/ / |/| |
| * | Fixed typo in doc/sourcePeter Stachowski2014-10-281-3/+3
| |/ | | | | | | | | | | | | | | | | | | There was a typo in the Authentication section of the usage.rst file. This has been fixed, along with some lining up of comments in the test code to make it easier to read. Change-Id: I342a286055246beaeadc7e763d3b75bd17c32a60
* | Merge "Reverse fix for 1323866 as it regressed trove CLI"Jenkins2014-11-125-392/+92
|\ \
| * | Reverse fix for 1323866 as it regressed trove CLIAmrith Kumar2014-11-105-392/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trove CLI appears to be broken (fresh checkout, devstack as well as openstack gate). All commands fail with ERROR: __init__() got an unexpected keyword argument 'http_log_debug' Correcting the obvious place where this appears to be an issue is causing additional failures and as it is time-critical to get this back up and running, I'm proposing a reversal of the change from 3c47a1855b7ee1345dadfb00ae90a6279b7c424e while that change is completely reworked. I will ping trove core for an approval on this and if I don't get an approval, I'll fast track this reversal. Change-Id: Icac028cfafac57c7e3ef03d4277ae2b7833bf58f Partial-Bug: 1391840
* | | Merge "Updated from global requirements"Jenkins2014-11-121-1/+1
|\ \ \ | |/ / |/| |
| * | Updated from global requirementsOpenStack Proposal Bot2014-11-051-1/+1
| |/ | | | | | | Change-Id: I6aff733b699084cdeba2f94b077e4f4a5b4ff36a