Fast image cloning support for Xenserver

Registered by Devdeep Singh

On a Xenserver host, Openstack gets the image from glance for instance creation. There will be local copies of an image on a given Xenserver if multiple instance (of one image) are created on it.

We can avoid streaming the image and creating local copies by re-using the images that have already been streamed to a given Xenserver host. This can be achieved by using the copy on write feature provided by Xenserver. Copy on write allows an image to be cloned and re-used. Cloning of a disk is almost instantaneous and avoids the overhead of the time spend re-streaming the image.

Blueprint information

Status:
Complete
Approver:
Vish Ishaya
Priority:
Low
Drafter:
Nova Feature Parity Team
Direction:
Approved
Assignee:
Devdeep Singh
Definition:
Approved
Series goal:
Accepted for essex
Implementation:
Implemented
Milestone target:
milestone icon 2012.1
Started by
Vish Ishaya
Completed by
Vish Ishaya

Related branches

Sprints

Whiteboard

https://review.openstack.org/#change,3343

Gerrit topic: https://review.openstack.org/#q,topic:bp/fast-cloning-for-xenserver,n,z

Addressed by: https://review.openstack.org/3343
    Changes for supporting fast cloning on Xenserver. Implements blueprint fast-cloning-for-xenserver 1. use_cow_images flag is reused for xenserver to check if copy on write images should be used. 2. image-id is used to tag an image which has already been

(?)

Work Items