gantt/nova
Josh Durgin 4f6f1888db add ability to clone images
Given the backend location from Glance, drivers can determine
whether they can clone or otherwise efficiently create a volume
from the image without downloading all the data from Glance.

For now implement cloning for the RBD driver. There's already a
Glance backend that stores images as RBD snapshots, so they're
ready to be cloned into volumes. Fall back to copying all the
data if cloning is not possible.

Implements: blueprint efficient-volumes-from-images
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>

Conflicts:

	nova/volume/api.py
	nova/volume/driver.py

This is based on a cherry-pick of cinder commit
edc11101cbc06bdce95b10cfd00a4849f6c01b33

Change-Id: I71a8172bd22a5bbf64d4c68631630125fcc7fd34
2012-09-18 08:54:25 -07:00
..
auth Remove deprecated auth code 2012-07-09 23:30:21 -07:00
common Implement paginate query use marker in nova-api 2012-09-07 19:20:51 +08:00
compat Merge "fix restructuredtext formatting in docstrings that show up in the developer guide" 2012-03-07 01:34:42 +00:00
openstack Sync a change to rpc from openstack-common. 2012-09-14 13:59:25 -04:00
rootwrap Move rootwrap filters definition to config files 2012-06-22 15:35:23 +02:00
scheduler Adds new volume API extensions 2012-09-18 08:54:25 -07:00
testing Remove unused testing.fake 2012-07-18 14:04:37 -07:00
tests add ability to clone images 2012-09-18 08:54:25 -07:00
__init__.py Allow file logging config 2012-02-17 11:24:32 -06:00
block_device.py Automatically convert device names 2012-09-04 17:30:26 -07:00
exception.py Merge "Backport changes from Cinder to Nova-Volume" 2012-09-13 10:19:31 +00:00
flags.py FLAG rename: bandwith_poll_*=>bandwidth_poll_* 2012-08-30 21:23:38 +00:00
manager.py Yield to another greenthread when some time-consuming task finished. 2012-09-05 13:00:58 +08:00
notifications.py Implements sending notification on metadata change 2012-08-21 15:03:36 +00:00
policy.py Fix is_admin check via policy 2012-08-20 10:32:06 -07:00
quota.py Revert per-user-quotas 2012-08-16 22:51:02 -07:00
service.py Improve external lock implementation 2012-08-04 12:52:50 +01:00
test.py Fix spelling typos 2012-08-16 18:50:04 -05:00
utils.py Adds new volume API extensions 2012-09-18 08:54:25 -07:00
wsgi.py Switch to common logging. 2012-07-02 15:57:09 -05:00