mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Enhance KVM running VM snapshot exception log (#4126)
This commit is contained in:
parent
4e80930254
commit
597f3cf1de
@ -1106,7 +1106,8 @@ public class SnapshotManagerImpl extends MutualExclusiveIdsManagerBase implement
|
|||||||
if (hosts != null && !hosts.isEmpty()) {
|
if (hosts != null && !hosts.isEmpty()) {
|
||||||
HostVO host = hosts.get(0);
|
HostVO host = hosts.get(0);
|
||||||
if (!hostSupportSnapsthotForVolume(host, volume)) {
|
if (!hostSupportSnapsthotForVolume(host, volume)) {
|
||||||
throw new CloudRuntimeException("KVM Snapshot is not supported: " + host.getId());
|
throw new CloudRuntimeException(
|
||||||
|
"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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user