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: server/src/main/java/com/cloud/storage/snapshot/SnapshotManager.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ public interface SnapshotManager extends Configurable {
56
56
publicstaticfinalConfigKey<Boolean> VmStorageSnapshotKvm = newConfigKey<>(Boolean.class, "kvm.vmstoragesnapshot.enabled", "Snapshots", "true", "For live snapshot of virtual machine instance on KVM hypervisor without memory. Requires qemu version 1.6+ (on NFS or Local file system) and qemu-guest-agent installed on guest VM", true, ConfigKey.Scope.Global, null);
57
57
58
58
ConfigKey<Boolean> KVMSnapshotEnabled = newConfigKey<>(Boolean.class, "kvm.snapshot.enabled", "Snapshots", "true", "Whether volume snapshot is enabled on running instances " +
59
-
"on a KVM hosts", false, ConfigKey.Scope.Global, null);
" KVM or not. When this is enabled, all KVM snapshots will be incremental. Bear in mind that it will generate a new full snapshot when the snapshot chain reaches the limit defined in snapshot.delta.max.", true, ConfigKey.Scope.Cluster, null);
if (!hostSupportsSnapsthotForVolume(host, volume, isFromVmSnapshot)) {
1588
+
if (!hostSupportsSnapshotForVolume(host, volume, isFromVmSnapshot)) {
1589
1589
thrownewCloudRuntimeException(
1590
-
"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.");
1590
+
"KVM Snapshot is not supported for Running VMs because the global setting " +
1591
+
"kvm.snapshot.enabled is set to false for this deployment. It can be disabled to " +
1592
+
"avoid a possible volume corruption in certain cases. To allow snapshots of running " +
1593
+
"VMs, set kvm.snapshot.enabled to true. See the documentation for more details.");
0 commit comments