Track Task status and allocated resources in DB

Registered by Boris Pavlovic

We should track all allocated resources (VMs) and all information about task (config + status) in DB.

This is very important, because if something went wrong during task execution we will be not able to free allocated resources, or at least get information about step where task failed.

Blueprint information

Status:
Complete
Approver:
Boris Pavlovic
Priority:
High
Drafter:
Boris Pavlovic
Direction:
Needs approval
Assignee:
Sergey Skripnick
Definition:
Approved
Series goal:
Accepted for 0.0
Implementation:
Implemented
Milestone target:
None
Started by
Boris Pavlovic
Completed by
Boris Pavlovic

Related branches

Sprints

Whiteboard

Support tracking of status and allocated resources

Gerrit topic: https://review.openstack.org/#q,topic:bp/db-task-track,n,z

Addressed by: https://review.openstack.org/45958
    Add CLI utils for DB recreate

Addressed by: https://review.openstack.org/45957
    db.db_create() shouldn't call hiddenly db.db_drop()

Addressed by: https://review.openstack.org/46014
    Fix VM provider get_available_providers() test

Addressed by: https://review.openstack.org/46965
    Add task status tracking

Addressed by: https://review.openstack.org/50611
    Store test scenario results in DB

Addressed by: https://review.openstack.org/60168
    Resource model with DB API

(?)

Work Items

Work items:
Add to Rally DB support: DONE
Add Task Model and API: DONE
Add Resource Model and API: TODO
Add Task status tracking: TODO
Add Resource tracking: TODO

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.