cinder/cinder/tests
Vipin Balachandran b85cc49588 VMDK:Using host mount info for datastore selection
Currently the VMDK driver picks a datastore for volume creation based
on space utilization. The shadow VM corresponding to the volume is
migrated to a different host and datastore if the volume is attached
to an instance created in a host which cannot access the volume's
current datastore. To reduce these migrations, this fix selects a
datastore which is connected to maximum number of hosts, provided
there is enough space to accommodate the volume. Ties are broken
based on space utilization; datastore with low space utilization
is preferred.

Closes-Bug: #1250816
Change-Id: I5ecf22d782857fca0889799229465c49afe188a0
2013-12-05 12:20:48 +05:30
..
api Fixes case insensitive for resp body 2013-12-04 15:24:39 +08:00
backup Fixes ceph volume restore to larger image than source 2013-09-16 12:05:54 +01:00
brick Remove suffixes from LVM brick test vgs output 2013-11-21 18:03:16 -05:00
compute QEMU-assisted-snapshots for GlusterFS volumes 2013-09-03 23:49:50 -04:00
db Utilizes assertIsNone and assertIsNotNone 2013-10-09 09:58:12 +08:00
glance Make glance image service check base exception classes 2012-08-22 16:27:56 -06:00
image Utilizes assertIsNone and assertIsNotNone 2013-10-09 09:58:12 +08:00
integrated Replace assertEquals with assertEqual - 1/2 2013-09-08 21:42:26 +08:00
keymgr Remove the use of common.uuidutils.gen_uuid 2013-11-13 15:30:28 -07:00
monkey_patch_example Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
scheduler Add chance weigher to scheduler 2013-11-27 14:20:13 +00:00
var Support for SSL in wsgi.Server 2013-01-14 15:55:16 -05:00
windows Add support for Havana missing features in Windows driver 2013-09-01 08:20:24 +02:00
xenapi Add XenAPINFSDriver 2012-11-21 15:03:35 +00:00
__init__.py Fix up the test framework 2013-06-14 14:02:17 +00:00
conf_fixture.py Fix tests to work in debug mode 2013-10-11 10:34:48 +00:00
declare_conf.py Rename cinder.flags to cinder.common.config 2013-07-03 11:28:57 +04:00
fake_driver.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
fake_flags.py Merge "Adding support for iSER transport protocol" 2013-08-05 21:40:53 +00:00
fake_utils.py Removes exception instance creation on execute() 2013-08-27 09:37:46 +08:00
policy.json Add valid check and unit tests on quota class 2013-11-15 21:39:00 +08:00
runtime_conf.py Rename cinder.flags to cinder.common.config 2013-07-03 11:28:57 +04:00
test_HpSanISCSIDriver.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_api.py Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
test_api_urlmap.py Add tests for cinder/api/urlmap.py 2013-07-11 11:30:00 +04:00
test_backup.py Fix all occurences of H404 Hacking warning 2013-10-13 10:36:27 +03:00
test_backup_ceph.py Use pipe between ceph backup diff export/import 2013-10-29 19:14:32 +00:00
test_backup_swift.py Utilizes assertIsNone and assertIsNotNone 2013-10-09 09:58:12 +08:00
test_backup_tsm.py Removes exception instance creation on execute() 2013-08-27 09:37:46 +08:00
test_block_device.py Fail when image is bigger than the volume 2013-11-12 13:00:15 +01:00
test_conf.py Utilizes assertIn and assertNotIn 2013-08-30 22:52:31 +08:00
test_context.py RequestContext initialization failed in cinder. 2013-11-07 10:33:09 +08:00
test_coraid.py Merge "Brick connector revised fix for NFS drivers" 2013-11-26 20:41:32 +00:00
test_create_volume_flow.py Merge "Fixing UnicodeEncodeError against volume creating function" 2013-09-13 06:14:49 +00:00
test_db_api.py Fixes case insensitive for resp body 2013-12-04 15:24:39 +08:00
test_drivers_compatibility.py Refactor Nexenta iSCSI driver 2013-10-12 01:53:20 +04:00
test_emc.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_eqlx.py Change method name to test_get_volume_stats 2013-12-03 10:33:57 +09:00
test_exception.py Replace assertEquals with assertEqual - 2/2 2013-09-09 15:50:56 +08:00
test_glusterfs.py Merge "GlusterFS: Ensure Cinder can write to shares" 2013-11-30 05:22:56 +00:00
test_gpfs.py Add support for extend volume in GPFS vol driver 2013-11-21 18:02:02 -07:00
test_hds.py Merge "Clean up comparison assertions" 2013-10-10 16:57:25 +00:00
test_hp3par.py Clean up comparison assertions 2013-10-09 02:30:10 +00:00
test_huawei_hvs.py Fix typo/misspelled words 2013-12-03 22:49:12 +08:00
test_huawei_t_dorado.py Add extend_volume for Huawei drivers 2013-10-18 16:34:34 +08:00
test_image_utils.py Fail when image is bigger than the volume 2013-11-12 13:00:15 +01:00
test_iscsi.py Rename "rtstool" to "cinder-rtstool", add dep 2013-10-23 18:04:33 -04:00
test_migrations.conf Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
test_migrations.py Removes dublicated assert from test_migrations.py 2013-11-30 15:51:21 +02:00
test_misc.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_netapp.py NetApp fix free space as zero during 1st vol stats update 2013-11-18 04:48:39 +05:30
test_netapp_nfs.py Fix typo/misspelled words 2013-12-03 22:49:12 +08:00
test_netapp_ssc.py NetApp unit test fail fix for http_proxy 2013-10-22 02:21:19 +05:30
test_nexenta.py Add volume migration code to Nexenta iSCSI volume driver 2013-11-27 15:22:12 -06:00
test_nfs.py Subclass vendor specific exceptions. 2013-11-21 18:39:04 +00:00
test_policy.py Utilizes assertIsNone and assertIsNotNone 2013-10-09 09:58:12 +08:00
test_qos_specs.py Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
test_quota.py Add default quota class into DB during migration 2013-11-20 12:47:55 -06:00
test_rbd.py Fail when image is bigger than the volume 2013-11-12 13:00:15 +01:00
test_scality.py Fail when image is bigger than the volume 2013-11-12 13:00:15 +01:00
test_service.py Replace assertEquals with assertEqual - 1/2 2013-09-08 21:42:26 +08:00
test_sheepdog.py clean up numeric expressions in test 2013-10-30 04:40:08 -07:00
test_solidfire.py Subclass vendor specific exceptions. 2013-11-21 18:39:04 +00:00
test_storwize_svc.py Fix Storwize terminate_connection with no host 2013-11-26 20:56:39 -06:00
test_test.py Fix python 3 pep8 errors for print 2013-08-21 16:59:22 -06:00
test_test_utils.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_utils.py GlusterFS: Ensure Cinder can write to shares 2013-11-25 17:39:23 -05:00
test_vmware_vmdk.py VMDK:Using host mount info for datastore selection 2013-12-05 12:20:48 +05:30
test_volume.py Merge "Add unit tests for volume reserve and unreserve" 2013-12-04 00:42:41 +00:00
test_volume_configuration.py Utilizes assertIsNone and assertIsNotNone 2013-10-09 09:58:12 +08:00
test_volume_glance_metadata.py Make volume_glance_metadata_create compat with DB2 2013-11-25 18:18:11 -06:00
test_volume_rpcapi.py Call to_primitive on volumes.rpcapi.create_volume 2013-09-10 11:29:16 +02:00
test_volume_transfer.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_volume_types.py Fix typo/misspelled words 2013-12-03 22:49:12 +08:00
test_volume_types_extra_specs.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_volume_utils.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
test_windows.py Replace assertEquals with assertEqual - 1/2 2013-09-08 21:42:26 +08:00
test_wsgi.py Fix translation of CinderExceptions in REST API 2013-09-25 20:07:38 +00:00
test_xenapi_sm.py Pass the size when fetching image in xenapi driver 2013-11-22 10:39:37 +01:00
test_xiv_ds8k.py Fix all occurences of H404 Hacking warning 2013-10-13 10:36:27 +03:00
test_zadara.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
utils.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00