summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add promote-to-replica-source to OSC"rocky-em2.16.0Zuul2018-07-184-0/+47
|\
| * Add promote-to-replica-source to OSCwangyao2018-07-174-0/+47
| | | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the promote-to-replica-source command. The trove command promote-to-replica-source is now: openstack database instance promote to replica source Change-Id: I0009b3e1074ddabaed6b02f5578f28cffc995b30 Partially-Implements: blueprint trove-support-in-python-openstackclient
* | Merge "Add execution-delete to OSC"Zuul2018-07-184-0/+40
|\ \
| * | Add execution-delete to OSCwangyao2018-07-174-0/+40
| |/ | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the execution-delete command. The trove command execution-delete is now: openstack database backup execution delete Change-Id: I9934a047d48daed53567b59bb51a2eab4d6e37b5 Partially-Implements: blueprint trove-support-in-python-openstackclient
* | Merge "Add configuration-default to OSC"Zuul2018-07-175-0/+63
|\ \
| * | Add configuration-default to OSCwangyao2018-07-175-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the configuration-default command. The trove command configuration-default is now: openstack database configuration default Change-Id: I9403df629e893bb1c4d75566cffd3d49697a543d Partially-Implements: blueprint trove-support-in-python-openstackclient
* | | Add detach-replica to OSCwangyao2018-07-174-0/+48
|/ / | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the detach-replica command. The trove command detach-replica is now: openstack database instance detach replica Change-Id: Ia6034eccbd3490696270d44d00966c3da94b3999 Partially-Implements: blueprint trove-support-in-python-openstackclient
* | Merge "Add log-list to OSC"Zuul2018-07-176-0/+127
|\ \
| * | Add log-list to OSCwangyao2018-07-176-0/+127
| |/ | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the log-list command. The trove command log-list is now: openstack database log list Change-Id: If048a653df01244882a451e3fddf28a8faac59f6 Partially-Implements: blueprint trove-support-in-python-openstackclient
* | Merge "Add configuration-instances to OSC"Zuul2018-07-176-1/+94
|\ \
| * | Add configuration-instances to OSCwangyao2018-07-126-1/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the configuration-instances command. The trove command configuration-instances is now: openstack database configuration instances Change-Id: I4ad52cc8772534c95b708b49d018f4b2e35d6f86 Partially-Implements: blueprint trove-support-in-python-openstackclient
* | | Merge "Add eject-replica-source to OSC"Zuul2018-07-174-0/+47
|\ \ \
| * | | Add eject-replica-source to OSCwangyao2018-07-134-0/+47
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the eject-replica-source command. The trove command eject-replica-source is now: openstack database instance eject replica source Change-Id: I674e78e310b2953b28d0829cbe6fda62c00b6ea8 Partially-Implements: blueprint trove-support-in-python-openstackclient
* | | Merge "Replace 'raise StopIteration' with 'return'"Zuul2018-07-161-2/+2
|\ \ \ | |/ / |/| |
| * | Replace 'raise StopIteration' with 'return'Dougal Matthews2018-06-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With PEP 479, the behaviour of StopIteration is changing. Raising it to stop a generator is considered incorrect and from Python 3.7 this will cause a RuntimeError. The PEP recommends using the return statement. More details: https://www.python.org/dev/peps/pep-0479/#examples-of-breakage Change-Id: If53f0f4c313a699a4036838ab6035fffa931931b
* | | Merge "fix tox python3 overrides"Zuul2018-07-121-0/+6
|\ \ \
| * | | fix tox python3 overridesDoug Hellmann2018-07-121-0/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I3868de365369664b3689582cc9d25f3228e5dbb7 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | Merge "Migrate to Zuul v3 native job definitions"Zuul2018-07-123-80/+7
|\ \ \ | |_|/ |/| |
| * | Migrate to Zuul v3 native job definitionsZhao Chao2018-04-183-80/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch migrate python-troveclient-tempest-neutron-src to a Zuul v3 native jobs, following the documents below: https://docs.openstack.org/infra/manual/zuulv3.html https://docs.openstack.org/devstack/latest/zuul_ci_jobs_migration.html Change-Id: Id054e38ea1ee93033721f1627e55add9dca55118 Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
* | | Correctly mocking builtin open in test_v1_shellZhao Chao2018-07-101-9/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | There's now a seperate module 'builtins' from python-future(this package is now installed by stestr, and stestr in required by oslotest-3.6.0), so under Python 2.x 'builtins' is also imported as a module and 'bultins.open' is mocked instead of '__builtin__.open'. And according to the Mock document, we should always patch the object where it's looked up, so only necessary mocking is made in this patch. Change-Id: I57ea61cefd3b01b19475b0fa7e16f716eaaa14e6 Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
* | Merge "Update the troveclient's README."Zuul2018-06-211-5/+7
|\ \
| * | Update the troveclient's README.zhanggang2018-06-131-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | Change the display of documentation and bugs, update some url from http to https Change-Id: Iab61ffabfa00ef1d265c6ea84ac0e863448bc829 Signed-off-by: zhanggang <zhanggang@cmss.chinamobile.com>
* | | Merge "Add cluster-modules to OSC"Zuul2018-06-206-0/+116
|\ \ \ | |/ / |/| |
| * | Add cluster-modules to OSCwangyao2018-06-206-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the cluster-modules command. The trove command cluster-modules is now: openstack database cluster modules Change-Id: Ib16578de1520163e9b9bc6894a079e8f0fcef37b Partially-Implements: blueprint trove-support-in-python-openstackclient
* | | Trivial: Update pypi url to new urlTovin Seven2018-05-161-3/+3
|/ / | | | | | | | | | | | | | | | | Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Change-Id: Ie129cd43876313849985ce757be7f3487b4f9465
* | Follow the new PTI for document buildNguyen Hai2018-04-217-25/+36
| | | | | | | | | | | | | | | | | | | | | | | | - Follow new PTI for docs build - Add sphinxcontrib.apidoc to replace pbr autodoc REF: https://governance.openstack.org/tc/reference/project-testing-interface.html http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Change-Id: I078e2ed32da04303203d6c2a3e498f82b9a15939
* | Merge "Change testenv from py34 to py35"Zuul2018-04-171-3/+3
|\ \
| * | Change testenv from py34 to py35Nguyen Hai2018-04-161-3/+3
| |/ | | | | | | | | | | | | | | | | | | - The Zuul gate currently only support py35. - In setup.cfg, the project said that it support Programming Language :: Python :: 3.5. Therefor, this patch changes py34 to py35. Change-Id: Iaad9bf41e3c8a8915c06ff039e570a2cc41ca2a1
* | add lower-constraints job2.15.0Doug Hellmann2018-04-164-1/+98
|/ | | | | | | | | | | | | | | | | | | | | | | | Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. About PrettyTable requirement: The minimum version of PrettyTable is not correct in requirements.txt, which should be 0.7.2 according to the unittests(before 0.7.2, if the table is empty, i.e. no rows in the table, PrettyTable won't print the headers and borders, this is changed during 0.7.2) Co-Authored-By: Zhao Chao <zhaochao1984@gmail.com> Change-Id: Ia9cadcbc2bc9aa2864fe47040dfe7be8ae286b98 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Updated from global requirementsOpenStack Proposal Bot2018-03-231-1/+1
| | | | Change-Id: I5428b7f4f4f57511a6f60e654811b66152119ee4
* Updated from global requirementsOpenStack Proposal Bot2018-03-151-1/+1
| | | | Change-Id: I2d9b7ccba2d1a57f10988488f5899f2f5e6d6bae
* Merge "Fix invalid mock in OSC cluster creating unittest"Zuul2018-03-011-7/+15
|\
| * Fix invalid mock in OSC cluster creating unittestZhao Chao2018-02-131-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As '_parse_instance_options' is imported into database_clusters, mocking destination should be the database_clusters module, not the original troveclient.v1.shell. The reason this test passed before this patch is, the return value of '_parse_instance_options' is not checked, i.e. the mock object is also useless. This patch also checks how troveclient.v1.clusters.create is called to ensure '_parse_instance_options' is correctly mocked. Change-Id: I903a3b9565e4044c33401a6abcc47d50a5a2567f Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
* | Merge "Add cluster-grow and cluster-shrink to OSC"Zuul2018-02-215-12/+139
|\ \
| * | Add cluster-grow and cluster-shrink to OSCZhao Chao2018-02-135-12/+139
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds database support to python-openstackclient project for the cluster-grow and cluster-shrink commands. The trove command cluster-grow is now: openstack database cluster grow The trove command cluster-shrink is now: openstack database cluster shrink Change-Id: I449e7f7d841ea266611ff79f8a41f6e730fced3c Partially-Implements: blueprint trove-support-in-python-openstackclient Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
* | Merge "Clean imports in code"Zuul2018-02-211-3/+3
|\ \
| * | Clean imports in codeNguyen Hung Phuong2018-02-211-3/+3
| |/ | | | | | | | | | | | | | | | | In some part in the code we import objects. In the Openstack style guidelines they recommend to import only modules. [1]: "Do not import objects, only modules". [1] https://docs.openstack.org/hacking/0.10.3/ Change-Id: I8dd5396ab604013639a0b626ce3ecd3e3fad12e8
* | Updated from global requirementsOpenStack Proposal Bot2018-02-171-2/+2
|/ | | | Change-Id: Ia83b80d03bd227522d29f743eb48a270048cc84c
* Handle error response for webob>=1.6.0Zhao Chao2018-02-063-4/+75
| | | | | | | | | | | | | | | | | | | WebOb change https://github.com/Pylons/webob/pull/230 changed the way in which the error response body is formatted such that it's no longer a nested dict. So we have to handle both the old convention of an error message key to the response body error dict and the new way with just the error body dict. This was reported upstream: https://github.com/Pylons/webob/issues/235 But given this was apparently implemented as a long-overdue change in WebOb the behavior is not likely to change. Change-Id: Id8bfde6277640de48768bbe5a5e4252b97253ed2 Closes-Bug: #1559072 Co-Authored-By: Matt Riedemann <mriedem@us.ibm.com> Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
* Update reno for stable/queensOpenStack Release Bot2018-02-012-0/+7
| | | | Change-Id: Iab7543eb68b6e9f6179da98ca0869e65776f1044
* Updated from global requirementsOpenStack Proposal Bot2018-01-241-1/+1
| | | | Change-Id: I3e068f6888e7be53645fea5d31e983197b212a5d
* Merge "Fix log-enable high priority error"Zuul2018-01-233-5/+6
|\
| * Fix log-enable high priority errorqueens-em2.14.0caishan2018-01-223-5/+6
| | | | | | | | | | | | | | | | | | | | | | 1. Modify setup.cfg to make command openstack database log enable run correctlly. class EnableDatabaseInstanceLog should be in database_instances, not in database_limits. This is a HIGH priority error. 2. Originally, trove log-enable will return a log info when execute successfully. This change makes OSC log_enable acts like the origin troveclient enable_log. Change-Id: I68c5ef451c8e6c7fb189d6270bad002da7ffc9a6
* | Merge "Remove now obsolete Zuul job name"Zuul2018-01-231-4/+0
|\ \
| * | Remove now obsolete Zuul job nameAndreas Jaeger2018-01-211-4/+0
| |/ | | | | | | | | | | | | Remove the now obsolete Zuul job name, all users have been renamed. Change-Id: I7d7cbb6b6cc6dd63c867114df52582db1bcec05f Depends-On: I2dd2075e41680d7b85d574575a19531599dabf5e
* | Merge "Updated from global requirements"Zuul2018-01-220-0/+0
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2018-01-161-1/+1
| | | | | | | | | | | | Change-Id: I941090320ec464c2f61cae4eb80979542261bb49
* | | Merge "Updated from global requirements"Zuul2018-01-221-1/+1
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2018-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia6b449d83d44d34f26d32a8071afa4386fd50321 I941090320ec464c2f61cae4eb80979542261bb49
* | | | Add 'update' command to OSCZhao Chao2018-01-224-0/+84
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the 'update' command. The trove command update is now: openstack database instance update Change-Id: I426c892540f82bc19b7b28d7845a2f6699c3f526 Partially-Implements: blueprint trove-support-in-python-openstackclient Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>