gantt/nova/tests
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
..
baremetal refactor baremetal/proxy => baremetal/driver 2012-07-10 11:43:18 -04:00
hyperv Adds get_available_resource to hyperv driver 2012-09-09 18:01:18 +03:00
scheduler Adds new volume API extensions 2012-09-18 08:54:25 -07:00
vmwareapi refactor vmwareapi_conn => vmwareapi/driver 2012-07-10 11:42:05 -04:00
xenapi xapi: Fix live block migration 2012-09-10 16:04:10 +01:00
__init__.py Update reset_db to call setup if _DB is None. 2012-08-03 13:09:52 -04:00
declare_flags.py Remove the last of the gflags shim layer 2012-02-10 06:31:56 +00:00
fake_flags.py Implement network creation in compute API 2012-08-21 16:10:24 +03:00
fake_imagebackend.py Rename imagebackend arguments. 2012-09-03 20:50:55 +10:00
fake_libvirt_utils.py Move ensure_tree to utils 2012-08-26 21:31:57 +10:00
fakelibvirt.py Fix auth parameter passed to libvirt openAuth() method 2012-09-10 16:15:30 +01:00
policy.json Adds new volume API extensions 2012-09-18 08:54:25 -07:00
runtime_flags.py Remove the last of the gflags shim layer 2012-02-10 06:31:56 +00:00
test_api.py use boto's HTTPResponse class for versions of boto >=2.5.2 2012-07-23 17:30:31 +02:00
test_compat_flagfile.py Alphabetize imports in nova/tests/ 2012-05-18 12:39:52 -07:00
test_db_api.py Implement paginate query use marker in nova-api 2012-09-07 19:20:51 +08:00
test_deprecated.py Only log deprecated config warnings once. 2012-08-05 08:41:22 -04:00
test_fakelibvirt.py Fix auth parameter passed to libvirt openAuth() method 2012-09-10 16:15:30 +01:00
test_flags.py Unused imports cleanup (folsom-2) 2012-06-03 13:26:35 +08:00
test_hypervapi.py Adds get_available_resource to hyperv driver 2012-09-09 18:01:18 +03:00
test_imagebackend.py External locking for image caching. 2012-08-29 21:48:26 +10:00
test_imagecache.py maint: libvirt imagecache: remove redundant interpreter spec 2012-07-29 01:36:31 +01:00
test_instance_types.py Generate a flavorid if needed at flavor creation 2012-09-07 00:39:44 +02:00
test_iscsi.py Use tmpdir and avoid leaving test files behind 2012-09-13 08:43:50 -06:00
test_libvirt_config.py More specific lxml versions in tools/pip-requires 2012-09-10 18:58:26 -04:00
test_libvirt_vif.py fix issues with Nova security groups and Quantum 2012-08-30 22:21:51 -07:00
test_libvirt.py Allows waiting timers in libvirt to raise NotFound 2012-09-17 13:48:47 -07:00
test_migrations.conf Make database downgrade works 2012-02-17 18:30:09 +08:00
test_migrations.py Refer to correct column names in migration 98 2012-09-07 13:59:29 -07:00
test_misc.py Makes sure tests don't leave lockfiles around 2012-08-17 17:26:42 +00:00
test_netapp_nfs.py Backport changes from Cinder to Nova-Volume 2012-09-12 12:43:44 -04:00
test_netapp.py Backport changes from Cinder to Nova-Volume 2012-09-12 12:43:44 -04:00
test_nexenta.py Alphabetize imports in nova/tests/ 2012-05-18 12:39:52 -07:00
test_nfs.py Backport changes from Cinder to Nova-Volume 2012-09-12 12:43:44 -04:00
test_nova_rootwrap.py Typo fix: existant => existent 2012-08-22 11:26:13 -07:00
test_plugin_api_extensions.py Remove unused imports 2012-08-17 13:35:05 +08:00
test_powervm.py Fixes spawn method signature for PowerVM driver. 2012-08-29 22:25:46 -04:00
test_rbd.py add ability to clone images 2012-09-18 08:54:25 -07:00
test_skip_examples.py fixed pep8 issue 2011-08-04 23:01:22 -05:00
test_solidfire.py Update SolidFire volume driver 2012-09-09 09:56:25 -06:00
test_storwize_svc.py Use volume driver specific exceptions 2012-09-07 14:07:01 +01:00
test_virt_drivers.py Add full python path to test stubbing modules for libvirt 2012-09-03 04:49:36 -07:00
test_virt.py Skip tests in OSX due to readlink compat 2012-09-04 13:33:47 -04:00
test_vmmode.py Compute: VM-Mode should use instance dict. 2012-07-30 21:25:01 +00:00
test_vmwareapi.py Fix vmwareapi driver spawn() signature 2012-09-03 16:49:20 +01:00
test_volume_types_extra_specs.py Removes constraints from instance and volume types 2012-02-08 11:27:39 -08:00
test_volume_types.py Typo fix: existant => existent 2012-08-22 11:26:13 -07:00
test_volume_utils.py Simplify setting up test notifier 2012-09-07 09:23:58 +01:00
test_volume.py Adds new volume API extensions 2012-09-18 08:54:25 -07:00
test_xenapi.py xapi: Fix live block migration 2012-09-10 16:04:10 +01:00
test_xensm.py Remove unused imports 2012-08-17 13:35:05 +08:00