cinder/cinder/tests
Rajat Dhasmana 175eb62813 RBD: Cleanup temporary file during exception
During copy image to encrypted volume operation, we create a
temporary image file to convert source image into an encrypted
image and rename it to source image name.
If any error occurs during this process, there is no code to
cleanup the temporary '.luks' file.
This patch adds the following cleanup.

Conflicts:
    cinder/image/image_utils.py
    cinder/tests/unit/volume/drivers/test_rbd.py

Change-Id: I05dfc996a635299990fdafba841ab6c4fd7d32c7
Closes-Bug: 1873738
(cherry picked from commit 7c95f3969f)
(cherry picked from commit 02de7897d4)
(cherry picked from commit 48774c89ab)
2020-08-13 15:41:42 +00:00
..
compliance Use assertEqual/Less/Greater/In/IsNone 2016-07-04 17:58:16 +02:00
functional Add OS-SCH-HNT in extensions list 2019-06-08 13:30:09 +00:00
unit RBD: Cleanup temporary file during exception 2020-08-13 15:41:42 +00:00
README.rst Update the documentation link 2017-08-26 06:52:48 -07:00
__init__.py
fake_driver.py Add empty check before using zone driver 2019-02-14 09:47:08 +08:00
fixtures.py Implement privsep boilerplate in cinder. 2018-06-06 09:42:54 +08:00

README.rst

IMPORTANT DEFINITION OF TESTS IN CINDER

Cinder has a number of different test types, PLEASE be sure to refer to the Cinder Testing Docs to familiarize yourself with the various options before creating any new tests.

Please check Cinder-Testing.