6dcaebd | Andrey Kurilin | 04 May 2018, 11:26:42 UTC | [docs] Add release notes for 0.12.0 Change-Id: Ic01ca1b675fafb3510d55392f8802f23708a20cb | 08 May 2018, 17:11:33 UTC |
41e633b | Andrey Kurilin | 08 May 2018, 17:09:26 UTC | Ignore several hacking rule The new hacking is released which made over "pep8" check fail. I do not find this checks useful and even more, it blocks us to make release. So let's just ignore them. E731 do not assign a lambda expression, use a def W503 line break before binary operator Change-Id: Ife8cfb886c97fc8712bec8445c4c3241a98ccbd5 | 08 May 2018, 17:09:26 UTC |
6237d9a | Zuul | 27 April 2018, 19:52:43 UTC | Merge "[version] Import rally.common.db.schema when necessary" | 27 April 2018, 19:52:43 UTC |
0d0e06e | Andrey Kurilin | 27 April 2018, 17:29:26 UTC | [version] Import rally.common.db.schema when necessary Rally version is quite important thing which can be used from CLI or from python. It can be pretty useful while writting externatl plugins which want to be compatible with several rally versions. rally.common.version module should not import db stuff in the root level, since it requires importing sqlalchemy, alembic and other heavy libraries. Change-Id: If1afba72527deef0fc4c8577478d306141e0ac52 | 27 April 2018, 17:32:19 UTC |
51b160d | Zuul | 27 April 2018, 12:47:00 UTC | Merge "[plugins] load config options from external plugins" | 27 April 2018, 12:47:00 UTC |
f519b10 | Zuul | 26 April 2018, 23:18:13 UTC | Merge "Redesign ResourceTypes" | 26 April 2018, 23:18:13 UTC |
14bb668 | Andrey Kurilin | 23 April 2018, 13:36:32 UTC | Redesign ResourceTypes This patch redesigns base class of ResourceType's so it can handle: * non-openstack related resources * cache mechanism Plugins of `ResourceType` type look like the last place hardcoded for OpenStack. It's base method "transform" expects "clients" argument with rally.plugins.openstack.osclients.Clients instance. This instance is initialized in our base code at rally.task.types. To solve this issue, the new instance method "pre_process" is introduced. It expects the resource specification which can be used for searching/filtering + a configuration for ResourceType from the plugin. Using instancemethod instead of classmethods allows to share utils and simplify introducing cache-feature which can decrease number of equal calls. Despite the fact, that the design of ResourceType class is complitely changed, everything is done in a backward compatible way. Change-Id: Iea95450892f229886c86697d632013e868b6cb31 | 26 April 2018, 18:51:15 UTC |
6e146f7 | Andrey Kurilin | 25 April 2018, 14:04:26 UTC | [plugins] load config options from external plugins Extend rally-plugins as python packages with a new feature: config options. It is obvious that plugins can have some configurable options like special timeouts and so on. As for now, such plugins need to register their options by themselves which adds code-duplication and leads to possible overhead when we will try to switch from oslo_config. Let's put all the requried code in rally framework. The plugins itselves should extend entry-points of their packages to look like: rally_plugins: path: <path_to_plugins_to_import> options: <pythonic.path.to.method.which.list:all_options> Change-Id: Ie43206317bbc9a9e7235e7a0e5220847c310b589 | 26 April 2018, 09:07:56 UTC |
f8dc860 | Zuul | 24 April 2018, 07:59:26 UTC | Merge "[docs] fix invalid "rst" usage" | 24 April 2018, 07:59:26 UTC |
c2a6a0f | Zuul | 23 April 2018, 17:22:08 UTC | Merge "[types] Remove redundant function" | 23 April 2018, 17:22:08 UTC |
b57ab65 | Zuul | 23 April 2018, 16:22:42 UTC | Merge "[verify] Ger rid of calling pip internals" | 23 April 2018, 16:22:42 UTC |
9f0c6bd | Andrey Kurilin | 23 April 2018, 12:20:19 UTC | [types] Remove redundant function Function `rally.task.convert` is designed to specify which arguments of scenario plugin should be preprocessed. It accepts keyword arguments where key is a argument name and value is options for processing. This function also includes a logic for postponing the loading of ResourceType plugins to the place where they are actually executed. I do not know historical reasons, but as for currect code place, we just can call for obtaining the right ResourceType plugin in the right place without any wrappers and so on. Change-Id: Ide57d48301eba7022f2365b2d68615e5431a4c11 | 23 April 2018, 14:43:07 UTC |
8dbcde7 | Andrey Kurilin | 23 April 2018, 11:43:34 UTC | [docs] fix invalid "rst" usage * Fix an issue while splitting docstring to description of parameters and the description of the plugins itself. Method 'trip' uses the second line of docstring to identify the intend to cut. This logic bases on the fact that the first line of docstring doesn't have intend at all. Unfortunately, python docstring objects start with empty line which moves the actual first line to the second position. * We do not use definitions in any existing plugins docstrings. Existance of such nodes while parsing text means that there is an issue with intend (redundant spaces) or missed new line between list title/description and actual list items. (the proper test is added) * rst parser adds "system_message" nodes for any kind of warnings and errors. This behaviour can be used in our test to find all "invalid" things. Change-Id: I348ccf140458b604a8cc29053d166c1610ad807d | 23 April 2018, 14:16:26 UTC |
5466f24 | Tovin Seven | 20 April 2018, 10:28:09 UTC | Trivial: Update pypi url to new url Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Change-Id: I98d47419ea27d73609c5079ccd2b960bd1246642 | 20 April 2018, 15:13:36 UTC |
47a8296 | Zuul | 19 April 2018, 19:04:10 UTC | Merge "[docs] Use proper reference for openstack plugins" | 19 April 2018, 19:04:10 UTC |
8eaed0b | Andrey Kurilin | 19 April 2018, 13:37:55 UTC | [docs] Use proper reference for openstack plugins * add rally-openstack package to doc requirements * fix linking for plugins (with hardcoding openstack plugins) * move importing of osclients to inner methods Change-Id: Ifb851c61de01e4140c23b447b5e0d55c1e76fb1c | 19 April 2018, 14:52:51 UTC |
4ff40f1 | Zuul | 19 April 2018, 14:09:00 UTC | Merge "Fix obtaining env spec in case of old deployment format" | 19 April 2018, 14:09:00 UTC |
44aaa7d | Andrey Kurilin | 15 March 2018, 15:15:04 UTC | Remove oslotest from coverage job Change-Id: Id41c5a58a0ada976f795ac0116f6e12b85b3772c | 18 April 2018, 13:37:56 UTC |
97722b1 | Andrey Kurilin | 15 March 2018, 11:40:26 UTC | Remove several test dependencies * oslotest We are using just one fixture class(with only one useful code-line) from oslotest library. To reduce inheritors and simplify readability of the code, let's remove oslotest dependency. NOTE: coverage job will fail at master change with trying to import oslotest. To fix this issue oslotest is temporary added to `cover` tox env and will be removed in follow-up change * testscenarios We do not use this dependency now (or even ever?!) * coverage This library was used before we switched to pytest. Now, all we need is pytest-cov Change-Id: Id0d52f928e067ced5bf4613c291019529b43fbbf | 17 April 2018, 16:30:05 UTC |
8422917 | Andrey Kurilin | 17 April 2018, 15:42:16 UTC | [verify] Ger rid of calling pip internals In case of system-wide mode of verifiers, Rally tryies to check whether tool's requirements feets what we have installed in the system environment or not. Previously we used helpers from pip library. Unfortunately, pip team decided to mark these helpers as "internal" and it becomes an issue for us with pip>=10.0 This patch migrates our checks to use pkg_resources . Change-Id: I6f5fb6c1f71c3e0b2c59481b00907d08e32c8eb1 | 17 April 2018, 15:42:16 UTC |
8c0f380 | Andrey Kurilin | 11 April 2018, 16:43:04 UTC | [env] fix wrong call for logging Change-Id: I5f2890f015bd18af5a75ef4286b005da1daf16d6 | 11 April 2018, 16:43:04 UTC |
8166f3c | Andrey Kurilin | 11 April 2018, 14:36:17 UTC | Fix obtaining env spec in case of old deployment format There is special warning which notifies about deprecated format of deployment component. It also prints an adopted version of deployment config to simplify migration. Unfortunately, we used wrong attribute for environment specification. Change-Id: I1d295f01e389f6704619a6cd562e1c8f0a631632 | 11 April 2018, 14:36:17 UTC |
85ab3f9 | Andrey Kurilin | 06 April 2018, 11:46:27 UTC | [cli] Use json.loads instead of yaml while importing results Rally Task results are json file, there are no reasons to use yaml deserializer for importing result. Even more, usage of yaml deserializer affects the performance of import operation. Change-Id: I965e0608ed8667e4a43de3323a63a948dab29bd6 | 06 April 2018, 16:04:09 UTC |
29c4ea0 | Zuul | 04 April 2018, 15:07:58 UTC | Merge "Fix 'rally task report --tasks'" | 04 April 2018, 15:07:58 UTC |
46f4612 | Andrey Kurilin | 03 April 2018, 12:07:27 UTC | Fix 'rally task report --tasks' The argument `--tasks` of `rally task report` is deprecated from Rally 0.10. Unfortunately, the wrong destination was used, so `--tasks` argument stopped working. This patch fixes destination for `--tasks` argument. As well, this patch improves the deprecation warning message to include an alternative argument if presents (currently alternative argument is displayed only in help message). Change-Id: I45750027ddc1f39fc362b1d776f847707c8e7d67 | 03 April 2018, 12:15:34 UTC |
4c687b5 | Boris Pavlovic | 30 March 2018, 09:22:20 UTC | Speed up RPS runner test cases This reduce ~10 second (about 20%) of running time of tests Change-Id: I1f0bd76a32fad7b95a1702f0f0df7fd3e4688a9a | 30 March 2018, 09:22:20 UTC |
98e7068 | Boris Pavlovic | 30 March 2018, 09:21:38 UTC | Remove unused clitutils.process_keystone_exc This method is not used so let's just remove it Change-Id: I8949cfba54f3b8abaa3ba845b76cb44413b3c4ae | 30 March 2018, 09:21:38 UTC |
9fc9876 | Andrey Kurilin | 28 March 2018, 15:35:22 UTC | Propose release notes for 0.11.2 Change-Id: I82245c6c80822fab61cf960e548dafa0f67f628e | 29 March 2018, 09:08:20 UTC |
2f2739f | Andrey Kurilin | 28 March 2018, 15:54:03 UTC | Fix obtaining env_uuid from deployment This patch fixes a check for DEPLOYMENT_UUID in case of missing ENV_UUID. Instead of checking system environment directly, we should call get_global method which loads our source file with default UUIDs. Change-Id: I2314b758339edfe77e1536c37dcdb54af1b6a581 | 28 March 2018, 15:54:03 UTC |
899bffe | Andrey Kurilin | 28 March 2018, 11:28:54 UTC | Print warning about deprecation OpenStack plugins OpenStack plugins moved to the separate repository[1][2]. We need to inform our consumers about this change. [1] - https://pypi.python.org/pypi/rally-openstack [2] - https://github.com/openstack/rally-openstack Change-Id: I6cfe09ffba63c72a7aac855ae5fe6cbda42c91e9 | 28 March 2018, 11:28:54 UTC |
6d159ad | Zuul | 28 March 2018, 10:42:51 UTC | Merge "[envs] Add --only-spec option to pring spec" | 28 March 2018, 10:42:51 UTC |
a6ba8ac | Zuul | 28 March 2018, 10:32:09 UTC | Merge "Deprecate rally devstack plugin" | 28 March 2018, 10:32:09 UTC |
0943916 | Andrey Kurilin | 28 March 2018, 08:29:07 UTC | [envs] Add --only-spec option to pring spec Change-Id: I41b9c386af2c6e89dca4f2b8dc8884eca9c2e01e | 28 March 2018, 08:29:07 UTC |
2f5290f | Andrey Kurilin | 27 March 2018, 10:16:21 UTC | Deprecate rally devstack plugin Alternative: rally-openstack git://git.openstack.org/openstack/rally-openstack Change-Id: I4972f4be58e269a379eece73ad414d45bb9adb79 | 27 March 2018, 19:14:17 UTC |
a3fd27e | Zuul | 27 March 2018, 17:20:21 UTC | Merge "[plugin] Do not load pyc files" | 27 March 2018, 17:20:21 UTC |
d6738f9 | Andrey Kurilin | 27 March 2018, 12:29:35 UTC | [plugin] Do not load pyc files Change-Id: Ib52a87b6bac085dc8c9a170b341c11431512b73a | 27 March 2018, 12:29:35 UTC |
10f0084 | Zuul | 23 March 2018, 12:14:52 UTC | Merge "Update the CirrOS image to 0.4.0." | 23 March 2018, 12:14:52 UTC |
57200e0 | Andrey Kurilin | 16 March 2018, 15:15:43 UTC | get rid of oslo.utils we are using just several simple methods from oslo.utils which requires a lot of other dependecies. To make rally a lightweight framework, we need to abandon usage of such things Change-Id: I6e6170c7dabc97a089d030ee6b05fc07993e8c32 | 22 March 2018, 10:34:53 UTC |
7c5a5d6 | ekultails | 19 March 2018, 22:13:30 UTC | Update the CirrOS image to 0.4.0. Both CirrOS releases 0.3.4 and 0.3.5 are inconsistently used. Now all sample scenarios will use the latest stable 0.4.0 release. The image_location setting has also been converted into a Jinja template variable. Change-Id: Ic2ea83329d9fe774a5a666c4e988487ef502ce7f Closes-Bug: 1751322 | 19 March 2018, 22:13:30 UTC |
562d270 | Zuul | 19 March 2018, 08:35:18 UTC | Merge "[envs] Creating a spec from system environment variables" | 19 March 2018, 08:35:18 UTC |
da244c1 | Boris Pavlovic | 15 March 2018, 18:51:00 UTC | Remove oslo.utils from plugins We already use importlib so no need to use olso.utils for that Change-Id: I8ae7398906124f8365430b687980d5bc96a1b0ad | 18 March 2018, 04:26:45 UTC |
a93be0a | Boris Pavlovic | 18 March 2018, 00:33:40 UTC | Fix constant_for_duration stucking on exceptions If something went terrible wrong during the passing arguments to process this runner will hung up. To fix this use try:finall Change-Id: I1f953f9189eb9221a4d36a57edb3c7ccbdbf5d3b | 18 March 2018, 04:26:33 UTC |
bd9fff9 | Andrey Kurilin | 06 March 2018, 08:49:46 UTC | [envs] Creating a spec from system environment variables Deployment component had a noce hardcoded to openstack feature - create a specification based on system environment variables. This patch ports this feature to Environment manager and extends with ability to configure not only OpenStack things. Change-Id: Ic7b09a0a1f6d859f3db92400fb15ed9c1b69ea89 | 14 March 2018, 14:49:49 UTC |
ab68c8f | Zuul | 14 March 2018, 13:13:31 UTC | Merge "Fix the date format for db migrations files" | 14 March 2018, 13:13:31 UTC |
4a58246 | chenhb | 14 March 2018, 05:08:18 UTC | Fix the date format for db migrations files 1. add _ in file name 2. format the months to keep 2 length. Change-Id: I925e5a715a507f7c8abdcb1b7cb00f9bab27b1ef | 14 March 2018, 05:08:18 UTC |
4b6587c | Zuul | 13 March 2018, 23:23:21 UTC | Merge "Fix the name format for db migrations" | 13 March 2018, 23:23:21 UTC |
ab30875 | chenhb | 13 March 2018, 08:08:33 UTC | Fix the name format for db migrations Add date prefix in db migrations files. Change-Id: I00ef5bfffc97116c35b698bdcf316b969a5d9d3c | 13 March 2018, 09:39:31 UTC |
234ead2 | Boris Pavlovic | 11 March 2018, 22:07:57 UTC | Use for samples testing separated job Samples testing has to go over all files and ensures that all tasks have proper specs which is time & disk comsuing, it takes up to ~10-15 seconds However, testing samples is not required in most development cases, only when new plugins are added, so it makes sense to split it in separate job Change-Id: I3536226c389fec0f41d84325747dd0f8b6a880f6 | 11 March 2018, 22:48:16 UTC |
0a86a69 | Zuul | 11 March 2018, 20:10:24 UTC | Merge "[db] Refactor usage of session and serialization" | 11 March 2018, 20:10:24 UTC |
ecb6ae8 | Zuul | 11 March 2018, 19:17:02 UTC | Merge "Update links in README" | 11 March 2018, 19:17:02 UTC |
b9283ba | Zuul | 09 March 2018, 21:05:25 UTC | Merge "Rework novaclient floating ips actions" | 09 March 2018, 21:05:25 UTC |
d89eb07 | Andrey Kurilin | 06 March 2018, 18:50:25 UTC | Rework novaclient floating ips actions Methods for association floating ips and dissociation were deprecated in novaclient a year ago and latest major release (python-novaclient 10) doesn't include them[*]. These actions should be performed via neutronclient now. It requires more work, but there is no other options. [*] https://github.com/openstack/python-novaclient/blob/master/releasenotes/notes/remove-virt-interfaces-add-rm-fixed-floating-398c905d9c91cca8.yaml Change-Id: I6c019fe84fb3d6dfcef5dfadbbccff01bde4a102 | 09 March 2018, 14:49:37 UTC |
cf489e7 | melissaml | 09 March 2018, 03:56:43 UTC | Update links in README Change the outdated links to the latest links in README Change-Id: I255ac3b3c0c92ffa9acb2a57db73a7dfcce093ab | 09 March 2018, 03:58:18 UTC |
2aeaf59 | Boris Pavlovic | 06 March 2018, 19:37:06 UTC | [db] Refactor usage of session and serialization - removes usage of engine facade from oslo.db - adds as_dict() method to base model, that includes in result only fields that are loaded (works with joins as well) - adds with_session decorator that provides session for methods in standartize way - cleans up part of methods and removes some of non optimal methods Change-Id: I540032df8d927ee8d6a6fb7ef647afa6a133e36a | 07 March 2018, 18:20:00 UTC |
692e082 | chenpengzi | 07 March 2018, 02:27:29 UTC | Update incorrect URL and word typo Change-Id: I14c2a6af9289ad1686b5fc746035167dc98a4119 | 07 March 2018, 02:33:42 UTC |
7174452 | Zuul | 06 March 2018, 16:29:51 UTC | Merge "[openstack] Remove nova hosts specific logic" | 06 March 2018, 16:29:51 UTC |
877190f | Andrey Kurilin | 04 March 2018, 18:48:45 UTC | [openstack] Remove nova hosts specific logic os-hosts CLIs and python API bindings had been deprecated from python-novaclient 9.0.0 and finally became removed in 10.0.0 release. The related scenarios become redundant. We cannot launch then in gates and it is impossible to ensure that they work even with old novaclient release. Since it is not something critical and what is called regulary in old OpenStack environments we should not provide any workaround and can just remove the os-hosts logic from Rally. [*] https://github.com/openstack/python-novaclient/blob/master/releasenotes/notes/remove-hosts-d08855550c40b9c6.yaml Change-Id: I915983dbc634dafcab1cc54dba7bae8d4e368884 | 06 March 2018, 14:30:55 UTC |
40f4f22 | Zuul | 03 March 2018, 00:26:50 UTC | Merge "Fix exporting workload with n/a success_rate to es" | 03 March 2018, 00:26:50 UTC |
848d37e | Andrey Kurilin | 02 March 2018, 15:39:07 UTC | Fix exporting workload with n/a success_rate to es ElasticSearch exporter assumes that success_rate from workload stats is a string with numeric value from 0 to 100 + '%' char in the end. It is not always True. For example in case of failure in contexts, the workload inself will have "n/a" success rate. This patch covers the case Change-Id: If8380febc65f6f92331ef1137aa83301a81200a9 | 02 March 2018, 15:39:07 UTC |
bd2ffbb | Zuul | 01 March 2018, 19:25:42 UTC | Merge "Neutron scenario to delete subnets for the same network concurrently" | 01 March 2018, 19:25:42 UTC |
59c9dbf | chenpengzi | 28 February 2018, 03:10:54 UTC | Fix documents title format error Change-Id: I4c1f6b0017b0082bf4c41611cf9a1f38fae634a8 | 28 February 2018, 03:10:54 UTC |
7d30a6b | Zuul | 27 February 2018, 16:34:46 UTC | Merge "Fix the version of websocket-client" | 27 February 2018, 16:34:46 UTC |
a7fbefd | Andrey Kurilin | 27 February 2018, 14:06:57 UTC | Fix the version of websocket-client k8s client 4.0.0 excepts only <=0.40.0 Change-Id: Ic59053d1036571cee93a3d3b0980c34292a3574f | 27 February 2018, 14:06:57 UTC |
47ed3f7 | Andrey Kurilin | 27 February 2018, 13:29:03 UTC | Fix title for Rally 0.11.1 release notes Change-Id: I09c53675e469ce338ec2f9aeca11128ad02d020a | 27 February 2018, 13:29:03 UTC |
18e0647 | Andrey Kurilin | 27 February 2018, 12:44:16 UTC | Release notes for Rally 0.11.1 Change-Id: I78440781183588dcd86959500a5a13797fa4cd1f | 27 February 2018, 12:44:16 UTC |
11376bd | Zuul | 27 February 2018, 00:12:15 UTC | Merge "[ci] Return 4 as a magic number for coverage job" | 27 February 2018, 00:12:15 UTC |
1562894 | Zuul | 26 February 2018, 20:36:16 UTC | Merge "[db][ci] Add basic job for checking migrations" | 26 February 2018, 20:36:16 UTC |
ee58b49 | Andrey Kurilin | 22 February 2018, 20:00:40 UTC | [ci] Return 4 as a magic number for coverage job Change-Id: I12663cd2cd814fc36c8b6781d111118615f5fc79 | 26 February 2018, 19:01:02 UTC |
a68ed41 | Zuul | 26 February 2018, 14:51:32 UTC | Merge "Add new Gnocchi scenarios" | 26 February 2018, 14:51:32 UTC |
d29b13f | Andrey Kurilin | 23 February 2018, 13:42:48 UTC | [db][ci] Add basic job for checking migrations Change-Id: Ide0d715d53eee4027a132f73c45a114c16e48b8f | 26 February 2018, 13:21:26 UTC |
428af69 | Andrey Kurilin | 26 February 2018, 11:58:42 UTC | Fix cli job Change-Id: I6964139ed3629abf5e5788595b9144c7b42635ce | 26 February 2018, 11:58:42 UTC |
d17af07 | Ihar Hrachyshka | 01 February 2018, 16:06:11 UTC | Neutron scenario to delete subnets for the same network concurrently This scenario, executed concurrently, should be able to trigger any IP allocation race conditions in database layer of Neutron IPAM layer. Change-Id: Icecfcd255fb83250cb77e8505f6b4846e005725c | 25 February 2018, 09:48:00 UTC |
db25afd | Zuul | 25 February 2018, 01:54:43 UTC | Merge "Don't use sitepackages for cli target" | 25 February 2018, 01:54:43 UTC |
eb4c944 | Zuul | 25 February 2018, 01:54:41 UTC | Merge "[db] Rework 7287df262dbc migration" | 25 February 2018, 01:54:41 UTC |
cf07d6b | Ihar Hrachyshka | 23 February 2018, 22:07:34 UTC | Don't use sitepackages for cli target It fails on fedora25 with system gssapi package installed with the following error: AttributeError: 'module' object has no attribute 'GSSException' It happens because of: https://github.com/paramiko/paramiko/issues/584 that will be fixed with https://github.com/paramiko/paramiko/pull/861 that is not released or even merged yet. It's better to isolate the venv from system libraries that may be incompatible with paramiko. Change-Id: I98af75bb01fa42a2902a850de1b974abc982d432 | 23 February 2018, 22:12:26 UTC |
dbf0329 | Andrey Kurilin | 23 February 2018, 10:36:31 UTC | [verify] Add support for sTestr Tempest team switched from `testr` to `stestr` tool. `stestr` is modified version of original `testr` and has the similar interface. The support of a new tool can be easily integrated in the currect TestrRunner Change-Id: Ibcb949ad98323f770bf20f144ad66b4a47c00e22 | 23 February 2018, 16:30:23 UTC |
415ad6a | Andrey Kurilin | 22 February 2018, 18:49:35 UTC | [db] Rework 7287df262dbc migration Rally <0.10.0 was hardcoded to support only OpenStack platform. That is why deployment config had a flat schema (i.e openstack credentials were at the same top-level as other properties). Rally 0.10 includes an attempt to unify deployment component for supporting multiple platforms. The deployment config was extended with a new top level property `creds` which was designed to include credentials for different platforms. Since Task and Verification components used deployment.credentials object from database instead of using deployment config directly, Rally 0.10 did not provide a database migration of deployment config. While developing Rally 0.11.0 with new Environment component, we made a wrong assumption and forgot about an old format. That is why a 7287df262dbc migration relied on "creds" property of deployment.config If the database was created before Rally<0.10, the introduced assumption leds to KeyError failure[0] for old deployment configuration: File ".../7287df262dbc_move_deployment_to_env.py", line 137, in upgrade and (set(spec["creds"]) == {"openstack"} KeyError: 'creds' To fix this issue, we need to disable 7287df262dbc migration, introduce a new migration for an old deployment format, return the code of 7287df262dbc in a new migration. NOTE: This commit introduces several migrations at once. These migrations have downgrade methods which are not tested(we do not support downgrade, but these methods are mandatory). To make CI happy with these uncovered by unit tests lines we need to temporary increase the magic number in coverage job. Change-Id: I475fd1b0f14af923552d92da87df09c26b81bb7a | 23 February 2018, 10:39:16 UTC |
b345294 | Boris Pavlovic | 19 February 2018, 12:00:58 UTC | Refacotr DB layer (part 1) - Remove usless abstraction of db.api - Split API methods to schema management and just record related ops - Remove part of oslo.db and oslo.utils dependency (need one more patch) - Improve performance & refactor mulitple requests Change-Id: I56ca311ea354409e9b19511dca77cda27be5d52b | 20 February 2018, 16:50:42 UTC |
f6b3532 | Zuul | 19 February 2018, 22:14:49 UTC | Merge "Fix support for k8s-client 4.0" | 19 February 2018, 22:14:49 UTC |
fbc648a | Andrey Kurilin | 19 February 2018, 17:14:12 UTC | Fix support for k8s-client 4.0 The new release of kubernetes python client improved the validation, so we need to ediot our test to create the right fake objects. As well, kubernetes.client.ConnectionObject was renamed to just `Connection` and we should handle this. Change-Id: I1a3275a8a5a3d729ce507689ab38e3c3d54d3c77 | 19 February 2018, 17:14:12 UTC |
52c93a9 | Boris Pavlovic | 19 February 2018, 12:23:14 UTC | Remove rally.task.utils.check_service_status method It is dead code that is not used already forever Change-Id: I0038cec97464ced1e3ea8a4f10115880f6a3756b | 19 February 2018, 12:23:14 UTC |
73b84df | Zuul | 18 February 2018, 04:23:04 UTC | Merge "Return stdout data after running the command:" | 18 February 2018, 04:23:04 UTC |
dbfae0a | aginwala | 16 February 2018, 01:59:56 UTC | Return stdout data after running the command: 1. e.g. When doing ovn-scale-test; to list the lswitches on northbound database on the controller, self.run is not returning the data back. Hence this commit fixes it. Change-Id: I6c5e2c935430641586f204142cb3de00925770c1 | 18 February 2018, 01:36:59 UTC |
68e2713 | Juha Kosonen | 16 February 2018, 13:56:27 UTC | Add new Gnocchi scenarios This patch is based on [1] and adds following scenarios: GnocchiArchivePolicyRule.list_archive_policy_rule GnocchiArchivePolicyRule.create_archive_policy_rule GnocchiArchivePolicyRule.create_delete_archive_policy_rule [1] https://review.openstack.org/#/c/453861/ Change-Id: I3d2104fa6f6ba4bd90c4ac1771e48c32a5403832 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> | 16 February 2018, 13:56:27 UTC |
0ba733e | Andrey Kurilin | 16 February 2018, 10:01:34 UTC | [docs] Fix date of Rally 0.11.0 release Change-Id: I51340e3ab892479bf3de5675b49a3cbe0883b7a4 | 16 February 2018, 10:01:34 UTC |
b1427a4 | Andrey Kurilin | 15 February 2018, 16:20:27 UTC | Fix uc for PrettyTable Change-Id: I5e39ea1e0dcba82abce533b5ca9044268df0dbd5 | 15 February 2018, 16:22:49 UTC |
565947d | Andrey Kurilin | 07 February 2018, 13:37:32 UTC | Release notes for 0.11.0 Change-Id: I0d26a082dd50a59dff281ea6cbe42115d75363ad | 15 February 2018, 13:57:58 UTC |
e7d6155 | Boris Pavlovic | 22 January 2018, 08:45:38 UTC | [envs] Implmenet Env CLI commands - Introduce Env CLI commands & bash completition - Use RALLY_ENV variable in both cases for deployments and env - Smooth RALLY_DEPLOYMENT -> RALLY_ENV migration - Implement unit tests - Implement functional tests Change-Id: I56a60bd35bdc5ff833fdcad19f13ecf55496a316 | 15 February 2018, 10:47:21 UTC |
eeb1de6 | Boris Pavlovic | 15 February 2018, 05:17:02 UTC | [testing] Refactor CLI tests and utils * Make hook tests pass on any platform * Fix Task Import tests (not sure why they worked before) * Reduce the time required to run tests * Use getjson where suitable * Use no_logs where logs may cause problems Change-Id: Iae927760152c2e1ca2a4622762b33a57f1070945 | 15 February 2018, 10:29:06 UTC |
aab953d | Andrey Kurilin | 14 February 2018, 17:31:27 UTC | [cfg] Use stderr for logging by default It is quite important for json-like output of results in CLI. Change-Id: I0e2afdc165a7f65763597cb354d9c2acdcebdc07 | 14 February 2018, 17:31:27 UTC |
2102b6e | Zuul | 13 February 2018, 19:00:26 UTC | Merge "[docs] Fix several deployment configs" | 13 February 2018, 19:00:26 UTC |
f9b18fe | Andrey Kurilin | 13 February 2018, 17:19:26 UTC | [docs] Fix several deployment configs Change-Id: I9ff455682270ae4686f901ee703094c484039ffc | 13 February 2018, 17:19:26 UTC |
d3847fc | Andrey Kurilin | 13 February 2018, 10:16:26 UTC | [env] Be more strict for version of format Let's use enum type instead of integer to check that only valid values can be transmitted. Change-Id: I9ad803d0f955f41910e4436b1c8bd9aaea8e21a4 | 13 February 2018, 10:16:26 UTC |
398649a | Zuul | 13 February 2018, 08:19:09 UTC | Merge "Update requirements" | 13 February 2018, 08:19:09 UTC |
f905a2c | Zuul | 12 February 2018, 22:22:07 UTC | Merge "Add timestamp item for Failure tab on html report" | 12 February 2018, 22:22:07 UTC |
1ecab3d | Andrey Kurilin | 12 February 2018, 16:53:09 UTC | Update requirements Sync our requirements with global openstack requirements. Also, include uc for not direct rally dependencies Change-Id: Ia1f0bf2cfbef75214ec66a8551bdfb5e84f90542 | 12 February 2018, 20:53:49 UTC |
9097068 | Zuul | 12 February 2018, 19:27:51 UTC | Merge "[cfg] Introduce rally.common.cfg" | 12 February 2018, 19:27:51 UTC |
6c4f50c | Zuul | 12 February 2018, 14:24:31 UTC | Merge "Fix grammar error" | 12 February 2018, 14:24:31 UTC |
28df786 | Andrey Kurilin | 12 February 2018, 13:41:43 UTC | [cfg] Introduce rally.common.cfg As for config options we are using oslo_config library. It limits us to override config options based on used deployment/env. To get control of all options and how they are obtained, let's restrict usage of oslo_config directly and force everyone to use rally.common.cfg which has the same interface. Change-Id: Ia845958b50b62d971f1343c03da2552049aa4363 | 12 February 2018, 13:49:26 UTC |
a7b8b4d | chenhb | 12 February 2018, 08:57:56 UTC | Add timestamp item for Failure tab on html report Change-Id: I8acf76be07b5a6dfd3fb933a48448f97966e9f5b | 12 February 2018, 11:51:23 UTC |