Madhu Rajanna 42bed5a346 rbd: delete volume if setallmetadata fails
If any operations fails after the volume creation
we will cleanup the omap objects, but it is missing
if setAllMetadata fails. This commits adds the code
to cleanup the rbd image if metadata operation fails.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 01d4a614c307188677a3fcec93fd303bbc7cc298)
2022-10-18 10:21:06 +00:00
..
2022-08-09 13:36:03 +00:00