Clean up usage of legacy block device mapping
As part of the havana blueprint improve-
Some code paths that use it:
* Delete
* Rebuild
* Snapshot
* Rescue
* Shelve
* Volume_
We should make the code use the new data format. This will likely not involve any new functionality - the functionality has been added to boot in the parent blueprint. The only place where we should be using legacy format is in the v2 API if the request format has been used to launch an instance.
Blueprint information
- Status:
- Complete
- Approver:
- Andrew Laski
- Priority:
- Medium
- Drafter:
- Nikola Đipanov
- Direction:
- Approved
- Assignee:
- Nikola Đipanov
- Definition:
- Approved
- Series goal:
- Accepted for icehouse
- Implementation:
- Implemented
- Milestone target:
- 2014.1
- Started by
- Russell Bryant
- Completed by
- John Garbutt
Related branches
Related bugs
Sprints
Whiteboard
Moved to needs code review, patches are up --johnthetubaguy
Sponsor(s): Andrew Laski
Gerrit topic: https:/
Addressed by: https:/
Add a get_root_bdm utility function
Addressed by: https:/
Move is_volume_
Gerrit topic: https:/
Addressed by: https:/
Make rebuild use new-style BDMs
Addressed by: https:/
Make rebuild use new-style BDMs
Gerrit topic: https:/
Addressed by: https:/
Make unshelve use new style BDM
Addressed by: https:/
Make unshelve use new style BDM
Gerrit topic: https:/
Addressed by: https:/
Move compute API is_volume_backed to BDM objects
Addressed by: https:/
Make volume_
Addressed by: https:/
Make snapshot_
Addressed by: https:/
Use objects internally in DriverBlockDevice class
Addressed by: https:/
Make volume attach use objects
Gerrit topic: https:/
Gerrit topic: https:/
Addressed by: https:/
Move some compute methods to BDM objects
Addressed by: https:/
Move rebuild to BDM objects
Gerrit topic: https:/
Addressed by: https:/
Move instance delete to new-world BDM objects
Gerrit topic: https:/
Addressed by: https:/
Move detach_volume and remove_
Addressed by: https:/
Move instance_resize code paths to BDM objects
Gerrit topic: https:/
Addressed by: https:/
Remove compute API get_instance_bdms method
Addressed by: https:/
Make swap_volume code path use BDM objects
Gerrit topic: https:/
This is very tied up with the objects work, hard to split out these patches. --johnthetubaguy
Topics with some patches left:
=======
https:/
https:/
https:/
Late move to medium, due to dependency --johnthetubaguy
Work Items
Dependency tree
* Blueprints in grey have been implemented.