cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10120) Allow migration of VM's from Cloudstack UI between the hosts with different version
Date Fri, 03 Nov 2017 07:38:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237210#comment-16237210
] 

ASF GitHub Bot commented on CLOUDSTACK-10120:
---------------------------------------------

DaanHoogland closed pull request #2300: CLOUDSTACK-10120 : Allow migration of VM's from Cloudstack
UI between the hosts with different version
URL: https://github.com/apache/cloudstack/pull/2300
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/server/src/com/cloud/server/ManagementServerImpl.java b/server/src/com/cloud/server/ManagementServerImpl.java
index b135b4ebd77..da987ca1330 100644
--- a/server/src/com/cloud/server/ManagementServerImpl.java
+++ b/server/src/com/cloud/server/ManagementServerImpl.java
@@ -1432,7 +1432,7 @@ private boolean hasSuitablePoolsForVolume(final VolumeVO volume, final
Host host
         sb.and("clusterId", sb.entity().getClusterId(), SearchCriteria.Op.EQ);
         sb.and("resourceState", sb.entity().getResourceState(), SearchCriteria.Op.EQ);
         sb.and("hypervisorType", sb.entity().getHypervisorType(), SearchCriteria.Op.EQ);
-        sb.and("hypervisorVersion", sb.entity().getHypervisorVersion(), SearchCriteria.Op.EQ);
+        sb.and("hypervisorVersion", sb.entity().getHypervisorVersion(), SearchCriteria.Op.GTEQ);
 
         final String haTag = _haMgr.getHaTag();
         SearchBuilder<HostTagVO> hostTagSearch = null;


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Allow migration of VM's from Cloudstack UI between the hosts with different version
> -----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10120
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10120
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Nitesh Sarda
>            Priority: Major
>
> *ISSUE*
> Currently Cloudstack doesn't allow to migrate the VM's between the hosts with different
versions of Hypervisors from UI, whereas using API it is possible. Hypervisor itself allows
migration of VM's between different versions, like VMware allows migration of VM's from 5.1
ESXi to 5.5 ESXi. Similarly XenServer allows migration from 6.2 to 6.5.
> *STEPS TO REPRODUCE*
> * Create Cloudstack setup with more than one hosts of different version.
> * Try to migrate a VM from lower version host to higher version host.
> * On UI, it will not list the hosts with different version. Whereas using API migrateVirtualMachineWithVolume,
VM from lower version of host can be migrated to higher version host.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message