cinder: Attach a single volume to multiple instances

Registered by Walt Boring on 2014-04-07

This is a blueprint place holder for Nova's work to support Cinder's multi-attach capability.
https://blueprints.launchpad.net/cinder/+spec/multi-attach-volume

More details:
https://wiki.openstack.org/wiki/Cinder/blueprints/multi-attach-volume

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Medium
Drafter:
Walt Boring
Direction:
Approved
Assignee:
Ildiko Vancsa
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-3
Started by
John Garbutt on 2014-12-17
Completed by
Matt Riedemann on 2018-01-23

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/multi-attach-volume,n,z

Addressed by: https://review.openstack.org/85852
    WIP Add volume multi attach support

Gerrit topic: https://review.openstack.org/#q,topic:bp/for,n,z

Addressed by: https://review.openstack.org/90239
    Blueprint for Cinder Multi attach volumes

Old patches
=========

Addressed by: https://review.openstack.org/143114
    Add volume multi-attach support

Addressed by: https://review.openstack.org/152992
    First commit of the splitted work in Multi Attach

Remaining patch appear to be this:
==========================

Addressed by: https://review.openstack.org/153033
    Allow multiple volume attachments

Addressed by: https://review.openstack.org/153038
    REST API changes to support multiple volume attach

Sorry, we have now hit the non-priority feature freeze for kilo. Please resubmit your spec for the L release. --johnthetubaguy 5th Feb 2015

Reapprove for liberty --johnthetubaguy 5th June 2015

Addressed by: https://review.openstack.org/192755
    Add REST API impact to the multi-attach spec

Addressed by: https://review.openstack.org/193133
    obj: Allow multiple volume attachments

Addressed by: https://review.openstack.org/193134
    comp: Allow multiple volume attachments

Addressed by: https://review.openstack.org/193135
    virt: Allow multiple volume attachments

Gerrit topic: https://review.openstack.org/#q,topic:bp/volume-multi-attach,n,z

Please note this blueprint will delayed until the M release if it is not in the NeedsCodeReview state (i.e. all the code up for review) before July 16th, and merged by July 30th. We expect to re-open master for the M release in September. For more information, please see: https://wiki.openstack.org/wiki/Nova/Liberty_Release_Schedule#Non-priority_Blueprint_Feature_Freeze and http://lists.openstack.org/pipermail/openstack-dev/2015-June/065819.html
--johnthetubaguy 15th July 2015

While the API changes are still marked as WIP, it does look close-ish. So moving this to NeedsCodeReview, so it can continue to get reviewed. --johnthetubaguy 16th July 2015

Sorry, we have now hit the non-priority feature freeze for Liberty. You will need to resubmit this blueprint for Mitaka or apply for an exception. For more details on why this is happening, and the rest of the process details, please see: https://wiki.openstack.org/wiki/Nova/Liberty_Release_Schedule
--johnthetubaugy 3rd July 2015

Addressed by: https://review.openstack.org/267587
    comp: Allow volume multiattach

Addressed by: https://review.openstack.org/271047
    WIP: Modify API response to reflect on multiattach changes

At the midcycle we agreed to defer the bulk of this work to Newton. --johnthetubaguy 2016.02.08

Addressed by: https://review.openstack.org/304681
    Add multiattach support to Nova

This still has outstanding changes and we're now at non-priority blueprint
feature freeze for Newton. -- mriedem 20160630

Addressed by: https://review.openstack.org/499777
    Add multiattach support to Nova

Approved for Queens. -- mriedem 20171019

Gerrit topic: https://review.openstack.org/#q,topic:bp/cinder-new-attach-apis,n,z

Addressed by: https://review.openstack.org/525787
    Add new style volume attachment support to block_device.py

Addressed by: https://review.openstack.org/330285
    Implement new attach Cinder flow

Addressed by: https://review.openstack.org/526182
    Avoid stashed connector lookup for new style detach

Addressed by: https://review.openstack.org/529656
    Add support for getting volume details with a specified microversion

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-shared-targets-flag-to-volume,n,z

Addressed by: https://review.openstack.org/529695
    Use volume shared_targets to lock during attach/detach

Addressed by: https://review.openstack.org/531244
    WIP: Pass multiattach flag to reserve_block_device_name

Addressed by: https://review.openstack.org/532689
    Add the nova-multiattach experimental queue job

Addressed by: https://review.openstack.org/532928
    Handle swapping to a multiattach volume

Now that the novaclient patch to support microversion 2.60 for multiattach https://review.openstack.org/#/c/536621/ is merged I'm going to consider this complete for Queens. We still have some tempest/devstack QA patches up for review for a new nova-multiattach CI job but we can get those in after feature freeze for Queens. -- mriedem 20180123

Addressed by: https://review.openstack.org/544066
    Cleanup the manage-volumes admin doc

Addressed by: https://review.openstack.org/544090
    Add admin guide doc on volume multiattach support

Addressed by: https://review.openstack.org/544152
    Amend volume multi-attach spec

Addressed by: https://review.openstack.org/545141
    Cleanup the manage-volumes admin doc

Addressed by: https://review.openstack.org/545142
    Add admin guide doc on volume multiattach support

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.