Make evacuate more robust (partial)

Registered by Dan Smith

Right now, evacuate makes decisions based on circumstantial data, which is very dangerous. We should make it explicit so that it doesn't make bad decisions and delete data, just because it thinks an evacuate may have happened.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Medium
Drafter:
Dan Smith
Direction:
Approved
Assignee:
Dan Smith
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 12.0.0
Started by
John Garbutt
Completed by
John Garbutt

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:robustify-evacuate,n,z

Addressed by: https://review.openstack.org/161444
    Add robustify-evacuate spec

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

Addressed by: https://review.openstack.org/181109
    Add migration_type to Migration database model

Addressed by: https://review.openstack.org/181110
    Add migration_type to Migration object

Addressed by: https://review.openstack.org/183199
    Set migration_type for existing cold migrations and resizes

Addressed by: https://review.openstack.org/183200
    WIP: API support for migration_type

Addressed by: https://review.openstack.org/183331
    Make live migration create a migration object record

Addressed by: https://review.openstack.org/183353
    Allow querying for migrations by source_compute only

Addressed by: https://review.openstack.org/183354
    Make evacuate leave a record for the source compute host to process

Addressed by: https://review.openstack.org/194372
    Add some notifications to the evacuate path

Addressed by: https://review.openstack.org/194373
    Make evacuate update the migration object along the way

Addressed by: https://review.openstack.org/198907
    Fix incorrect enum in Migration object

Gerrit topic: https://review.openstack.org/#q,topic:bp/migration-fix-resource-tracking,n,z

Addressed by: https://review.openstack.org/197669
    Define migration states and transitions and use when changing status

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.