48774c89ab
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. Change-Id: I05dfc996a635299990fdafba841ab6c4fd7d32c7 Closes-Bug: 1873738 (cherry picked from commit7c95f3969f
) (cherry picked from commit02de7897d4
)
6 lines
204 B
YAML
6 lines
204 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`Bug #1873738 <https://bugs.launchpad.net/cinder/+bug/1873738>`_: RBD Driver:
|
|
Added cleanup for residue destination file if the copy image to encrypted volume
|
|
operation fails. |