Supports volume attach/detach in nova api

Registered by Yong Huang

This bp is used to describe volume attach, detach support in nova api by adding create_server_volume and delete_server_volume methods.
Drivers may need to invoke them to attach or detach volumes from nova instances.

In the implementation of Dell EMC Unity cross arrays volume migration, Unity driver will move lun from source Unity to target Unity.
In this scenario, volume is keep using, no new volume will be created. Driver will update provider_id, provider_location and host info once migration completed.
The in-use volume need to re-attach to nova instances to update connection info. Driver will call nova api to update or re-attach the volume.
Currently, cinder.compute.nova.API only provide update_server_volume method for connection info update, update_server_volume accept old and new volumes as parameter to swap connection from old volume to new volume for nova instances, and not support updating for one volume which connection info changed.
So create_server_volume and delete_server_volume methods need to be added to implement volume re-attach operation.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Yong Huang
Direction:
Needs approval
Assignee:
None
Definition:
Review
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/649515
    Supports volume attach, detach in nova api

[SM] Volumes can't be removed and readded to running instances. This is not valid.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.