cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [2/2] git commit: updated refs/heads/4.2 to 8439209
Date Fri, 12 Jul 2013 22:22:10 GMT
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.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8439209b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8439209b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8439209b

Branch: refs/heads/4.2
Commit: 8439209ba6c2dbb8b830dace2043243ead8d53d4
Parents: cb96d70
Author: Vijayendra Bhamidipati <vijayendra.bhamidipati@citrix.com>
Authored: Fri Jul 12 07:32:21 2013 -0700
Committer: Edison Su <sudison@gmail.com>
Committed: Fri Jul 12 15:21:52 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/storage/VolumeManagerImpl.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8439209b/server/src/com/cloud/storage/VolumeManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/VolumeManagerImpl.java b/server/src/com/cloud/storage/VolumeManagerImpl.java
index 5bf2872..3e29248 100644
--- a/server/src/com/cloud/storage/VolumeManagerImpl.java
+++ b/server/src/com/cloud/storage/VolumeManagerImpl.java
@@ -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");
         }


Mime
View raw message