angeline shen created CLOUDSTACK-4528:
-----------------------------------------
Summary: [Vmware] new mapping vmware datacenter cloudstack zone -
Virtual Router host migration across cluster FAIL
Key: CLOUDSTACK-4528
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4528
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: MS 10.223.195.52 build 479
host ESXi 5.0
Reporter: angeline shen
Priority: Critical
Fix For: 4.2.0
1. Vcenter CPP 4.2.
VC1 - DC1 - C1 - H1 zone1 - C1 - H1 10.223.51.2
H2 H2 10.223.51.3
PS2 cluster
primary storage
C2 - H3 C2 - H3 10.223.51.4
PS3 cluster
primary storage
PS1 zone
primary storage
PSZ4 zone
primary storage
2. H3 10.223.51.4 has SSVM CPVM and VMs i-2-8 i-2-6
VRs and other guest VMs were on Hosts H1 and H3
3. Put H3 in maintenance mode.
Result:
VMs i-2-6-VM and i-2-8-VM went into STOP state. Try to start both VMs. These
remain in
'Starting' state .
New SSVM s-14-VM created.. Old SSVM s-10-VM remained in expunging and
disconnected state
CPVM v-11-VM remain in STOP and disconnected state. Cannot be started
4. Host H3 cancel maintenance mode.
Old SSVM s-10-VM remained in expunging and disconnected state
CPVM v-11-VM go to running state
Old SSVM s-10-VM remained in expunging and disconnected state
VMs i-2-6-VM and i-2-8-VM were in STOP state.
Unable to restart both guest VMs - deployment failed
5. Virtual r-9-VM r-7-VM
r-7-VM on host 10.223.51.2 in cluster 1. Try to host migrate to host
10.223.51.4 in cluster 2 FAIL:
2013-08-27 14:19:18,815 INFO [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-5:job-120 = [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ]) Migrating
VM[DomainRouter|r-7-VM] to
Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))]
: Dest[Zone(1)-Pod(1)-Cluster(3)-Host(6)-Storage()]
2013-08-27 14:19:18,819 INFO [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-5:job-120 = [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ]) Source and
destination host are not in same cluster, unable to migrate to host: 6
2013-08-27 14:19:18,827 ERROR [cloud.async.AsyncJobManagerImpl]
(Job-Executor-5:job-120 = [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ]) Unexpected
exception while executing
org.apache.cloudstack.api.command.admin.systemvm.MigrateSystemVMCmd
com.cloud.utils.exception.CloudRuntimeException: Source and destination host
are not in same cluster, unable to migrate to host: 6
at
com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:1464)
at
com.cloud.vm.UserVmManagerImpl.migrateVirtualMachine(UserVmManagerImpl.java:3982)
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-27 14:19:18,829 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-5:job-120 = [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ]) Complete
async job-120 = [ f839a0d3-1b6a-431e-8b0f-f18d5590a972 ], jobStatus: 2,
resultCode: 530, result: Error Code: 530 Error text: Source and destination
host are not in same cluster, unable to migrate to host: 6
2013-08-27 14:19:19,298 DEBUG [cloud.server.StatsCollector]
(StatsCollector-1:null) HostStatsCollector is running...
2013-08-27 14:19:19,308 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-20:null) Seq 1-1802043963: Executing request
2013-08-27 14:19:19,365 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-20:null) Seq 1-1802043963: Response Received:
--
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