Offload rbd's copy_volume_to_image function from host to ceph cluster
Suppose the volume's capacity and data size are 1G.
Currently if using ceph rbd as ceph volume backend and glance storage backend and these two storage backend are in the same ceph storage clouster, upload-to-image routine works as follows:
1. cinder use command "rbd export" to export the rbd image as a local file in cinder-volume host. Read 1G, and Write 1G.
2. cinder call glance upload/update api to upload the exported local file to glance storage backend. Read 1G, and write 1G.
Ceph rbd lib support volume copy function, that is rbd.Image.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- ling-yun
- Direction:
- Needs approval
- Assignee:
- wanghao
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Sean McGinnis
Related branches
Related bugs
Sprints
Whiteboard
(smcginnis): Marking obsolete as this has been sitting out there for a long time. If this is still needed, please submit a new bp.
Gerrit topic: https:/
Addressed by: https:/
Offload copy_volume_