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
If `kvm.snapshot.enabled` is set to false then we cant create snapshot from
VM snapshot. With this change, its possible to create snapshot from VM
snapshot even when the global setting is set to false.
Note that you still cant directly create a snapshot from volume though
if (!hostSupportSnapsthotForVolume(host, volume)) {
1186
+
if (!hostSupportsSnapsthotForVolume(host, volume, isFromVmSnapshot)) {
1187
1187
thrownewCloudRuntimeException(
1188
1188
"KVM Snapshot is not supported for Running VMs. It is disabled by default due to a possible volume corruption in certain cases. To enable it set global settings kvm.snapshot.enabled to True. See the documentation for more details.");
1189
1189
}
@@ -1460,9 +1460,14 @@ public void cleanupSnapshotsByVolume(Long volumeId) {
0 commit comments