mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Bug 8019: send snapshot commands to host that owns the VM
This commit is contained in:
parent
d45f5cd5bf
commit
cfb51ece25
@ -2198,7 +2198,7 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
||||
|
||||
private boolean sendToVmResidesOn(StoragePoolVO storagePool, Command cmd) {
|
||||
ClusterVO cluster = _clusterDao.findById(storagePool.getClusterId());
|
||||
if ((cluster.getHypervisorType() == HypervisorType.KVM) &&
|
||||
if ((cluster.getHypervisorType() == HypervisorType.KVM || cluster.getHypervisorType() == HypervisorType.VmWare) &&
|
||||
((cmd instanceof ManageSnapshotCommand) ||
|
||||
(cmd instanceof BackupSnapshotCommand))) {
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user