You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ed...@apache.org on 2013/07/13 00:20:39 UTC
[2/2] git commit: updated refs/heads/master to b366077
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/b3660774
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b3660774
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b3660774
Branch: refs/heads/master
Commit: b36607742eb7fc57164c0904a8ca58acc9d465dc
Parents: d9ce49b
Author: Vijayendra Bhamidipati <vi...@citrix.com>
Authored: Fri Jul 12 07:32:21 2013 -0700
Committer: Edison Su <su...@gmail.com>
Committed: Fri Jul 12 15:20:21 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/b3660774/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 65838ed..c935703 100644
--- a/server/src/com/cloud/storage/VolumeManagerImpl.java
+++ b/server/src/com/cloud/storage/VolumeManagerImpl.java
@@ -1123,7 +1123,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");
}