Have you compared network settings on both XenServers?

Maybe try the "Migrate VM Wizard" in XenCenter first, that may give you
better error messages if there is a mismatch in network configuration
between the two pools.


On Fri, Oct 25, 2013 at 6:48 AM, benoit lair <kurushi4...@gmail.com> wrote:

> Hello,
>
> I have 2 clusters with my acs 4.2, each cluster is one xenserver 6.2.
>
> Each cluster has its own SR CLVM.
>
> I deployed a vpc, a tier and one vm onto one host xenserver 6.2.
>
> I have only one root disk attached to the vm.
>
> I'm trying to live migrate the vm from the cluster 1 (clvm 1) to cluster 2
> (clvm 2), but i got this error msg on the UI :
>
> Failed to migrated vm VM[User|squid-lb-mano2] along with its volumes.
> com.cloud.utils.exception.CloudRuntimeException: Error while migrating the
> vm VM[User|squid-lb-mano2] to host Host[-1-Routing]. Exception:
> com.xensource.xenapi.Types$PifHasNoNetworkConfiguration Message: null
> Stack: PIF has no IP configuration (mode curently set to 'none') at
> com.xensource.xenapi.Types.checkResponse(Types.java:992) at
> com.xensource.xenapi.Connection.dispatch(Connection.java:368) at
>
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
> at com.xensource.xenapi.Host.migrateReceive(Host.java:2880) at
>
> com.cloud.hypervisor.xen.resource.XenServer610Resource.execute(XenServer610Resource.java:251)
> at
>
> com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:96)
> at
>
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
> 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$201(ScheduledThreadPoolExecutor.java:178)
> at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
>
> And also on my mgmt server log i got these entries :
>
> 2013-10-25 12:29:13,665 ERROR [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-35:job-706 = [ 9eb06be5-640d-40d2-a3f1-667b348f50b8 ])
> Unexpected exception while executing
>
> org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to migrated vm
> VM[User|squid-lb-mano2] along with its volumes.
> com.cloud.utils.exception.CloudRuntimeException: Error while migrating the
> vm VM[User|squid-lb-mano2] to host Host[-1-Routing]. Exception:
> com.xensource.xenapi.Types$PifHasNoNetworkConfiguration
> Message: null
> Stack: PIF has no IP configuration (mode curently set to 'none')
>     at com.xensource.xenapi.Types.checkResponse(Types.java:992)
>     at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>     at
>
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
>     at com.xensource.xenapi.Host.migrateReceive(Host.java:2880)
>     at
>
> com.cloud.hypervisor.xen.resource.XenServer610Resource.execute(XenServer610Resource.java:251)
>     at
>
> com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:96)
>     at
>
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>     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$201(ScheduledThreadPoolExecutor.java:178)
>     at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>     at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:724)
>
>     at
>
> com.cloud.storage.VolumeManagerImpl.migrateVolumes(VolumeManagerImpl.java:2316)
>     at
>
> com.cloud.vm.VirtualMachineManagerImpl.migrateWithStorage(VirtualMachineManagerImpl.java:1788)
>     at
>
> com.cloud.vm.UserVmManagerImpl.migrateVirtualMachineWithVolume(UserVmManagerImpl.java:4335)
>     at
>
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>     at
>
> org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd.execute(MigrateVirtualMachineWithVolumeCmd.java:137)
>     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:1145)
>     at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:724)
> 2013-10-25 12:29:13,668 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-35:job-706 = [ 9eb06be5-640d-40d2-a3f1-667b348f50b8 ])
> Complete async job-706 = [ 9eb06be5-640d-40d2-a3f1-667b348f50b8 ],
> jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed
> to migrated vm VM[User|squid-lb-mano2] along with its volumes.
> com.cloud.utils.exception.CloudRuntimeException: Error while migrating the
> vm VM[User|squid-lb-mano2] to host Host[-1-Routing]. Exception:
> com.xensource.xenapi.Types$PifHasNoNetworkConfiguration
> Message: null
> Stack: PIF has no IP configuration (mode curently set to 'none')
>     at com.xensource.xenapi.Types.checkResponse(Types.java:992)
>     at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>     at
>
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
>     at com.xensource.xenapi.Host.migrateReceive(Host.java:2880)
>     at
>
> com.cloud.hypervisor.xen.resource.XenServer610Resource.execute(XenServer610Resource.java:251)
>     at
>
> com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:96)
>     at
>
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>     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$201(ScheduledThreadPoolExecutor.java:178)
>     at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>     at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:724)
>
>
>
> I can't go with live storage migration, where could be the problem ?
>
> Thanks four your help.
>
>
> Regards, Benoit.
>



-- 
Dinko Mitic ▪ Cloud Infrastructure Engineer ▪ SunGard Availability Services
▪ 401 North Broad St. Philadelphia, PA 19108 ▪ (215) 446-1231 ▪
dinko.mi...@sungard.com

Reply via email to