nvazquez commented on issue #5924:
URL: https://github.com/apache/cloudstack/issues/5924#issuecomment-1041533789


   Thanks @tsinik-dw, I've been investigating and it seems like the 
`migrateVirtualMachine` API does not support this type of migration and indeed 
the `migrateVirtualMachineWithVolume` API should be used.
   
   Can you please try passing the `migrateto` parameter to the 
`migrateVirtualMachineWithVolume` API and send the management server logs?
   
   ````
   migrate virtualmachinewithvolume virtualmachineid=<VM_UUID> 
hostid=<HOST_UUID> migrateto[0].volume=<VOLUME_UUID> 
migrateto[0].pool=<ZONEWIDE_POOL_UUID>
   ````
   Reference: 
https://cloudstack.apache.org/api/apidocs-4.16/apis/migrateVirtualMachineWithVolume.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to