cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9831) Previous pod_id still remains in the vm_instance table after VM migration with migrateVirtualMachineWithVolume
Date Thu, 30 Mar 2017 11:47:41 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15948910#comment-15948910
] 

ASF GitHub Bot commented on CLOUDSTACK-9831:
--------------------------------------------

Github user sudhansu7 commented on the issue:

    https://github.com/apache/cloudstack/pull/2002
  
    @serg38 
    Added changes for failure case. If migration fails the old pod id will be restored.


> Previous pod_id still remains in the vm_instance table after VM migration with migrateVirtualMachineWithVolume
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9831
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9831
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.10.0.0
>            Reporter: Sudhansu Sahu
>
> Previous pod_id still remains in the vm_instance table after VM migration with migrateVirtualMachineWithVolume
> {noformat}
> Previous pod_id still remains in the vm_instance table after VM migration with migrateVirtualMachineWithVolume
> Before migrateVirtualMachineWithVolume
> mysql> select v.id,v.instance_name,h.name,v.pod_id as pod_id_from_instance_tb,h.pod_id
as pod_id_from_host_tb from vm_instance v, host h where v.host_id=h.id and v.id=2;
> ------------------------------------------------------------------------------------------------------
> id 	instance_name 	name 	pod_id_from_instance_tb 	pod_id_from_host_tb
> ------------------------------------------------------------------------------------------------------
> 2 	i-2-2-VM 	testVM 	1 	1
> ------------------------------------------------------------------------------------------------------
> 1 row in set (0.00 sec)
> After migrateVirtualMachineWithVolume
> mysql> select v.id,v.instance_name,h.name,v.pod_id as pod_id_from_instance_tb,h.pod_id
as pod_id_from_host_tb from vm_instance v, host h where v.host_id=h.id and v.id=3;
> -----------------------------------------------------------------------------------------------------
> id 	instance_name 	name 	pod_id_from_instance_tb 	pod_id_from_host_tb
> -----------------------------------------------------------------------------------------------------
> 3 	i-2-3-VM 	testVm1 	1 	2
> -----------------------------------------------------------------------------------------------------
> 1 row in set (0.00 sec)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message