cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sateesh Chodapuneedi (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-9849) Cannot migrate VMware VM to host in different cluster
Date Tue, 18 Apr 2017 08:43:41 GMT


Sateesh Chodapuneedi commented on CLOUDSTACK-9849:

[~rajanik] Could not reproduce this issue with vSphere 5.1, vSphere 5.5, and vSphere 6.0.
Live VM migration along with volumes is working fine where both source and destination hosts
are having ESXi versions 5.1 or 5.5 or 6.0. We may need to check more details from the setup
where failure was reported from.
There are no code changes done between 4.9 and 4.10/master in case of storage migration of
VM along with volumes for VMware. So this one could probably be a case we did not observe
before, or environment issue. Need to confirm the issue though.
Also, I see there exists integration tests for storage migration in test/integration/component/maint/
which seems to be covering this scenario as well. Probably we can trigger these tests and
see results to confirm any failures.

> Cannot migrate VMware VM to host in different cluster
> -----------------------------------------------------
>                 Key: CLOUDSTACK-9849
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions:
>         Environment: VMware 5.5
>            Reporter: Mike Tutkowski
>            Assignee: Sateesh Chodapuneedi
>            Priority: Blocker
>             Fix For:
> I have two VMware clusters in the same VMware datacenter. Each cluster has a single ESXi
5.5 host in it.
> I have a shared primary storage in each cluster (I have tried this scenario with both
NFS and iSCSI shared primary storage and the results are the same).
> I have a VM with its root disk running on primary storage from a host in the one cluster
and I cannot migrate this VM and its root disk to the host in the other cluster (both primary
storages even make use of the same storage tag).
> The source host has access to the source datastore, but it does not have access to the
target datastore.
> The target host has access to the target datastore, but it does not have access to the
source datastore.
> When I try to perform the migration, it fails with the following error message:
> Required property datastore is missing from data object of type VirtualMachineRelocateSpecDiskLocator
> while parsing serialized DataObject of type vim.vm.RelocateSpec.DiskLocator
> at line 1, column 327
> while parsing property "disk" of static type ArrayOfVirtualMachineRelocateSpecDiskLocator
> while parsing serialized DataObject of type vim.vm.RelocateSpec
> at line 1, column 187
> while parsing call information for method RelocateVM_Task
> at line 1, column 110
> while parsing SOAP body
> at line 1, column 102
> while parsing SOAP envelope
> at line 1, column 38
> while parsing HTTP request for method relocate
> on object of type vim.VirtualMachine
> at line 1, column 0
> When I run the test in the debugger and look at the VirtualMachineRelocateSpec instance
passed to VirtualMachineMO.changeDatastore, I see the target datastore is populated, but not
the source datastore:
> datastore-66 is the target datastore
> Based on an e-mail chain on dev@, it sounds like my scenario should work.
> Thanks!

This message was sent by Atlassian JIRA

View raw message