sureshanaparti commented on pull request #5410:
URL: https://github.com/apache/cloudstack/pull/5410#issuecomment-926555527


   > @GabrielBrascher I've tested VM migration with volumes (ROOT disk on local 
storage + DATA disk on shared storage [NFS]), to another host within the same 
cluster. Migration failed with/without volumes mapping. Did I missed anything? 
Let me know if I've to test with any specific steps (and configuration).
   > 
   > **Without volumes mapping =>**
   > 
   > ```
   > (cloudcmk) > migrate virtualmachinewithvolume 
virtualmachineid=455dc09d-7b05-42ad-89fb-3b0bcb9dc01e 
hostid=bf2abca7-0b54-4bdd-a3dc-0056ec706e18 
   > {
   >   "accountid": "4f9b2858-1d1d-11ec-81eb-1e0079000453",
   >   "cmd": 
"org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd",
   >   "completed": "2021-09-24T11:02:43+0000",
   >   "created": "2021-09-24T11:02:40+0000",
   >   "jobid": "21f63e7d-967e-443d-8cbc-72322fb977a7",
   >   "jobprocstatus": 0,
   >   "jobresult": {
   >     "errorcode": 530,
   >     "errortext": "Failed to migrated vm VM instance {id: \"3\", name: 
\"i-2-3-VM\", uuid: \"455dc09d-7b05-42ad-89fb-3b0bcb9dc01e\", type=\"User\"} 
along with its volumes. "
   >   },
   >   "jobresultcode": 530,
   >   "jobresulttype": "object",
   >   "jobstatus": 2,
   >   "userid": "4f9cfd7a-1d1d-11ec-81eb-1e0079000453"
   > }
   > 🙈 Error: async API failed for job 21f63e7d-967e-443d-8cbc-72322fb977a7
   > ```
   > 
   > **With volumes mapping =>**
   > 
   > ```
   > (cloudcmk) > migrate virtualmachinewithvolume 
virtualmachineid=455dc09d-7b05-42ad-89fb-3b0bcb9dc01e 
hostid=bf2abca7-0b54-4bdd-a3dc-0056ec706e18 
migrateto[0].volume=898ee4b0-445a-4091-a402-0d52546f08c1 
migrateto[0].pool=b67d9027-afcb-4a73-b24c-b1dc06a8d539 
migrateto[1].volume=0d9efebe-c7ed-4030-92f9-33d4dfa50c87 
migrateto[1].pool=3f039d92-52c0-3b68-88c5-8b27ea8e1fd2
   > {
   >   "accountid": "4f9b2858-1d1d-11ec-81eb-1e0079000453",
   >   "cmd": 
"org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd",
   >   "completed": "2021-09-24T11:12:41+0000",
   >   "created": "2021-09-24T11:12:38+0000",
   >   "jobid": "5badf4d5-c2f9-40e9-b859-c1c082dfc1d6",
   >   "jobprocstatus": 0,
   >   "jobresult": {
   >     "errorcode": 530,
   >     "errortext": "Failed to migrated vm VM instance {id: \"3\", name: 
\"i-2-3-VM\", uuid: \"455dc09d-7b05-42ad-89fb-3b0bcb9dc01e\", type=\"User\"} 
along with its volumes. "
   >   },
   >   "jobresultcode": 530,
   >   "jobresulttype": "object",
   >   "jobstatus": 2,
   >   "userid": "4f9cfd7a-1d1d-11ec-81eb-1e0079000453"
   > }
   > 🙈 Error: async API failed for job 5badf4d5-c2f9-40e9-b859-c1c082dfc1d6
   > ```
   
   Will re-test with qemu ev pkgs and update here.


-- 
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


Reply via email to