cinder/cinder/tests/unit
Lucian Petrut 63b9f0fb8e RemoteFS: enable image volume cache
At the moment, the RemoteFS based drivers cannot leverage the generic
image volume cache feature.

The reason is that this involves cloning a newly created volume while
still being in 'downloading' state, which is an unacceptable state
from the driver's point of view.

This change adds 'downloading' as an acceptable state for the volume
clone operation as well as for creating/deleting snapshots used
internally by the volume clone operation.

Note that 'regular' volume clones will be rejected before reaching
the driver when having a source volume in 'downloading' state.

Change-Id: I84bb3f062637031f7f46b414d6cbbff0bb0292ea
Closes-Bug: #1685277
2017-06-07 19:07:40 +03:00
..
api API/DB: Fix hash randomization test issues 2017-06-05 11:21:17 -04:00
attachments Merge "Using wrong connector parameter in V3 attach" 2017-06-05 23:41:56 +00:00
backup Merge "NFS Backup: Fix overwritting backups" 2017-05-22 23:54:42 +00:00
brick Add time.sleep mock for test_lv_deactivate_timeout 2017-05-22 18:50:54 +03:00
compute Modernize the nova client in cinder 2017-05-07 19:22:03 +02:00
consistencygroup Remove unused CG code 2017-03-19 00:49:10 -04:00
db Trivial fix PEP 8 coding style violation and typo 2017-05-03 19:47:22 +07:00
glance Files with no code must be left completely empty 2016-09-28 16:29:30 +07:00
group Trivial fix PEP 8 coding style violation and typo 2017-05-03 19:47:22 +07:00
image Fix some format error in docstrings 2017-03-30 10:01:18 +08:00
keymgr Modifies override logic for key_manager 2016-09-21 11:01:59 -04:00
message Add support for generalized filtering on list APIs 2017-05-08 13:04:59 +08:00
monkey_patch_example
objects Add is_replicated() to Volume and VolumeType OVOs 2017-05-30 10:16:05 +02:00
scheduler Merge "Add volume type filter to API Get-Pools" 2017-06-02 00:04:00 +00:00
targets LIO: Fix terminate_connection AttributeError 2017-04-27 09:38:12 -04:00
volume RemoteFS: enable image volume cache 2017-06-07 19:07:40 +03:00
windows SMBFS: remove redundant check 2017-05-25 11:46:18 +03:00
zonemanager Remove BRCD primary_switch_wwn config option 2017-05-22 12:01:32 -05:00
__init__.py Remove nosetests i18n fix 2016-11-29 18:16:59 +02:00
cast_as_call.py
conf_fixture.py Merge two fake drivers into the one FakeLoggingVolumeDriver 2016-09-09 14:37:21 +00:00
fake_cluster.py Update Versioned Objects with Cluster object 2016-07-22 21:00:08 +02:00
fake_constants.py Update db from drivers in default groups methods 2017-03-17 11:08:06 -04:00
fake_group.py Update db from drivers in default groups methods 2017-03-17 11:08:06 -04:00
fake_group_snapshot.py Update db from drivers in default groups methods 2017-03-17 11:08:06 -04:00
fake_notifier.py Short-circuit notifications when not enabled 2017-01-30 12:31:45 +01:00
fake_objects.py
fake_service.py Update is_up from Service OVO class to match ORM 2016-12-21 20:55:37 +01:00
fake_snapshot.py Add volume to fake snapshot object 2017-01-17 16:55:44 +05:30
fake_utils.py Remove unused function from unit/fake_utils.py 2016-08-30 15:09:58 +07:00
fake_volume.py Add get_all capability to volume_attachments 2016-12-16 14:25:21 -07:00
policy.json [BugFix] Add method policy in attachment APIs 2017-04-12 15:57:52 +08:00
test_api.py
test_api_urlmap.py
test_cleanable_manager.py Make c-vol use workers table for cleanup 2016-11-03 10:17:38 +01:00
test_cmd.py Tests: Remove the redundant methods 2017-04-10 15:22:34 +00:00
test_context.py Refactor internal context testcases with ddt 2017-05-12 16:48:59 +08:00
test_coordination.py Fix py27 gate - Remove Tooz usage for tests 2017-05-18 17:20:47 +02:00
test_db_api.py API/DB: Fix hash randomization test issues 2017-06-05 11:21:17 -04:00
test_db_worker_api.py Prevent claiming and updating races on worker 2017-01-19 10:42:24 +01:00
test_evaluator.py
test_exception.py Remove cinder/tests/unit/test_misc.py 2016-08-31 17:00:58 +03:00
test_fixtures.py
test_hacking.py Remove hacking check for log translation 2017-03-18 03:00:12 -05:00
test_image_utils.py Fix support for AMI image conversion 2017-06-02 16:32:23 +02:00
test_manager.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00
test_migrations.py Make failover DB changes consistent 2017-05-30 10:15:22 +02:00
test_paginate_query.py Don't use None value for sql query. 2017-02-04 09:31:27 +08:00
test_qos_specs.py Replace assertDictMatch with assertDictEqual method in tests 2016-12-21 12:06:24 -05:00
test_quota.py Fix backup_api_class doesn't work 2017-05-09 22:32:13 +08:00
test_quota_utils.py Cinder consistency group returning generic error message 2016-12-21 12:52:06 +08:00
test_rpc.py Fix notification short-circuit 2017-02-01 17:11:14 +01:00
test_service.py Make Replication support Active-Active 2017-01-19 10:42:18 +01:00
test_setup_profiler.py Support new osprofiler API 2016-12-15 15:46:56 +07:00
test_ssh_utils.py Merge "Change assertTrue(isinstance()) with optimal assert" 2016-08-30 13:13:54 +00:00
test_test.py
test_test_utils.py
test_utils.py Check the volume metadata value is a string or not 2017-05-22 21:37:16 -04:00
test_volume_cleanup.py Clean up image tmp file if c-vol gets restarted 2017-01-17 17:28:39 +08:00
test_volume_configuration.py
test_volume_glance_metadata.py
test_volume_throttling.py
test_volume_transfer.py Remove race conditions from transfer API 2016-11-09 11:00:42 -06:00
test_volume_types.py Merge "DB: Optimize update methods" 2017-02-14 19:30:40 +00:00
test_volume_types_extra_specs.py
test_volume_utils.py Convert marker format for listing manageable resources 2017-05-22 12:21:03 +00:00
utils.py Return metadata in volume summary 2017-06-02 09:08:22 +08:00