Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Sateesh Chodapuneedi
e Sent: Thursday, March 23, 2017 3:09 PM To: dev@cloudstack.apache.org Subject: Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10) This is interesting: If I shut the VM down and then migrate its root

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Sateesh Chodapuneedi
4944.html > > >- Si >________________ > From: Tutkowski, Mike > Sent: Thursday, March 23, 2017 3:09 PM >To: dev@cloudstack.apache.org >Su

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
>> https://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.vsphere.vcenterhost.doc/GUID-A16BA123-403C-4D13-A581-DC4062E11165.html >> >> >> https://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.vsphere.vcenterhost.doc/GUID-561681D9-6511-44DF-B169-F20E6CA94944

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
4.html > > >- Si > >From: Tutkowski, Mike > Sent: Thursday, March 23, 2017 3:09 PM >To: dev@cloudstack.apache.o

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Sergey Levitskiy
Si > >From: Tutkowski, Mike > Sent: Thursday, March 23, 2017 3:09 PM >To: dev@cloudstack.apache.org >Subject: Re: Cannot migrate VMware VM with root d

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
- Si > >From: Tutkowski, Mike > Sent: Thursday, March 23, 2017 3:09 PM >To: dev@cloudstack.apache.org >Subject: Re: Cannot migrate VMware VM with

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
gt; >- Si >________________ > From: Tutkowski, Mike > Sent: Thursday, March 23, 2017 3:09 PM >To: dev@cloudstack.apache.org >Subject: Re: Cannot migrate VMware VM with root dis

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Sergey Levitskiy
UID-561681D9-6511-44DF-B169-F20E6CA94944.html - Si From: Tutkowski, Mike Sent: Thursday, March 23, 2017 3:09 PM To: dev@cloudstack.apache.org Subject: Re: Cannot migrate VMware VM

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Sergey Levitskiy
- Si From: Tutkowski, Mike Sent: Thursday, March 23, 2017 3:09 PM To: dev@cloudstack.apache.org Subject: Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10) This is interes

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10) This is interesting: If I shut the VM down and then migrate its root disk to storage in the other cluster, then start up the VM, the VM gets started up correctly

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
__ From: Tutkowski, Mike Sent: Thursday, March 23, 2017 3:09 PM To: dev@cloudstack.apache.org Subject: Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10) This is interesting: If I shut the VM down and then migrate its root disk to

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Simon Weller
x.jsp#com.vmware.vsphere.vcenterhost.doc/GUID-561681D9-6511-44DF-B169-F20E6CA94944.html - Si From: Tutkowski, Mike Sent: Thursday, March 23, 2017 3:09 PM To: dev@cloudstack.apache.org Subject: Re: Cannot migrate VMware VM with root disk to host in different cl

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
This is interesting: If I shut the VM down and then migrate its root disk to storage in the other cluster, then start up the VM, the VM gets started up correctly (running on the new host using the other datastore). Perhaps you simply cannot live migrate a VM and its storage from one cluster to

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
Another piece of info: I tried this same VM + storage migration using NFS for both datastores instead of iSCSI for both datastores and it failed with the same error message: Required property datastore is missing from data object of type VirtualMachineRelocateSpecDiskLocator while parsing seri

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
Slight typo: Both ESXi hosts are version 5.5 and both clusters are within the same VMware datastore. Should be (datastore changed to datacenter): Both ESXi hosts are version 5.5 and both clusters are within the same VMware datacenter. On 3/23/17, 12:31 PM, "Tutkowski, Mike" wrote: A lit

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
A little update here: In the debugger, I made sure we asked for the correct source datastore (I edited the UUID we were using for the source datastore). When VirtualMachineMO.changeDatastore is later invoked having the proper source and target datastores, I now see this error message: Virtual

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
Also, in case it matters, both datastores are iSCSI based. > On Mar 23, 2017, at 11:52 AM, Tutkowski, Mike > wrote: > > My version is 5.5 in both clusters. > >> On Mar 23, 2017, at 9:48 AM, Sateesh Chodapuneedi >> wrote: >> >> On 23/03/17, 7:21 PM, "Tutkowski, Mike" wrote: >> H

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
My version is 5.5 in both clusters. > On Mar 23, 2017, at 9:48 AM, Sateesh Chodapuneedi > wrote: > > >>> On 23/03/17, 7:21 PM, "Tutkowski, Mike" wrote: > >>> However, perhaps someone can clear this up for me: >>> With XenServer, we are able to migrate a VM and its volumes from a host >>>

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Sateesh Chodapuneedi
>> On 23/03/17, 7:21 PM, "Tutkowski, Mike" wrote: >>However, perhaps someone can clear this up for me: >>With XenServer, we are able to migrate a VM and its volumes from a host using >>a shared SR in one cluster to a host using a shared SR in another cluster >>even though the source host ca

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
This looks a little suspicious to me (in VmwareResource before we call VirtualMachineMO.changeDatastore): morDsAtTarget = HypervisorHostHelper.findDatastoreWithBackwardsCompatibility(tgtHyperHost, filerTo.getUuid()); morDsAtSource = HypervisorHostHelper.findData

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
However, perhaps someone can clear this up for me: With XenServer, we are able to migrate a VM and its volumes from a host using a shared SR in one cluster to a host using a shared SR in another cluster even though the source host can’t see the target SR. Is the same thing possible with VMware

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-23 Thread Tutkowski, Mike
Hi, The CloudStack API that the GUI is invoking is migrateVirtualMachineWithVolume (which is expected since I’m asking to migrate a VM from a host in one cluster to a host in another cluster). A MigrateWithStorageCommand is sent to VmwareResource, which eventually calls VirtualMachineMO.change

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-22 Thread Sergey Levitskiy
Can you trace which API call being used and what parameters were specified? migrateVirtualMachineWithVolumeAttempts vs migrateVirtualMachine

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-22 Thread Tutkowski, Mike
e.org" Subject: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10) Hi, Within CloudStack 4.10, I have two VMware 5.5 clusters (both in the same VMware datacenter). Each cluster has a shared iSCSI-based datastore. I can initiate the process of migrati

Re: Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-22 Thread Tutkowski, Mike
Also, by the way, datastore-66 (referenced in the image) is the target datastore. From: "Tutkowski, Mike" Date: Wednesday, March 22, 2017 at 11:13 PM To: "dev@cloudstack.apache.org" Subject: Re: Cannot migrate VMware VM with root disk to host in different cluster (Clou

Cannot migrate VMware VM with root disk to host in different cluster (CloudStack 4.10)

2017-03-22 Thread Tutkowski, Mike
Hi, Within CloudStack 4.10, I have two VMware 5.5 clusters (both in the same VMware datacenter). Each cluster has a shared iSCSI-based datastore. I can initiate the process of migrating a VM and its root disk from a host in one cluster to a host in another cluster. However, it fails with the f