summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Restore the index method for Management class"2.18.0Zuul2019-06-061-0/+4
|\
| * Restore the index method for Management classLingxian Kong2019-06-061-0/+4
| | | | | | | | Change-Id: Id9c9e6352742c672ae3f2764c42dd984c8202544
* | Merge "Support to batch delete database instances"Zuul2019-06-065-22/+99
|\ \ | |/ |/|
| * Support to batch delete database instancesLingxian Kong2019-06-065-22/+99
| | | | | | | | | | | | | | | | Allow users to delete database instances in batch, usage: usage: openstack database instance delete [-h] instance [instance ...] Change-Id: I88a15ba1910f7b3294067b54ae4a7a9b4c4a17a5
* | Add release note for --all-projects supportLingxian Kong2019-06-051-0/+3
|/ | | | Change-Id: I3a1fd52759f22502fa9617f3dae017a0e132ec6a
* Get all the database instances by adminLingxian Kong2019-05-219-73/+124
| | | | | | | | | | | | | | Currently, there is no way for the admin user to get databases of all the projects, which is very important for auditing or billing purpose. With this change, admin user can get all the database instances by running: $ openstack database instances list --all-projects Change-Id: I318907b1d4a63017f4a6f7967312770f8784c1f4 Story: #2005735 Task: #33393
* Disable some CI jobsLingxian Kong2019-05-211-32/+31
| | | | | | | | | | | Why we need to run Trove functional jobs for python-troveclient? Especialy, the python-troveclient-tempest-neutron-src is running all the core tempest jobs which are definitely unrelated to either Trove or python-troveclient. Disable those jobs until we have good reasons. Change-Id: I91b41e19d40bc09cb883ef18d26949613196c439
* OpenDev Migration PatchOpenDev Sysadmins2019-04-192-5/+5
| | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* Replace openstack.org git:// URLs with https://Ian Wienand2019-03-241-1/+1
| | | | | | | | | | | | | | | | | This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: Iaeef060105d102a4ae96ca9776e4025b53991d7b
* Update hacking versionZhijunWei2019-01-027-26/+24
| | | | | | | 1. update hacking version to latest 2. fix pep8 failed Change-Id: I49a6d46466b06bd56bed1f15632c9c80ef539b38
* Merge "add python 3.6 unit test job"Zuul2018-12-141-1/+1
|\
| * add python 3.6 unit test jobVieri2018-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I72d4101d9edb049b58f5ce662160f9629dbf1665 Story: #2002586
* | Merge "Add Python 3.6 classifier to setup.cfg"Zuul2018-12-121-0/+1
|\ \
| * | Add Python 3.6 classifier to setup.cfgqingszhao2018-11-301-0/+1
| |/ | | | | | | Change-Id: Id9bd181ef7d76f228484e0f610e31904eca52b8a
* | Change openstack-dev to openstack-discusssunjia2018-12-031-1/+1
|/ | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: Ic6ce8f7fad2375b37c0fae477ca43803ff907280
* Add python3 compatibility for guest logs featuresMarcin Piwowarczyk2018-10-301-2/+2
| | | | | | | | | | | | | | During working with python3-first goals, I have notticed the log_generator and log_save methods was non compliance with python3. This is what doesn't appears in integration tests because we execute only trove-functional-mysql job which doesn't covers guest-log tests. In separate change I will extend zull definition by scenario tests to avoid similar issues in future. Change-Id: If85dff57afe110991553d510c6af4468a6781f64 Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
* Add scenario tests to gate and check pipelineMarcin Piwowarczyk2018-10-301-0/+2
| | | | | | | | | | | Current functional tests executed via trovestack doesn't cover all integration tests scenarios. This change extends gate and check pipelines by trove-scenario-mysql-single job. Change-Id: I04c53c47b078f4006397f503a58b85ba868ecaac Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
* Update min tox version to 2.0huang.zhiping2018-10-211-1/+1
| | | | | | | | The commands used by constraints need at least tox 2.0. Update to reflect reality, which should help with local running of constraints targets. Change-Id: I8a8766706f60a75c546fa338943630a28f3670f2
* Merge "Add detailed list for instances"2.17.0Zuul2018-10-193-2/+22
|\
| * Add detailed list for instancesBartosz Zurkowski2018-10-123-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, listing instances only allows to get basic information about entities. To get the details, one need to query instance "show" endpoint for each instance separately. This is inefficient and exposes API to a heavier load. There are use cases in which we want to obtain detailed information about all instances. In particular, in services integrating with Trove. For example, Vitrage project requires this information to build vertices and edges in the resource graph for RCA analysis. This change extends Trove client by optional parameter allowing user to specify whether API should include more instance details in the response. Change-Id: Iecea2f711a3e23fd63167beb6cab4cecc63bcabe Signed-off-by: Bartosz Zurkowski <b.zurkowski@samsung.com>
* | Don't quote {posargs} in tox.iniVieri2018-10-091-1/+1
|/ | | | | | | | Quotes around {posargs} cause the entire string to be combined into one arg that gets passed to stestr. This prevents passing multiple args (e.g. '--concurrency=16 some-regex') Change-Id: Ieeaa82bc6fb472490d1806c41cbffac130c0d23a
* Fix wrong keyword argumentsYotaro Konishi2018-10-023-2/+23
| | | | | | | | | | | | Currently 'openstack database flavor list' command fails when using '--datastore-type' and '--datastore-version-id' options. This change fixes the issue by correcting keyword arguments. This change also adds a test case of listing flavors with the optional arguments. Change-Id: I37be4911d4dda1529e2550344a912e0aa3c50558 Closes-Bug: #1794663
* Merge "Replace assertRaisesRegexp with assertRaisesRegex"Zuul2018-09-262-13/+13
|\
| * Replace assertRaisesRegexp with assertRaisesRegexChuck Short2018-08-272-13/+13
| | | | | | | | | | | | | | | | This replaces the deprecated (in python 3.2) unittest.TestCase method assertRaisesRegexp() with assertRaisesRegex(). Change-Id: Ib260a6549a7a957fc1b91b89156a676922142b04 Signed-off-by: Chuck Short <chucks@redhat.com>
* | Merge "Add release note link in README"Zuul2018-09-251-0/+2
|\ \
| * | Add release note link in READMEwu.chunyang2018-06-281-0/+2
| | | | | | | | | | | | Change-Id: I49e0e59e7666a444925e9a48bb02b1517db6d51c
* | | Merge "Cleanup zuul.yaml"Zuul2018-09-241-5/+4
|\ \ \
| * | | Cleanup zuul.yamlAndreas Jaeger2018-09-111-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small cleanups: * Sort list of templates alphabetically * Use lower-constraints template instead of individual jobs Change-Id: Ic9246644ad61b300cae2e5119a056301f4e3263f
* | | | Merge "add python 3.6 unit test job"Zuul2018-09-241-0/+1
|\ \ \ \ | |/ / /
| * | | add python 3.6 unit test jobDoug Hellmann2018-09-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Ieafc9bd8878108b48aacfa8447977d80756389fb Story: #2002586 Task: #24342
* | | | Merge "switch documentation job to new PTI"Zuul2018-09-241-2/+2
|\ \ \ \ | |/ / /
| * | | switch documentation job to new PTIDoug Hellmann2018-09-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Id74094be3d2ff577433cc3d431141d42e7827dc3 Story: #2002586 Task: #24342
* | | | Merge "import zuul job settings from project-config"Zuul2018-09-241-2/+9
|\ \ \ \ | |/ / /
| * | | import zuul job settings from project-configDoug Hellmann2018-09-091-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I9a295f2773fda26ccb9707360129a9d1c618ed7f Story: #2002586 Task: #24342
* | | | Merge "Fix python3 compatibility issues"Zuul2018-09-093-3/+5
|\ \ \ \ | |/ / / |/| | |
| * | | Fix python3 compatibility issuesMarcin Piwowarczyk2018-08-313-3/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While executing functional tests in trove project, with baseptyhon python3 in change [1], there appears few incompatibilities in troveclient. All of them are directly related to differences in PY3 version. This change removes these issues and will allow to execute functional tests seamlessly. Change details: * troveclient/compat/base.py - dict.iteritems was removed in PY3 because dict.items now does the thing dict.iteritems did in PY2 * troveclient/compat/client.py - json.loads expects string, and PY3 doesnt convert bytes to string. We have to use explicity call decode() which will decode given bytes to string * troveclient/apiclient/base.py - to avoid infinite recursion exception raised when pickling class attributes [1] I9ee34642c700d1e6ba9c2f3891b7fa1f7f7e1e1d Change-Id: I8989fd4798e80eae27408017e1543819a68b4ab1 Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
* | | Sync two parameters of cluster-create to OSCzhanggang2018-08-213-10/+46
|/ / | | | | | | | | | | | | | | | | | | | | | | | | The previous patches have add configuration and extended_properties to "trove cluster-create"[1][2], this commit add the two paramenters to OSC, user can pass configuration and extended_properties during "openstack database cluster create". [1] https://review.openstack.org/#/c/583125/ [2] https://review.openstack.org/#/c/589047/ Change-Id: Ic8e3ba4e92d3b65fa65875675f58eead5827976a Signed-off-by: zhanggang <zhanggang@cmss.chinamobile.com>
* | Merge "Update reno for stable/rocky"Zuul2018-08-102-0/+7
|\ \
| * | Update reno for stable/rockyOpenStack Release Bot2018-08-082-0/+7
| | | | | | | | | | | | Change-Id: Ic360311c1c6897e60c9d0619b49fc4fc093b23aa
* | | Merge "Support configuration groups for clusters"Zuul2018-08-085-3/+42
|\ \ \ | |/ / |/| |
| * | Support configuration groups for clustersMarcin Piwowarczyk2018-08-075-3/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handles API part implemented in change: I7c0a22c6a0287128d0c37e100589c78173fd9c1a So far passing configuration group was possible only for single instance deployment. As the trove api now already supports configuration attach and detach for clusters, we are able to handle it in client. Configuration will be applied to each cluster instance. Partially implements: blueprint cluster-configuration-groups Change-Id: Ic0840c995cbc34203c76494d7ba522f3e17141a7 Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
* | | Merge "Remove PyPI downloads"Zuul2018-08-071-4/+0
|\ \ \
| * | | Remove PyPI downloadsChen2018-06-071-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to official site, https://packaging.python.org/guides/analyzing-pypi-package-downloads/ PyPI package download statistics is no longer maintained and thus should be removed. Change-Id: Idefa586d3b2ff48d1245226588fa27923b0a0734
* | | | Merge "Switch to stestr"Zuul2018-08-076-15/+13
|\ \ \ \ | |_|/ / |/| | |
| * | | Switch to stestrVu Cong Tuan2018-07-306-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I9bfb80f2556ca7c801dde69d1685751169e25307
* | | | Merge "Add extended properties support for mongo cluster."Zuul2018-08-065-3/+66
|\ \ \ \ | |/ / / |/| | |
| * | | Add extended properties support for mongo cluster.zhanggang2018-07-315-3/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | User can specify the number and volume of mongos/configserver with extended_properties argument when creating mongodb. Currently, the supported parameters are, num_configsvr, num_mongos, configsvr_volume_size, configsvr_volume_type, mongos_volume_size and mongos_volume_type. Change-Id: I35406f9967ce00a51b320eda37572e96228b209d Signed-off-by: zhanggang <zhanggang@cmss.chinamobile.com>
* | | | 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
|\ \ \ \