Detach and attach boot volumes

Registered by Paul Murray

At present boot volumes cannot be detached (or attached) after an instance has been created. This blueprint allows boot volumes to be detached or attached when a VM is shutdown. A VM that has had its boot volume detatched will not be bootable.

Blueprint information

Status:
Started
Approver:
Matt Riedemann
Priority:
Low
Drafter:
Paul Murray
Direction:
Approved
Assignee:
Zhenyu Zheng
Definition:
Pending Approval
Series goal:
None
Implementation:
Slow progress
Milestone target:
None
Started by
melanie witt

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/221732 <=== spec MERGED
    Detach and attach boot volumes

Addressed by: https://review.openstack.org/268053
    Adding device_present field to bdm table

Sorry, we have now hit the Non-Priority Feature Freeze for Mitaka. For more details please see: http://docs.openstack.org/releases/schedules/mitaka.html#m-nova-npff and http://docs.openstack.org/developer/nova/process.html#non-priority-feature-freeze
--johnthetubaguy 2016.01.30

Addressed by: https://review.openstack.org/276780 <=== newton spec
    Detach and attach boot volumes

Addressed by: https://review.openstack.org/317446
    WIP: Attach/detach root volume for shelved_offloaded

Addressed by: https://review.openstack.org/326899
    Enabling detach root volume for shelved_offloaded

There are still pending changes for this and we're now past non-priority blueprint feature freeze for Newton. -- mriedem 20160701

Addressed by: https://review.openstack.org/340874
    Detach and attach boot volumes

We're now past the feature freeze for Ocata, so this will have to be re-proposed for Pike. -- mriedem 20170128

Addressed by: https://review.openstack.org/600628
    Detach and attach boot volumes - Stein

This blueprint is approved for Stein. -- mriedem 20181023

Addressed by: https://review.openstack.org/614441
    WIP: Support attach/detach instance root volume

efried 20190407 setting series goal to train.

Addressed by: https://review.openstack.org/614672
    Add method to allow fetch root_volume BDM by instance_uuid

Addressed by: https://review.openstack.org/614750
    Bump compute service to indicate attach/detach root volume is supported

Addressed by: https://review.openstack.org/623981
    Detach/Attach root volume API changes

We are two days away from Stein feature freeze and this still needs work and integration testing so I am going to defer it from Stein. We will likely need to talk about some of the design implications that came up late in Stein for this during the Train PTG for things like resetting image metadata when attaching a new root volume with a new image, and handling tags/multiattach volumes. -- mriedem 20190305

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

Addressed by: https://review.openstack.org/650580
    Re-propose detach root volume spec

efried 20190408 fast approved as reproposal for train

efried 20190408 unapproving blueprint pending further spec discussions and updates

I think we're just waiting on a spec amendment for this based on the agreements at the Train PTG:

http://lists.openstack.org/pipermail/openstack-discuss/2019-May/005804.html

-- mriedem 20190530

Deferring this out of Train since it wasn't approved and we're about 2 weeks from feature freeze. -- mriedem 20190829

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.