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.s...@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 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---