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 Mon, 13 Mar 2017 10:20:04 GMT

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

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

GitHub user sudhansu7 opened a pull request:

    https://github.com/apache/cloudstack/pull/2002

    CLOUDSTACK-9831: Previous pod_id still remains in the vm_instance table

    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}

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sudhansu7/cloudstack CLOUDSTACK-9831

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/2002.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2002
    
----
commit 7018bf13e51e9d71dcd4ab2393fa95cd6a437def
Author: Sudhansu <sudhansu.sahu@accelerite.com>
Date:   2017-03-13T07:44:12Z

    CLOUDSTACK-9831: Previous pod_id still remains in the vm_instance table after
     VM migration with migrateVirtualMachineWithVolume

----


> 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