JoaoJandre commented on PR #8909: URL: https://github.com/apache/cloudstack/pull/8909#issuecomment-2160728792
> @JoaoJandre thanks for this fix, I'm trying to reproduce the issue and bug fix, what APIs are you using the replicate this situation. I'm questioning how do you migrate a volume with shared storage offering to local storage? I did all tests using live VM + volume migration on the UI. I was able to migrate volumes from NFS to local and from local to NFS this way. Looking at the API call that the UI made, it was using `migrateVirtualMachineWithVolume`. Something like: ``` http://<mgmtserver>/client/api/?hostid=e8050fa0-c834-47c5-9a1e-089595aa2edc&virtualmachineid=27640463-d916-4e9b-b223-4f3c84fc828a&migrateto[0].volume=31df1fe1-53f2-4ff5-9b86-d75f6f2afe85&migrateto[0].pool=49a3f50d-e70c-4963-8e6a-f70e3a9d295d&command=migrateVirtualMachineWithVolume&response=json ``` -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org