Delete the data volume while destroying the instance

Registered by Brin Zhang

When your instance has multiple data volumes, you can configure whether to delete the data volume attached to the current instance when the instance is destroyed.
With this optimization, the user can set the processing status of the data volume in a controlled manner, and avoid the tedious operation of deleting the data volume after destroying the instance.

Blueprint information

Status:
Complete
Approver:
Alex Xu
Priority:
Undefined
Drafter:
Brin Zhang
Direction:
Approved
Assignee:
Brin Zhang
Definition:
Approved
Series goal:
Accepted for ussuri
Implementation:
Implemented
Milestone target:
milestone icon ussuri-3
Started by
Balazs Gibizer
Completed by
Balazs Gibizer

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/destroy-instance-with-datavolume,n,z

Addressed by: https://review.openstack.org/580336
    Support deleting data volume when destroy instance

Gerrit topic: https://review.opendev.org/#/q/topic:bp/destroy-instance-with-datavolume

Addressed by: https://review.opendev.org/580336
    Support for changing deleted_on_termination after boot

Addressed by: https://review.opendev.org/693828
    WIP: Support re-configure the delete_on_termination in server

Gerrit topic: https://review.opendev.org/#/q/topic:693828

[efried 20200220] Agreed in the nova meeting to approve the freeze exception if the spec has two +2s by EOB Friday 20200221. Alex and gibi are on the hook for those approvals, assuming the spec can be brought to an approvable state. If that happens, I'll remove CR-2 and add +W during my daytime. Otherwise we'll defer this to Victoria. http://eavesdrop.openstack.org/meetings/nova/2020/nova.2020-02-20-14.00.log.html#l-62

[efried 20200221] Spec approved. Granting freeze exception as agreed.

Addressed by: https://review.opendev.org/710965
    WIP Add functional tests for PATCH volume attachments API

Gerrit topic: https://review.opendev.org/#/q/topic:bp/policy-defaults-refresh

Addressed by: https://review.opendev.org/711194
    Add new policy to PATCH update volume API

Addressed by: https://review.opendev.org/710190
    Add new default roles in os-volumes-attachments policies

Addressed by: https://review.opendev.org/715356
    Change policy name of swap volume API

Addressed by: https://review.opendev.org/718589
    FUP: add missing test for PUT volume attachments API

[gibi 20200414] completed in Ussuri

Addressed by: https://review.opendev.org/722194
    Update bp/destroy-instance-with-datavolume SPEC

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.