angeline shen created CLOUDSTACK-4265:
-----------------------------------------

             Summary: [VMWARE] clustered Management server Unable to perform VM 
live migration among vmware clusters
                 Key: CLOUDSTACK-4265
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4265
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.0
         Environment: clustered MS:
DB server       10.223.195.114
MS1               10.223.195.113
MS2               10.223.195.117
load balancer  10.223.130.29

host       ESXi 5.0 update2
            Reporter: angeline shen
            Priority: Critical
             Fix For: 4.2.0


 1. clustered MS  setup  :
DB server       10.223.195.114
MS1               10.223.195.113
MS2               10.223.195.117
load balancer  10.223.130.29
host                ESXi 5.0 update2

Vcenter :   create datacenter with 2 clusters each with 1 host  ESXi 5.0 update 
2
                create guest VMs

2. From  UI   MS1    10.223.195.113, VM live migration failed.  
 error:    Source & destination host are not in same cluster, unable to migrate 
to host: 1

 From  UI   MS2    10.223.195.117, VM live migration failed.  
 error:    Source & destination host are not in same cluster, unable to migrate 
to host: 1

 From  UI   load balancer    10.223.130.29, VM live migration failed.  
 error:    Source & destination host are not in same cluster, unable to migrate 
to host: 1

2013-08-12 15:05:23,716 DEBUG [cloud.server.StatsCollector] 
(StatsCollector-3:null) StorageCollector is running...
2013-08-12 15:05:23,730 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-9:job-22 = [ e84e70d0-303c-47d9-814d-95cd44eebadc ]) Migrating 
VM[User|z1isolateV1] to Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volum
e(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(1)-Storage()]
2013-08-12 15:05:23,732 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-9:job-22 = [ e84e70d0-303c-47d9-814d-95cd44eebadc ]) Source and 
destination host are not in same cluster, unable to migrate to host: 1
2013-08-12 15:05:23,742 ERROR [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-9:job-22 = [ e84e70d0-303c-47d9-814d-95cd44eebadc ]) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd
com.cloud.utils.exception.CloudRuntimeException: Source and destination host 
are not in same cluster, unable to migrate to host: 1
        at 
com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:1448)
        at 
com.cloud.vm.UserVmManagerImpl.migrateVirtualMachine(UserVmManagerImpl.java:3978)
        at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at 
org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd.execute(MigrateVMCmd.java:147)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-08-12 15:05:23,745 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-9:job-22 = [ e84e70d0-303c-47d9-814d-95cd44eebadc ]) Complete 
async job-22 = [ e84e70d0-303c-47d9-814d-95cd44eebadc ], jobStatus: 2, 
resultCode: 5
30, result: Error Code: 530 Error text: Source and destination host are not in 
same cluster, unable to migrate to host: 1


...............


2013-08-12 15:30:21,418 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-10:job-23 = [ 389128ac-c273-4709-ad13-ebfee9ab2d62 ]) Migrating 
VM[ConsoleProxy|v-3-VM] to Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(V
olume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(2)-Host(4)-Storage()]
2013-08-12 15:30:21,420 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-10:job-23 = [ 389128ac-c273-4709-ad13-ebfee9ab2d62 ]) Source and 
destination host are not in same cluster, unable to migrate to host: 4
2013-08-12 15:30:21,430 ERROR [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-10:job-23 = [ 389128ac-c273-4709-ad13-ebfee9ab2d62 ]) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.admin.systemvm.Migrat
eSystemVMCmd
com.cloud.utils.exception.CloudRuntimeException: Source and destination host 
are not in same cluster, unable to migrate to host: 4
        at 
com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:1448)
        at 
com.cloud.vm.UserVmManagerImpl.migrateVirtualMachine(UserVmManagerImpl.java:3978)
        at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at 
org.apache.cloudstack.api.command.admin.systemvm.MigrateSystemVMCmd.execute(MigrateSystemVMCmd.java:110)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-08-12 15:30:21,433 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-10:job-23 = [ 389128ac-c273-4709-ad13-ebfee9ab2d62 ]) Complete 
async job-23 = [ 389128ac-c273-4709-ad13-ebfee9ab2d62 ], jobStatus: 2, 
resultCode: 
530, result: Error Code: 530 Error text: Source and destination host are not in 
same cluster, unable to migrate to host: 4
2013-08-12 15:30:21,750 DEBUG [agent.manager.ClusteredAgentAttache] 
(AgentManager-Handler-13:null) Seq 2-1860108437: Routing from 6655051826959
2013-08-12 15:30:21,817 DEBUG [agent.manager.ClusteredAgentManagerImpl] 
(AgentManager-Handler-14:null) Seq 2-1860108437: MgmtId 6655051826959: Resp: 
Routing to peer




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to