The db model is called 'Worker', it's used to store the rally worker
service status. And the following db apis are added:
* register_worker
* get_worker
* unregister_worker
* update_worker
Change-Id: I38c792cc133dbace10eb7f2d4d202ca05ec7f9cc
This directoy contains scenarios to be run by jenkins.
Add script which runs specified scenario and plot graph.
Add abbility to specify cloud by --name in "rally use deployment"
Removed rally/exercises
Change-Id: I7803a6950ec5fce3be11277ae0e4d830f0cf6bad
Related: blueprint rally-gate-jobs
Better integration with tempest can be achieved by analyzing output
of testr. This patch provides parsing testr output and saves results
into database.
Blueprint tempest-verification
Closes-Bug: #1302475
Change-Id: I110bc115bd597df54499ac295d836a87411c4c80
Currently to view the results of the last task/benchmark a user must
list tasks, copy a UUID, then query for that UUID. This commit alows the
user to specify 'last' instead of a UUID to retrieve the results of the
last task.
Change-Id: I8ffe1bb8d925a6a114e4dd12be2f1af13e1bfced
The patch introduce deployments as independent operations. The command
line interface supports of creation, deletion and recreation of
deployments. The creation of the task requires the id of a deployment.
The patch also separate samples of configuration to two types: a
deployment and a task.
Change-Id: I5121532057909040e6ab6d6b2cbd6d06812975cb
Implements: blueprint independent-deploy
This patch involve necessary stuff for resource tracking in server
providers. There are Resource model and object with corresponding DB
API.
blueprint db-resource-track
Change-Id: I349bd8dba8f930edfed299a928e6bfc62f21dd17
The objects have got a similar interface methods: __init__, get, delete,
delete_by_uuid. The API of DB was also changed.
Change-Id: I7c5962c14b2dd701b9c474d8c5cd8b5198621dd5
Implements: blueprint independent-deploy
The db.deploy module contains the Deployment class with an abstract
methods. Those methods provides high levels operations on the
deployments.
Change-Id: Ibca797832ebbc96247703cdfc8b0958d10a71ddd
Implements: blueprint independent-deploy
This patch is the first step of the separation of deployments from
tasks. The Deployment model represents an installation of OpenStack.
This model is related with the Task model through a many-to-one
relation. Now the relattion is optional because Task.deployment_uuid can
be nullable. It will be fixed in next patches.
The db.api was extended by a deployment function. The functions provide
operations to create, get, update and delete deployments.
This patch also adds index for the field uuid of the Task model.
Change-Id: I41bef0ccebdc27cd97b1db663ff3d8a9f0a5509d
Implements: blueprint independent-deploy
The task is removed together with related results. In addition to the
removal operation the change contains atomistic DB API method to
retrieve results of a task.
bp cli-task-improve
Change-Id: I58f10e28a8d12a63f903bb26b2ef464719ad8f0b
The soft deletion of objects in data store is not suitable for the
benchmark. The testing results became irrelevant after removal.
The rally.db.api.task_list ceases to support the active parameter.
Implements: blueprint rally-hard-delete
Change-Id: Ia9477423cebd26499e968f923961ee0f29685d8a
It is more clear to use TestCase for all tests, and DBTestCase for DB tests.
Also removed some strange code from rally/tests.py
Change-Id: Ib0ea34850c4dd5d6671b00114d570650190d09a4
*) rename column `name` to `key`
*) change type of `key` column from plain text to json
*) remove convertion string to json and back from other parts
Change-Id: I960a5e06b031d024709906133b4bdb7387e07644
*) Add new table TaskResult to store results of each test scenario
*) Add 2 new methods to DB:
task_get_detailed - returns task with results
task_result_create - create result record for task
*) Add to CLI new method that shows detailed infromation about task.
*) Add new method to Task class to append results
*) Store results into DB
implement bp db-task-track
Change-Id: I52dc6c76d44230b0685773a77601700e3d0b4f91