nova/releasenotes/notes/bp-destroy-instance-with-datavolume-4c71b12e005832b0.yaml
zhangbailin 733d4133df Allow PUT volume attachments API to modify delete_on_termination
Allow PUT /servers/{server_id}/os-volume_attachments/{volume_id}``
to support specifying ``delete_on_termination`` field in the request
body. This allows updating the attached volume's flag that controls
whether or not it is automatically deleted when the instance is deleted.

When we request 'volumeId' and 'delete_on_termination' in the requst
body to swap volume, since the new microversion it will be support
updating the swapping volume's delete flag.

Co-Authored-By: Dan Smith <dansmith@redhat.com>

Blueprint: destroy-instance-with-datavolume
Change-Id: I6ccac4e17f56b40e67c79d40f32558ef414685ea
2020-04-02 09:26:55 -07:00

9 lines
300 B
YAML

---
features:
- |
With microversion 2.85 add new API
``PUT /servers/{server_id}/os-volume_attachments/{volume_id}`` which
support for specifying ``delete_on_termination`` field in the request
body to re-config the attached volume whether to delete when the instance
is deleted.