summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated from global requirementsmitaka-eol2.1.2stable/mitakaOpenStack Proposal Bot2016-05-151-1/+1
| | | | Change-Id: If118728bc99423ddbbc6dd5c3c4a4ec3f6aea1a0
* Updated from global requirementsOpenStack Proposal Bot2016-04-291-1/+1
| | | | Change-Id: Ifdaa25d124a7d72c5a0682cd72acab3fe2005f96
* Update .gitreview for stable/mitakaDoug Hellmann2016-03-161-0/+1
| | | | Change-Id: Iba826a2f2c45c376ab11a68ad56b501110b640b6
* Revert "Time to get rid of any last vestiges of slave_of"2.1.1Matt Riedemann2016-03-082-7/+31
| | | | | | | | | | | | | | | | | | | | | | | This reverts commit a5234f0a07230e0d8195687e033adfe4cc0ad522 The change broke trove on stable/liberty since it's a backward incompatible change. To avoid capping python-troveclient<2.1.0 in stable/liberty global-requirements, we have to revert this change, blacklist the 2.1.0 version in g-r master and stable/liberty, and then release 2.2.0. And the slave_of code can't be removed until the last supported stable branch that uses it is end of life, which is liberty-eol. For now we keep the slave_of argument in the instance.create method, but emit a deprecation warning if it's specified, and we never pass it to the trove API for the create or edit operations since the API removed slave_of in 0c94a5bae0aacff7fde9a9742b7d526096e51767. Change-Id: I9b3ec6c101a89f30e61fc683808506c404e5474f Partial-Bug: #1538506
* Merge "Fix for guest_log authentication failure"2.1.0Jenkins2016-03-031-18/+24
|\
| * Fix for guest_log authentication failurePeter Stachowski2016-02-231-18/+24
| | | | | | | | | | | | | | | | Now passing in the tenant_name as part of the os_options and getting all the options from the Trove client instead of the environment. Change-Id: I19155463505500d1ca9a22ee9a58c80ff0c23ac2
* | Merge "Add suport for module maintenance commands"Jenkins2016-03-015-0/+414
|\ \
| * | Add suport for module maintenance commandsPeter Stachowski2016-02-245-0/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support in the python API and Trove CLI for module maintenance commands. These commands include: - module-list - module-show - module-create - module-update - module-delete Partially Implements: blueprint module-management Change-Id: I54d37025275dee4731ad49ebbd21612c4464e4c4
* | | Merge "support OS_ENDPOINT_TYPE environment variable"Jenkins2016-03-011-1/+5
|\ \ \ | |_|/ |/| |
| * | support OS_ENDPOINT_TYPE environment variableCraig Vyvial2016-02-041-1/+5
| |/ | | | | | | | | | | | | | | | | Using the OS_ENDPOINT_TYPE environment variable if it exists, otherwise falling back to the TROVE_ENDPOINT_TYPE environment variable. Change-Id: I74f108a32877a5f80bd65961ca965f9f686379d2 Closes-Bug: #1541515
* | Updated from global requirementsOpenStack Proposal Bot2016-02-201-1/+1
| | | | | | | | Change-Id: Ibdde14aa5ac237b460a8fc3734af69c529bb0de7
* | Update readme file to be valid rst and update contentCraig Vyvial2016-02-171-158/+228
|/ | | | Change-Id: Ia407c1a1b885aa8632b54787da8d125a6dd582c0
* Merge "remove unnecessary message when running unit test"Jenkins2016-02-021-2/+3
|\
| * remove unnecessary message when running unit testZhiqiang Fan2015-10-211-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | When we test log related code, we still print the tested log message into stderr, which is not quite useful for developers, we should mock those message. Package fixtures.FakeLogger already provides an option to mock specified logger, so let's use it. Note: this patch also changes an unnecessary object attribute to local varible. Change-Id: I4bc5beaa4eba149f12c58f072fe66163aed8c0c8 Closes-Bug: #1500236
* | Updated from global requirementsOpenStack Proposal Bot2016-01-281-1/+1
| | | | | | | | Change-Id: I7f521aae5575a16856de40b4c1c16ef2002a5ade
* | Client Changes for Guest Log File RetrievalAlex Tomic2016-01-274-0/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements log file retrieval from the guest agent. The contents of the log file are pushed up to a swift container as a series of objects that represent a subset of the lines in the log. The following trove CLI commands are implemented: trove log-list <instance> : lists log files available on guest trove log-enable <instance> <log> : enables writing to log file trove log-disable <instance> <log>: disables writing to log file trove log-publish <instance> <log>: publishes updates to swift container trove log-discard <instance> <log>: discards published logs trove log-tail <instance> <log> : displays last lines of log trove log-save <instance> <log> : saves the entire log to a file Change-Id: Ic15c455747b9f1966d83d7034c9b748ca5e2cce9 Co-Authored-By: Morgan Jones <morgan@tesora.com> Co-Authored-By: Alex Tomic <atomic@tesora.com> Co-Authored-By: Peter Stachowski <peter@tesora.com>
* | Merge "Updated from global requirements"Jenkins2016-01-272-16/+16
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2016-01-262-16/+16
| | | | | | | | | | | | Change-Id: I0fa56501666064fe865b51b0d79c7a0449da6fff
* | | Merge "use oslotest to break into the debugger when running test cases"Jenkins2016-01-272-0/+12
|\ \ \
| * | | use oslotest to break into the debugger when running test casesting.wang2016-01-212-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once we add debug testenv, we can use "tox -e debug" to debug test cases when tox is running. Then tox will use oslotest which really debug our test cases. Only we should do is insert pdb into code.It's easy to use. The same in trove: https://review.openstack.org/#/c/265524/ usage link: http://docs.openstack.org/developer/oslotest/features.html Change-Id: I93709451af9a14fc9c71e1c3306a1a025aee8b44
* | | | Fix the "OpenStack CLI guide" linkdaiki kato2016-01-271-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | The "OpenStack CLI guide" link with a nonexistent target. This patch fixes it. Change-Id: I326eb532d177b611fa09f92221d435a9efb6df76
* | | Merge "Remove argparse from requirements"Jenkins2016-01-261-1/+0
|\ \ \
| * | | Remove argparse from requirementsAndreas Jaeger2016-01-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | argparse was external in python 2.6 but not anymore, remove it from requirements. This should help with pip 8.0 that gets confused in this situation. Installation of the external argparse is not needed. Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
* | | | Merge "Time to get rid of any last vestiges of slave_of"Jenkins2016-01-231-7/+3
|\ \ \ \ | |/ / / |/| | |
| * | | Time to get rid of any last vestiges of slave_ofAmrith Kumar2015-11-161-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The controller (apischema and instance controller) have long understood that slave_of is going away and has supported replica_of. Getting rid of the slave_of in the client is now one part of this final 'cleansing'. Look for a corresponding commit on the controller side which will clean up the rest of it. That commit is I87c8a14c06fa5df60ea3ed6b09412dc32fafcec7 and the URL for that review is https://review.openstack.org/#/c/245845/ Change-Id: I9b905716b704ea9ec9332b48b05c49cccbd04c8b Partial-Bug: #1461196 Depends-On: I87c8a14c06fa5df60ea3ed6b09412dc32fafcec7
* | | | Merge "Add root-disable api"2.0.0Jenkins2016-01-156-0/+92
|\ \ \ \ | |_|/ / |/| | |
| * | | Add root-disable apiDuk Loi2015-12-106-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add api entry points for root-disable to the Trove client. Added unit tests. Change-Id: I27831eb361c2b219a9623f152b9def73a2865d67 Partially implements: blueprint root-disable DocImpact: added new root-disable CLI command
* | | | Trival: Remove 'MANIFEST.in'LiuNanke2016-01-101-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Everything in this file is automatically generated by pbr. There appears to be no good reason to keep it around. Change-Id: I2d99777bb017e9754457a3722af483d8bd5cd024
* | | | Merge "Use the oslo.utils.reflection to extract the class name"Jenkins2016-01-092-2/+8
|\ \ \ \
| * | | | Use the oslo.utils.reflection to extract the class nameLiuNanke2016-01-082-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The oslo.utils reflection module/code handles more variations of where a class name may come from (on python 2 and python 3) so its usage allows getting more accurate class names so we might as well use it. Change-Id: I7b130d6acb183a06a4efe648ee2c3fbd2905cdd5
* | | | | Merge "Put py34 first in the env order of tox"Jenkins2016-01-081-1/+1
|\ \ \ \ \
| * | | | | Put py34 first in the env order of toxJanonymous2016-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To solve the problem of "db type could not be determined" on py34 we have to run first the py34 env to, then, run py27. This patch puts py34 first on the tox.ini list of envs to avoid this problem to happen. Change-Id: I90be329de961a0a63607d04b5c7cc88d033f05ec Closes-bug: #1489059
* | | | | | Merge "Change assertTrue(isinstance()) by optimal assert"Jenkins2016-01-083-4/+4
|\ \ \ \ \ \
| * | | | | | Change assertTrue(isinstance()) by optimal assertyangyapeng2016-01-083-4/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of tests use different method of assertTrue(isinstance(A, B)), The correct way is to use assertIsInstance(A,B) provided by testtools Closes-bug: #1268480 Change-Id: I718b86e83b93a4e778710b9de895f2796a9b6d61
* | | | | | Merge "Replace assertEqual(None, *) with assertIsNone"Jenkins2016-01-080-0/+0
|\ \ \ \ \ \
| * | | | | | Replace assertEqual(None, *) with assertIsNoneyangyapeng2016-01-042-2/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace assertEqual(None, *) with assertIsNone in tests Change-Id: I678dd165fe4f24dee84b801eafc80ea27f68610c
* | | | | | Merge "Trivial: Remove vim header from source files"Jenkins2016-01-083-6/+0
|\ \ \ \ \ \
| * | | | | | Trivial: Remove vim header from source filesChaozhe.Chen2015-12-303-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I09876b1126abdfea03e1133e10c16e9274e6987a
* | | | | | | Merge "Remove openstack-common.conf"Jenkins2016-01-071-8/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Remove openstack-common.confLiuNanke2016-01-071-8/+0
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't sync from oslo-incubator, so don't need this file any more. Change-Id: Ie4346cbfb79cc4d4b8d48d70ef2dd2706dba7e89
* | | | | | Merge "Replace assertEqual(None, *) with assertIsNone in tests"Jenkins2016-01-072-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Replace assertEqual(None, *) with assertIsNone in testsShuquan Huang2015-12-172-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace assertEqual(None, *) with assertIsNone in tests to have more clear messages in case of failure. Change-Id: Idd271edb45dafed10aad255267ff0b9722cabe2d Closes-bug: #1280522
* | | | | Merge "Drop py33 support"Jenkins2016-01-052-2/+2
|\ \ \ \ \
| * | | | | Drop py33 supportshu-mutou2016-01-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Python 3.3 support is being dropped since OpenStack Liberty." written in following URL. https://wiki.openstack.org/wiki/Python3 And already the infra team and the oslo team are dropping py33 support from their projects. Since we rely on oslo for a lot of our work, and depend on infra for our CI, we should drop py33 support too. Change-Id: I37a08fc005ec78031e582721a5e472348ee5324c Closes-Bug: #1526170
* | | | | | Updated from global requirementsOpenStack Proposal Bot2016-01-051-2/+2
|/ / / / / | | | | | | | | | | | | | | | Change-Id: Icc1be9e4741aef06018d848d0cd38deec91ad7c4
* | | | | Merge "Remove py26 support"Jenkins2016-01-052-2/+1
|\ \ \ \ \
| * | | | | Remove py26 supportricolin2016-01-032-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of Mitaka, the infra team won't have the resources available to reasonably test py26, also the oslo team is dropping py26 support from their libraries. since we rely on oslo for a lot of our work, and depend on infra for our CI, we should drop py26 support too. Closes-Bug: 1519510 Change-Id: Ifc92fdb0823a032d9b9f744494276a702a16e8b7
* | | | | | Added '.' and remove extra parentheses(')') from README.rstamitg.b14@gmail.com2015-12-302-4/+5
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set help parameter in troveclient/shell.py inside version agruments, default first letter was lowercase and period missing. Closes-Bug:1525550 Change-Id: Ia11f4fd5462487064a743697ebd95a46dd72b8e7
* | | | | Merge "cluster create passing availability zone incorrectly"Jenkins2015-12-042-3/+3
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | cluster create passing availability zone incorrectlyCraig Vyvial2015-11-282-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the instance availability-zone to availability_zone. Closes-Bug: #1520749 Change-Id: I319cf2d631147a953c11d374dd19a413e6e6635f