summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add python3 compatibility for guest logs featuresstein-em2.17.1stable/steinMarcin Piwowarczyk2019-10-042-32/+32
| | | | | | | | | | | | | | | 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> (cherry picked from commit dfba4159b8153dca0d237eff990d827dc3fc6321)
* 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: I030f639b9332d378080c5d41549777be7ff9a25e
* Update UPPER_CONSTRAINTS_FILE for stable/steinOpenStack Release Bot2019-03-181-3/+3
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/stein branch, tests will continue to use the upper-constraints list on master. Change-Id: Ic05e51ded76f8aff3636cc65ca73432e426d6534
* Update .gitreview for stable/steinOpenStack Release Bot2019-03-181-0/+1
| | | | Change-Id: I4b12fffbe4f41c00288c396d4e864cb2afd9ef2b
* 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
|\ \ \ \
| * | | | 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
|\ \ \ \