Cinder's new attachment api and multiattach support

Registered by Rajat Dhasmana

Currently while creating multiple instance/volume from an image in glance cinder configuration, a volume is attached to glance host to copy image from and after the copy finishes it is detached. The subsequent request to create instance from same image attaches the volume again to copy the data and can't attach the volume until the first request completes/detaches it.
This sometimes also causes failures when concurrent request arrives and the volume attachment fails.

Glance cinder store has issues when concurrent requests are received for creating image and the current solution proposed is to use multiattach volumes to handle it.
Cinder introduced the new attachment API in microversion 3.27 which is essential to be used to use multiattach volumes.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Rajat Dhasmana
Direction:
Needs approval
Assignee:
Rajat Dhasmana
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Spec:
Addressed by: https://review.opendev.org/c/openstack/glance-specs/+/794354

Cinder's new Attachment API support:
Addressed by: https://review.opendev.org/c/openstack/glance_store/+/782200

Multiattach volume handling support:
Addressed by: https://review.opendev.org/c/openstack/glance_store/+/786410

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.