You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/vmsnapshot/OntapVMSnapshotStrategy.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -113,8 +113,9 @@ public StrategyPriority canHandle(VMSnapshot vmSnapshot) {
113
113
114
114
// For new snapshots, check if Disk-only and all volumes on ONTAP
115
115
if (vmSnapshotVO.getType() != VMSnapshot.Type.Disk) {
116
-
logger.debug("ONTAP VM snapshot strategy cannot handle memory snapshots for VM [{}]", vmSnapshot.getVmId());
117
-
returnStrategyPriority.CANT_HANDLE;
116
+
logger.error("ONTAP VM snapshot strategy cannot handle memory snapshots for VM [{}]", vmSnapshot.getVmId());
117
+
//return StrategyPriority.CANT_HANDLE;
118
+
thrownewCloudRuntimeException("ONTAP VM snapshot strategy cannot handle memory snapshots for VM [" + vmSnapshot.getVmId() + "]");
118
119
}
119
120
120
121
if (allVolumesOnOntapManagedStorage(vmSnapshot.getVmId())) {
0 commit comments