Rayees Namathponnan created CLOUDSTACK-2221:
-----------------------------------------------
Summary: [Automation] Failed to migrate VM to another host in same
cluster
Key: CLOUDSTACK-2221
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2221
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: KVM
Affects Versions: 4.2.0
Environment: Master build
Issue found in KVM
Reporter: Rayees Namathponnan
Fix For: 4.2.0
Steps to reproduce
Step 1: Create new build from master branch and configure advance zone with 2
hosts in one cluster
Step 2 : Create a new vm on first host
Step 3 : Make sure both hosts are up and running, and migrate the VM to second
host
Actual result
Migrate VM failed with below error
2013-04-27 11:46:00,824 DEBUG [agent.manager.AgentAttache]
(AgentManager-Handler-3:null) Seq 5-2066023245: No more commands found
2013-04-27 11:46:00,824 DEBUG [agent.transport.Request]
(Job-Executor-50:job-153) Seq 5-2066023245: Received: { Ans: , MgmtId:
29066118877352, via: 5, Ver: v1, Flags: 110,
{ PrepareForMigrationAnswer } }
2013-04-27 11:46:00,833 WARN [admin.vm.MigrateVMCmd] (Job-Executor-50:job-153)
Exception:
com.cloud.exception.AgentUnavailableException: Resource [Host:5] is
unreachable: Host 5: Unable to prepare for migration due to
org.libvirt.LibvirtException: Domain not foun
d: no domain with matching uuid '545c252c-11ba-3cb1-8370-9046a50d80a9'
at
com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:1367)
at
com.cloud.vm.UserVmManagerImpl.migrateVirtualMachine(UserVmManagerImpl.java:3531)
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:155)
at
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
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-04-27 11:46:00,834 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-50:job-153) Complete async job-153, jobStatus: 2, resultCode:
530, result: Error Code: 534 Erro
r text: Resource [Host:5] is unreachable: Host 5: Unable to prepare for
migration due to org.libvirt.LibvirtException: Domain not found: no domain with
matching uuid '545c25
2c-11ba-3cb1-8370-9046a50d80a9'
--
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