Separation of deployments from tasks

Registered by Ilya Kharin

Provide ability to deploy an installation independently from running tasks. To achieve this it's necessary to separate deployment operations from tasks on several levels:

- start_deploy/abort_deploy functions in the orchestrator
- Task and Deployment models are connected by a foreign key, the Deployment model represents configuration of single installation with ability to deploy it and reuse in future
- several commands to manage deployments in CLI

Blueprint information

Status:
Complete
Approver:
Boris Pavlovic
Priority:
High
Drafter:
Ilya Kharin
Direction:
Approved
Assignee:
Ilya Kharin
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Boris Pavlovic
Completed by
Ilya Kharin

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/independent-deploy,n,z

Addressed by: https://review.openstack.org/56185
    Add Deployment model with DB API method

Addressed by: https://review.openstack.org/56225
    Fix typo in name of the orchestration test file

Addressed by: https://review.openstack.org/56226
    Add CLI command for deployments

Addressed by: https://review.openstack.org/56267
    Abstract out DB operations on deploys in db.deploy

Addressed by: https://review.openstack.org/56268
    Skip incorrect tests

Addressed by: https://review.openstack.org/56269
    Prepare to separate benchmarks and deployments

Addressed by: https://review.openstack.org/56398
    Canonical form of the test_db_api.py filename

Addressed by: https://review.openstack.org/56480
    Move task and deploy modules in rally.objects

Addressed by: https://review.openstack.org/56481
    Introduce the deployment

Addressed by: https://review.openstack.org/56727
    Make Deploy and Task objects similar

Addressed by: https://review.openstack.org/57054
    Cover rally.orchestrator.api by unit tests

Addressed by: https://review.openstack.org/57055
    Add tests for rally.objects.task.Task

Addressed by: https://review.openstack.org/57056
    Proper update of objects

Addressed by: https://review.openstack.org/57057
    Separate command to perform deploy and clean up

Addressed by: https://review.openstack.org/57058
    Abstract out a supervision of the deployment

Addressed by: https://review.openstack.org/57422
    Fail task when engine not found

Addressed by: https://review.openstack.org/57454
    Move samples in samples/tasks

Addressed by: https://review.openstack.org/57455
    Separate deployments from tasks

Addressed by: https://review.openstack.org/58849
    Tracking deployment status into context on error

Addressed by: https://review.openstack.org/59015
    Update completed tasks status to "finished"

Gerrit topic: https://review.openstack.org/#q,topic:virsh,n,z

Addressed by: https://review.openstack.org/60682
    Remove a task from providers

(?)

Work Items

Work items:
model of deployment: DONE
deployment orchestrations API methods: DONE
CLI: DONE
samples: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.