Make use of Cinder's attach volume API
We make use of cinders new attach API they added here:
http://
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- High
- Drafter:
- John Garbutt
- Direction:
- Approved
- Assignee:
- Ildiko Vancsa
- Definition:
- Approved
- Series goal:
- Accepted for queens
- Implementation:
-
Implemented
- Milestone target:
-
queens-3
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add spec to use Cinder's new attachment APIs
Addressed by: https:/
objects: Add attachment_id to BlockDeviceMapping
Addressed by: https:/
db: Add attachment_id to block_device_
Gerrit topic: https:/
Addressed by: https:/
Add attachment_uuid to BDM table
Gerrit topic: https:/
Addressed by: https:/
Add Cinder V3 Detach calls
Addressed by: https:/
Make BlockDeviceMapping object support uuid
Addressed by: https:/
Add uuid column to BlockDeviceMapping
Addressed by: https:/
WIP compute: Move detach logic into driver BDM
Addressed by: https:/
compute: Only destroy BDMs after successful detach call
Addressed by: https:/
compute: Use detach_volume during default rebuild
Approved for Pike. I've left the assignee blank since there are multiple people working on different parts of this large change. -- mriedem 20170328
Addressed by: https:/
WIP compute: Centralise terminate and detach volume api calls in bdm
Addressed by: https:/
Address comments when moving volume detach to block_device.py
Addressed by: https:/
Add Cinder v3 detach to local_cleanup
Addressed by: https:/
Add Cinder v3 detach to shutdown_instance
Addressed by: https:/
Add Cinder v3 detach call to _terminate_
Addressed by: https:/
Add Cinder v3 detach to swap_volume
Addressed by: https:/
Add Cinder v3 detach call to post_live_migration
Addressed by: https:/
cinder: add attachment_create method
Addressed by: https:/
cinder: add attachment_update method
Addressed by: https:/
Update cinder-
Addressed by: https:/
WIP/POC Implement new attach Cinder flow
Addressed by: https:/
WIP: update live migration to use v3 cinder api
Addressed by: https:/
WIP: Use microversions for new style volume attachments
Addressed by: https:/
Use 3.27 microversion when creating new style volume attachments
Addressed by: https:/
DNM: Test requesting microversion for attachment_create and falling back
Addressed by: https:/
Skip micorversion discovery check for update/delete volume attachments
Addressed by: https:/
objects: Add old_attachment_id to BlockDeviceMapping
Addressed by: https:/
Remove check_detach
Addressed by: https:/
DNM: test new style volume attach with live migration
Addressed by: https:/
DNM: test new style cinder attach with upgrades
Addressed by: https:/
Translate the return value of attachment_create and _update
We got a lot of work done in Pike but the API exposure for the Cinder 3.27 attachments API isn't yet integrated for Nova in Pike, so I'm deferring this to Queens. -- mriedem 20170803
Addressed by: https:/
WIP - Add attachment_complete call to volume/cinder.py
Addressed by: https:/
WIP - Tweak connection_info translation for the new Cinder attach/detach API
Addressed by: https:/
Add spec to use cinder's new attachment API
Addressed by: https:/
DNM: Run test_iscsi_volume with new style volume attachments
Addressed by: https:/
DNM: Fail if we try to update volume connections during reboot
Addressed by: https:/
Add attachment_get to refresh_
Gerrit topic: https:/
Addressed by: https:/
libvirt: Allow multiple volume attachments
Addressed by: https:/
Add a new check to volume attach
Addressed by: https:/
WIP: Allow multi-attach in compute api
Addressed by: https:/
WIP: Add new style volume attachment support to block_device.py
Gerrit topic: https:/
Addressed by: https:/
Avoid stashed connector lookup for new style detach
Work Items
Dependency tree

* Blueprints in grey have been implemented.