cinder/cinder/tests/unit/db
Gorka Eguileor cdf5e92f10 Make migration's volume source deletion async
Currently source volume deletion on a volume migration (and therefore on
retype with migration as well) is synchronous and that has 2 problems:

1. If the deletion takes more than rpc_response_timeout then when
performed on in-use volumes it will fail.

2. If the deletion fails then the volume will be left in the back-end
and Cinder will no longer have a reference of that volume in the DB.

This patch makes source volume deletion asynchronous resolving both
issues.

Closes-Bug: #1483155
Closes-Bug: #1483157
Change-Id: I55c3d86660f90044a56b8609bb5774d4f5481227
2015-08-18 12:00:13 +02:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fakes.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_finish_migration.py Make migration's volume source deletion async 2015-08-18 12:00:13 +02:00
test_name_id.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_purge.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_qos_specs.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_transfers.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00