mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8841: Storage XenMotion from XS 6.2 to XS 6.5 fails.
(cherry picked from commit 69647b38ce)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
73c30f1baa
commit
cdc9947d48
|
|
@ -4960,8 +4960,8 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
|
|||
}
|
||||
|
||||
// Check if the source and destination hosts are of the same type and support storage motion.
|
||||
if (!(srcHost.getHypervisorType().equals(destinationHost.getHypervisorType()) && srcHost.getHypervisorVersion().equals(destinationHost.getHypervisorVersion()))) {
|
||||
throw new CloudRuntimeException("The source and destination hosts are not of the same type and version. " + "Source hypervisor type and version: "
|
||||
if (!(srcHost.getHypervisorType().equals(destinationHost.getHypervisorType()))) {
|
||||
throw new CloudRuntimeException("The source and destination hosts are not of the same type. " + "Source hypervisor type and version: "
|
||||
+ srcHost.getHypervisorType().toString() + " " + srcHost.getHypervisorVersion() + ", Destination hypervisor type and version: "
|
||||
+ destinationHost.getHypervisorType().toString() + " " + destinationHost.getHypervisorVersion());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue