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


   @GabrielBrascher I've tested VM migration with volumes. Results below.
   
   - **VM with Local ROOT disk**
   
   (i) Without volumes mapping:
   `migrate virtualmachinewithvolume 
virtualmachineid=4c5cf633-482d-499f-8d39-970fa1f62efc 
hostid=d19ac1e9-990d-404d-b60c-a7b75cf7836c`
   
   => Failed with error: "_Failed to migrated vm VM instance {id: \"7\", name: 
\"i-2-7-VM\", uuid: \"4c5cf633-482d-499f-8d39-970fa1f62efc\", type=\"User\"} 
along with its volumes._ "
   
   (ii) With volumes mapping (Local storage on src host : Local storage on dest 
host):
   `migrate virtualmachinewithvolume 
virtualmachineid=4c5cf633-482d-499f-8d39-970fa1f62efc 
hostid=d19ac1e9-990d-404d-b60c-a7b75cf7836c 
migrateto[0].volume=703abf09-99f7-48b8-9a47-55a467452a60 
migrateto[0].pool=cae2c100-cfd8-47f1-aed5-3442b289ec85`
   
   => Failed with error: "_Failed to migrated vm VM instance {id: \"7\", name: 
\"i-2-7-VM\", uuid: \"4c5cf633-482d-499f-8d39-970fa1f62efc\", type=\"User\"} 
along with its volumes._ "
   
   - **VM with Local ROOT disk + Shared (NFS) DATA disk**
   
   (i) Without volumes mapping:
   `migrate virtualmachinewithvolume 
virtualmachineid=3a879829-466a-451a-bb2d-a2897349a9d9 
hostid=d19ac1e9-990d-404d-b60c-a7b75cf7836`
   
   => Passed
   
   (ii) With ROOT disk volume mapping (Local storage on src host : Local 
storage on dest host):
   `migrate virtualmachinewithvolume 
virtualmachineid=3a879829-466a-451a-bb2d-a2897349a9d9 
hostid=d19ac1e9-990d-404d-b60c-a7b75cf7836c  
migrateto[0].volume=c01302c0-41e4-4fbe-876e-13c3493ad8f6 
migrateto[0].pool=cae2c100-cfd8-47f1-aed5-3442b289ec85`
   
   => Passed
   
   (iii) With ROOT & DATA disk volume mapping (Local storage on src host : 
Local storage on dest host + NFS storage1 : NFS storage2):
   `migrate virtualmachinewithvolume 
virtualmachineid=3a879829-466a-451a-bb2d-a2897349a9d9 
hostid=d19ac1e9-990d-404d-b60c-a7b75cf7836c  
migrateto[0].volume=c01302c0-41e4-4fbe-876e-13c3493ad8f6 
migrateto[0].pool=cae2c100-cfd8-47f1-aed5-3442b289ec85 
migrateto[1].volume=9f2f170a-6650-4750-bd9c-76fca2ae70cb 
migrateto[1].pool=df3aba77-9ff6-3c91-9062-f2d79686672e`
   
   => Failed with error: "_Failed to migrated vm VM instance {id: \"5\", name: 
\"i-2-5-VM\", uuid: \"3a879829-466a-451a-bb2d-a2897349a9d9\", type=\"User\"} 
along with its volumes._ "
   
   - **VM with Shared (NFS) ROOT disk**
   
   (i) With ROOT disk volume mapping:
   `migrate virtualmachinewithvolume 
virtualmachineid=b56072e6-88d1-4c13-a6e7-b9ab76e54b82 
migrateto[0].volume=bde7a8ee-85ed-4ed5-bfd4-4c2de38fba04 
migrateto[0].pool=df3aba77-9ff6-3c91-9062-f2d79686672e 
hostid=999460c3-07e7-4eae-867a-c3747ce36589`
   
   => Failed with error: "_Failed to migrated vm VM instance {id: \"3\", name: 
\"i-2-3-VM\", uuid: \"b56072e6-88d1-4c13-a6e7-b9ab76e54b82\", type=\"User\"} 
along with its volumes._ "
   
   - **VM with Shared (NFS) ROOT disk + Shared (NFS) DATA disk**
   
   (i) With ROOT & DATA volumes mapping:
   `migrate virtualmachinewithvolume 
virtualmachineid=2d94bc0e-9de1-4d0f-ae67-bf69286a2fdf 
hostid=999460c3-07e7-4eae-867a-c3747ce36589 
migrateto[0].volume=6f99fb94-b4d9-462f-8e26-227f3d33f946 
migrateto[0].pool=df3aba77-9ff6-3c91-9062-f2d79686672e 
migrateto[1].volume=2b1ec21e-d02a-441d-ab3e-ca831eb4c6a6 
migrateto[1].pool=df3aba77-9ff6-3c91-9062-f2d79686672e`
   
   => Failed with error: "_Failed to migrated vm VM instance {id: \"6\", name: 
\"i-2-6-VM\", uuid: \"2d94bc0e-9de1-4d0f-ae67-bf69286a2fdf\", type=\"User\"} 
along with its volumes._ "
   


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