cinder/cinder/image
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
..
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
cache.py Fix image volume cache max size and max count limits 2018-09-17 10:14:11 -04:00
glance.py Use config-table for dynamic config documentation 2019-02-26 16:50:39 -06:00
image_utils.py RBD: Cleanup temporary file during exception 2020-08-13 15:41:42 +00:00