Switch LxcProvider from sshutils

blueprint serverdto-ssh

Change-Id: I4cc4dada8744175545742fcf0571269ff96e3905
LxcProvider refactoring

Move prepare_host method from LxcProvider to LxcContainer.
Also make code some more clean.

Added configure_container.sh script which make initial
configuration within container.

Removed LxcProviderStaticIpTestCase. Now all provider's code
is covered in LxcProviderTestCase.

blueprint multihost-deploy

Change-Id: Icfe483d61deeadf3afae2eef2b74cdb1770c2a70
Add btrfs support to LxcContainer

Btrfs snapshots will provide fast cloning with very small
initial disk usage.

blueprint lxc-engine

Change-Id: I9d7524c67e5f16be6419fca6c968f50f53c900f6
Fix incorrect TaskCommandsTestCase.test_start test

This patch fixes the broken "test_start" test that not cleans a monkey
patched of rally.orchestartor.api.start_task method.

Change-Id: Ic38f98c2b651b19a7ddf10cec98a86ec700b089a
Closes-Bug: #1250981
Canonical form of the test_db_api.py filename

Change-Id: I03dd9ebb3c27899ef4ba5cdd9f4e5d3a250dd931
Added Deployment model

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
Abstract out DB operations on deploys in db.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
Merge "Add btrfs support to LxcContainer"
Fix typo in name of the orchestration test file

The file with tests also moved in new location.

Change-Id: I470c664ac7e2d95f02092ad8ba592b1fd78b4369
Cover rally.orchestrator.api by unit tests

Change-Id: Ia2e06cc3c2d1e27a5a1116da3274d0ed3496dd67
Implements: blueprint independent-deploy
Fix debian/ubuntu related issues

In course of time, apt database goes outdated, and 404 errors occured
when attempting to apt-get install. So, before doing apt-get install,
apt-get update is needed.

Change-Id: Ibe79b692d33e641d8c521c4ef58c5db7e991536a
Remove old sshutils functions

These functions aren't used anymore

blueprint serverdto-ssh

Change-Id: Ie16ce79c07f4029bdb27cf060e2044662a7e845c
Merge "Cover rally.orchestrator.api by unit tests"
Merge "Remove old sshutils functions"
Fail task when engine not found

The task failed when engine not found at EngineFactory.get_engine.

Change-Id: Ic0837977573b23d47bec44d2c40839c9a5d2b8c2
Implements: blueprint independent-deploy
Move task and deploy modules in rally.objects

Change-Id: I144d02333b6f8cb42a6a13e38de5d58b755bc890
Implements: blueprint independent-deploy
Add tests for rally.objects.task.Task

Change-Id: I706a50b52d27a118dd6b7c98e2430a44a4c7dd6b
Implements: blueprint independent-deploy
Make Deploy and Task objects similar

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
Proper update of objects

This patch fixes of updating rally.objects.{Task|Deployment} objects.
Now, objects have got a correct update of an encapsulated value of
internal representation of objects.

Change-Id: Iad775974c75bf28a83631753894eceafef06f6ab
Implements: blueprint independent-deploy
Refactor nova scenarios benchmark tests

Use @mock.patch instanead of with mock.patch() statement
to avoid horrible nasting

Change-Id: I0140bf0565cc6a9f17a60ed10b7dbe39a2085946