JoaoJandre commented on code in PR #12666:
URL: https://github.com/apache/cloudstack/pull/12666#discussion_r2828828818


##########
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java:
##########
@@ -2093,8 +2093,25 @@ protected void rebaseSnapshot(SnapshotObjectTO 
snapshotObjectTO, KVMStoragePool
             QemuImg qemuImg = new QemuImg(wait);
             qemuImg.rebase(snapshotFile, parentSnapshotFile, 
PhysicalDiskFormat.QCOW2.toString(), false);
         } catch (LibvirtException | QemuImgException e) {
-            logger.error("Exception while rebasing incremental snapshot [{}] 
due to: [{}].", snapshotName, e.getMessage(), e);
-            throw new CloudRuntimeException(e);
+            if (!StringUtils.contains(e.getMessage(), "Is another process 
using the image")) {

Review Comment:
   @sureshanaparti :
   
   ```
   qemu-img: Could not open '<path>': Failed to get "write" lockIs another 
process using the image [<path>]?].
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to