Storage: Copy-on-write cloning for rbd-backed disks
Currently rbd-backed ephemeral disks are created by downloading an image from glance to a local file, then uploading that file into rbd. Even if the file is cached. uploading may take a long time, since 'rbd import' is synchronous and slow. If the image is stored in rbd already by glance, there's no need for any local copies - it can be cloned to a new image for a new disk without copying the data at all.
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- Medium
- Drafter:
- Josh Durgin
- Direction:
- Approved
- Assignee:
- Josh Durgin
- Definition:
- Approved
- Series goal:
- Accepted for juno
- Implementation:
- Implemented
- Milestone target:
- 2014.2
- Started by
- Josh Durgin
- Completed by
- John Garbutt
Related branches
Related bugs
Sprints
Whiteboard
Addressed by: https:/
Move libvirt RBD utilities to a new file
Addressed by: https:/
enable cloning for rbd-backed ephemeral disks
What will happen if the image being removed from glance (rbd storage backed) by admin/operator which acting a "linked" base image used by some provisioned instances dealed with RBDCloneImageHa
rbd handles that internally with a concept of protected snapshots, which the glance store uses - see http://
-jdurgin 05 Feb
Gerrit topic: https:/
Addressed by: https:/
enable cloning for rbd-backed ephemeral disks
This was merged, then reverted in icehouse. It will be respun for Juno based on the older patch (https:/
-jdurgin 14 Mar 14
Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)
Gerrit topic: https:/
Addressed by: https:/
Storage: Copy-on-write cloning for RBD-backed disks
Addressed by: https:/
Move libvirt RBD utilities to a new file
Addressed by: https:/
Use library instead of CLI to cleanup RBD volumes
Addressed by: https:/
enable cloning for rbd-backed ephemeral disks
Addressed by: https:/
Add include_locations kwarg to nova.image.
The only outstanding patch related to this blueprint is https:/
count image files on NFS as shared block storage
(fixes a regression for NFS backed live migrations introduced in https:/
I think it's time to mark this blueprint as completed.
-angdraug Aug 14