mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3509: Put in missing code to kick off non root volume resize operations in vmware deployments
Description:
Include vmware in list of hypervisors supporting volume resize.
This commit is contained in:
parent
cb96d70967
commit
8439209ba6
|
|
@ -1126,7 +1126,8 @@ public class VolumeManagerImpl extends ManagerBase implements VolumeManager {
|
|||
|
||||
/* Only works for KVM/Xen for now */
|
||||
if (_volsDao.getHypervisorType(volume.getId()) != HypervisorType.KVM
|
||||
&& _volsDao.getHypervisorType(volume.getId()) != HypervisorType.XenServer) {
|
||||
&& _volsDao.getHypervisorType(volume.getId()) != HypervisorType.XenServer
|
||||
&& _volsDao.getHypervisorType(volume.getId()) != HypervisorType.VMware) {
|
||||
throw new InvalidParameterValueException(
|
||||
"Cloudstack currently only supports volumes marked as KVM or XenServer hypervisor for resize");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue