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:
Vijayendra Bhamidipati 2013-07-12 07:32:21 -07:00 committed by Edison Su
parent cb96d70967
commit 8439209ba6
1 changed files with 2 additions and 1 deletions

View File

@ -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");
}