cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Train Lau <szliuq...@gmail.com>
Subject Can not do live migrate by cloudstack
Date Tue, 11 Dec 2012 17:23:25 GMT
Hello,

I had install CS and add a vSphere Cluster,
CS ip: 192.168.29.210
vCenter ip:192.168.20.33
Esxi-1 ip:192.168.29.1
Esxi-2 ip:192.168.29.2

I had config the esxi host to connect my iScsi SAN and the primary storage
is the vSphere's VMFS datastore.

Everything seem ok, the SSVM is up, the VR is up, the Guest Instance is up,
but when I migrate the Guest Instance from esxi-1 to esxi-2 the UI
say:"Failed to migrate vm", and the management.log has some log:

2012-12-12 01:02:59,501 DEBUG [agent.transport.Request]
(Job-Executor-3:job-30) Seq 2-996278333: Sending  { Cmd , MgmtId:
132129487565621, via: 2, Ver: v1, Flags: 100111,
[{"MigrateCommand":{"vmName":"i-2-3-VM","destIp":"192.168.29.1","hostGuid":"
HostSystem:host-3259@192.168.20.33","isWindows":false,"wait":0}}] }
2012-12-12 01:02:59,501 DEBUG [agent.transport.Request]
(Job-Executor-3:job-30) Seq 2-996278333: Executing:  { Cmd , MgmtId:
132129487565621, via: 2, Ver: v1, Flags: 100111,
[{"MigrateCommand":{"vmName":"i-2-3-VM","destIp":"192.168.29.1","hostGuid":"
HostSystem:host-3259@192.168.20.33","isWindows":false,"wait":0}}] }
2012-12-12 01:02:59,501 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-62:null) Seq 2-996278333: Executing request
2012-12-12 01:02:59,502 INFO  [vmware.resource.VmwareResource]
(DirectAgent-62:192.168.29.2) Executing resource MigrateCommand:
{"vmName":"i-2-3-VM","destIp":"192.168.29.1","hostGuid":"
HostSystem:host-3259@192.168.20.33","isWindows":false,"wait":0}
2012-12-12 01:03:00,075 TRACE [vmware.mo.ClusterMO]
(DirectAgent-62:192.168.29.2) vCenter API trace - retrieveProperties() for
VM properties. target MOR: domain-c9719, properties: ["name"]
2012-12-12 01:03:00,379 TRACE [vmware.mo.ClusterMO]
(DirectAgent-62:192.168.29.2) vCenter API trace - retrieveProperties() done
2012-12-12 01:03:01,006 TRACE [vmware.mo.HostMO]
(DirectAgent-62:192.168.29.2) vCenter API trace -
getHyperHostNetworkSummary(). target MOR: host-1379, mgmtPortgroup: esxmgt
2012-12-12 01:03:01,666 TRACE [vmware.mo.HostMO]
(DirectAgent-62:192.168.29.2) vCenter API trace -
getHyperHostNetworkSummary() done(failed)
2012-12-12 01:03:01,666 WARN  [vmware.resource.VmwareResource]
(DirectAgent-62:192.168.29.2) MigrationCommand failed due to Exception:
java.lang.Exception
Message: Uanble to find management port group esxmgt

java.lang.Exception: Uanble to find management port group esxmgt
        at
com.cloud.hypervisor.vmware.mo.HostMO.getHyperHostNetworkSummary(HostMO.java:905)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.getTargetHyperHost(VmwareResource.java:2987)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2950)
        at
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:369)
        at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
        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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        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)
2012-12-12 01:03:01,667 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-62:null) Seq 2-996278333: Response Received:
2012-12-12 01:03:01,667 DEBUG [agent.transport.Request]
(DirectAgent-62:null) Seq 2-996278333: Processing:  { Ans: , MgmtId:
132129487565621, via: 2, Ver: v1, Flags: 110,
[{"MigrateAnswer":{"result":false,"details":"MigrationCommand failed due to
Exception: java.lang.Exception\nMessage: Uanble to find management port
group esxmgt\n","wait":0}}] }
2012-12-12 01:03:01,667 DEBUG [agent.manager.AgentAttache]
(DirectAgent-62:null) Seq 2-996278333: No more commands found
2012-12-12 01:03:01,667 DEBUG [agent.transport.Request]
(Job-Executor-3:job-30) Seq 2-996278333: Received:  { Ans: , MgmtId:
132129487565621, via: 2, Ver: v1, Flags: 110, { MigrateAnswer } }
2012-12-12 01:03:01,667 ERROR [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-3:job-30) Unable to migrate due to MigrationCommand failed
due to Exception: java.lang.Exception
Message: Uanble to find management port group esxmgt

2012-12-12 01:03:01,667 INFO  [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-3:job-30) Migration was unsuccessful.  Cleaning up:
VM[User|ef2974ac-e39e-4007-8738-99945db9eeb2]
2012-12-12 01:03:01,669 DEBUG [cloud.alert.AlertManagerImpl]
(Job-Executor-3:job-30) Have already sent: 1 emails for alert type '16' --
skipping send email
2012-12-12 01:03:01,670 DEBUG [agent.manager.AgentAttache]
(Job-Executor-3:job-30) Seq 1-472711216: Routed from 132129487565621

I had rename the esxi's management vmkernal to "esxmgt" and modify the CS's
global config value to "esxmgt".

Can some one help me?

Thanks

Train

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message