]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
xenapi: implement xenserver image to volume
authorMate Lakat <mate.lakat@citrix.com>
Mon, 24 Jun 2013 13:37:08 +0000 (14:37 +0100)
committerMate Lakat <mate.lakat@citrix.com>
Thu, 27 Jun 2013 14:43:19 +0000 (15:43 +0100)
commit0e5cb31afd4d05e2ab9f63cc27f0389ceafc67ae
tree65dd51b346c58cafe266e15eaff4b9a5132b0f8c
parent35c8643d49d51561387fdd7fb56af03234d61d9b
xenapi: implement xenserver image to volume

Amend image_utils, so that it could handle xenserver type images (vhd
chains inside a tgz archive). This requires the vhd-util binary, if the
image contains a vhd chain (e.g.: snapshot)

DocImpact
- Copy a XenServer type OpenStack image (tgz -ed vhd chain) is now
  supported.
- To use the above functionality, the cinder box must have access to the
  vhd-util binary. In ubuntu, this is done by apt-get installing
  blktap-utils.

Change-Id: I99b58868439c4d5187c2fe3666110bfda0924181
cinder/image/image_utils.py
cinder/tests/test_image_utils.py
cinder/tests/test_xenapi_sm.py
cinder/volume/drivers/xenapi/sm.py