cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshul Gangwar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-6778) [HyperV] Storage motion/migration is failing if the Hosts are having different NIC names
Date Fri, 30 May 2014 05:39:01 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anshul Gangwar resolved CLOUDSTACK-6778.
----------------------------------------

    Resolution: Won't Fix

> [HyperV] Storage motion/migration is failing if the Hosts are having different NIC names
> ----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6778
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6778
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Hypervisor Controller, Management Server
>    Affects Versions: 4.4.0
>            Reporter: Abhinav Roy
>            Assignee: Anshul Gangwar
>            Priority: Critical
>              Labels: hyper-V,, hyper-v, hyperv
>             Fix For: 4.4.0
>
>
> Steps :
> ======================
> 1. Deploy a CS advanced zone setup with HyperV having 2 clusters.
> 2. cl1 has 2 hosts h1 and h2, cl2 has 1 host h3,
> 3. Deploy a VM on cl1 and the migrate that VM2 to h3.
> Here the NIC names of h1 and h3 are different :
> h1 : Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #38 - Virtual 
>        Switch
> h3 : Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #39 - Virtual            
      Switch
> Expected behavior :
> =======================
> The migration of VM with storage should succeed.
> Observed behavior :
> =======================
> Migration fails with the following error :
> 2014-05-27 14:29:09,072 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-434:ctx-960ed94b)
POST response is [{"com.cloud.agent.api.MigrateWithStorageAnswer":{"result":false,"volumeTos":[{"id":9,"name":"ROOT-7","path":"f2c8aa38-288f-4477-afd7-b2c23f5fd848","size":5368709120,"type":"ROOT","storagePoolType":"SMB","storagePoolUuid":"38aee7de-07f1-3f23-8f8d-6a772fb9811d","deviceId":0}],"details":"com.cloud.agent.api.MigrateWithStorageCommand
failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual machine migration
operation for 'i-2-7-VM' failed at migration destination 'HYPERV20.blr.cloudstack.org'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 'HYPERV20'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client)
#39 - Virtual Switch'.","contextMap":{}}}]
> 2014-05-27 14:29:09,073 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-434:ctx-960ed94b)
executeRequest received response [Lcom.cloud.agent.api.Answer;@3ab8553b
> 2014-05-27 14:29:09,073 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-434:ctx-960ed94b)
Seq 5-2135832123280457911: Response Received:
> 2014-05-27 14:29:09,073 DEBUG [c.c.a.t.Request] (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911:
Processing:  { Ans: , MgmtId: 213737702773493, via: 5, Ver: v1, Flags: 110, [{"com.cloud.agent.api.MigrateWithStorageAnswer":{"volumeTos":[{"name":"ROOT-7","size":5368709120,"path":"f2c8aa38-288f-4477-afd7-b2c23f5fd848","accountId":0,"id":9,"deviceId":0}],"result":false,"details":"com.cloud.agent.api.MigrateWithStorageCommand
failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual machine migration
operation for 'i-2-7-VM' failed at migration destination 'HYPERV20.blr.cloudstack.org'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nThe virtual machine 'i-2-7-VM' is not
compatible with physical computer 'HYPERV20'. (Virtual machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nCould
not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #39 - Virtual
Switch'.","wait":0}}] }
> 2014-05-27 14:29:09,074 DEBUG [c.c.a.t.Request] (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46
ctx-966940f6) Seq 5-2135832123280457911: Received:  { Ans: , MgmtId: 213737702773493, via:
5, Ver: v1, Flags: 110, { MigrateWithStorageAnswer } }
> 2014-05-27 14:29:09,077 DEBUG [c.c.a.m.AgentAttache] (DirectAgent-434:ctx-960ed94b) Seq
5-2135832123280457911: No more commands found
> 2014-05-27 14:29:09,074 ERROR [o.a.c.s.m.HypervStorageMotionStrategy] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Migration with storage of vm VM[User|i-2-7-VM] failed. Details:
com.cloud.agent.api.MigrateWithStorageCommand failed due to Hyper-V Job failed, Error Code:32784,
Description: Virtual machine migration operation for 'i-2-7-VM' failed at migration destination
'HYPERV20.blr.cloudstack.org'. (Virtual machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 'HYPERV20'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client)
#39 - Virtual Switch'.
> 2014-05-27 14:29:09,077 ERROR [o.a.c.s.m.HypervStorageMotionStrategy] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) copy failed
> com.cloud.utils.exception.CloudRuntimeException: Error while migrating the vm VM[User|i-2-7-VM]
to host Host[-1-Routing]. com.cloud.agent.api.MigrateWithStorageCommand failed due to Hyper-V
Job failed, Error Code:32784, Description: Virtual machine migration operation for 'i-2-7-VM'
failed at migration destination 'HYPERV20.blr.cloudstack.org'. (Virtual machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 'HYPERV20'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client)
#39 - Virtual Switch'.
>         at org.apache.cloudstack.storage.motion.HypervStorageMotionStrategy.migrateVmWithVolumes(HypervStorageMotionStrategy.java:141)
>         at org.apache.cloudstack.storage.motion.HypervStorageMotionStrategy.copyAsync(HypervStorageMotionStrategy.java:106)
>         at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:90)
>         at org.apache.cloudstack.storage.volume.VolumeServiceImpl.migrateVolumes(VolumeServiceImpl.java:1144)
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.migrateVolumes(VolumeOrchestrator.java:936)
>         at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrateWithStorage(VirtualMachineManagerImpl.java:2154)
>         at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrateWithStorage(VirtualMachineManagerImpl.java:5229)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
>         at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5325)
>         at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
>         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:722)
> 2014-05-27 14:29:09,085 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@777095d1),
no need to delete from object in store ref table
> 2014-05-27 14:29:09,088 DEBUG [o.a.c.e.o.VolumeOrchestrator] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Failed to migrated vm VM[User|i-2-7-VM] along with its volumes.
com.cloud.utils.exception.CloudRuntimeException: Error while migrating the vm VM[User|i-2-7-VM]
to host Host[-1-Routing]. com.cloud.agent.api.MigrateWithStorageCommand failed due to Hyper-V
Job failed, Error Code:32784, Description: Virtual machine migration operation for 'i-2-7-VM'
failed at migration destination 'HYPERV20.blr.cloudstack.org'. (Virtual machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 'HYPERV20'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client)
#39 - Virtual Switch'.
> 2014-05-27 14:29:09,088 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Migration was unsuccessful.  Cleaning up: VM[User|i-2-7-VM]
> 2014-05-27 14:29:09,088 WARN  [o.a.c.alerts] (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46
ctx-966940f6)  alertType:: 17 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message::
Unable to migrate vm i-2-7-VM from host 10.102.244.25 in zone hyperv and pod hyperv
> 2014-05-27 14:29:09,090 DEBUG [c.c.a.AlertManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Have already sent: 1 emails for alert type '17' -- skipping send
email
> 2014-05-27 14:29:09,091 DEBUG [c.c.a.m.AgentAttache] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Seq 1-3060477421774969954: Routed from 213737702773493
> 2014-05-27 14:29:09,092 DEBUG [c.c.a.t.Request] (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46
ctx-966940f6) Seq 1-3060477421774969954: Sending  { Cmd , MgmtId: 213737702773493, via: 1(10.102.244.20),
Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"i-2-7-VM","wait":0}}]
}
> 2014-05-27 14:29:09,092 DEBUG [c.c.a.t.Request] (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46
ctx-966940f6) Seq 1-3060477421774969954: Executing:  { Cmd , MgmtId: 213737702773493, via:
1(10.102.244.20), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"i-2-7-VM","wait":0}}]
}
> 2014-05-27 14:29:09,092 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-109:ctx-d71a4a2b)
Seq 1-3060477421774969954: Executing request
> 2014-05-27 14:29:09,092 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-109:ctx-d71a4a2b)
POST request to https://10.102.244.20:8250/api/HypervResource/com.cloud.agent.api.StopCommand
with contents {"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"i-2-7-VM","contextMap":{},"wait":0}
> 2014-05-27 14:29:09,096 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-109:ctx-d71a4a2b)
Sending cmd to https://10.102.244.20:8250/api/HypervResource/com.cloud.agent.api.StopCommand
cmd data:{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"i-2-7-VM","contextMap":{},"wait":0}
> 2014-05-27 14:29:09,107 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) VM state transitted from :Migrating to Running with event: OperationFailedvm's
original host id: 5 new host id: 5 host id before state transition: 1
> 2014-05-27 14:29:09,113 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Hosts's actual total CPU: 12372 and CPU after applying overprovisioning:
12372
> 2014-05-27 14:29:09,113 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Hosts's actual total RAM: 8558297088 and RAM after applying overprovisioning:
8558297088
> 2014-05-27 14:29:09,113 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) release cpu from host: 1, old used: 2000,reserved: 0, actual total:
12372, total with overprovisioning: 12372; new used: 1500,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2014-05-27 14:29:09,113 DEBUG [c.c.c.CapacityManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) release mem from host: 1, old used: 1744830464,reserved: 0, total:
8558297088; new used: 1207959552,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2014-05-27 14:29:09,124 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException:
Failed to migrated vm VM[User|i-2-7-VM] along with its volumes. com.cloud.utils.exception.CloudRuntimeException:
Error while migrating the vm VM[User|i-2-7-VM] to host Host[-1-Routing]. com.cloud.agent.api.MigrateWithStorageCommand
failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual machine migration
operation for 'i-2-7-VM' failed at migration destination 'HYPERV20.blr.cloudstack.org'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 'HYPERV20'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client)
#39 - Virtual Switch'.
> 2014-05-27 14:29:09,124 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46 ctx-966940f6) Rethrow exception com.cloud.utils.exception.CloudRuntimeException:
Failed to migrated vm VM[User|i-2-7-VM] along with its volumes. com.cloud.utils.exception.CloudRuntimeException:
Error while migrating the vm VM[User|i-2-7-VM] to host Host[-1-Routing]. com.cloud.agent.api.MigrateWithStorageCommand
failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual machine migration
operation for 'i-2-7-VM' failed at migration destination 'HYPERV20.blr.cloudstack.org'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 'HYPERV20'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client)
#39 - Virtual Switch'.
> 2014-05-27 14:29:09,124 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46) Done with run of VM work job: com.cloud.vm.VmWorkMigrate for VM 7, job origin:
45
> 2014-05-27 14:29:09,124 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46) Unable to complete AsyncJobVO {id:46, userId: 2, accountId: 2, instanceType:
null, instanceId: null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyACVjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZVdpdGhTdG9yYWdlsew9z6UxtXMCAANKAApkZXN0SG9zdElkSgAJc3JjSG9zdElkTAAMdm9sdW1lVG9Qb29sdAAPTGphdmEvdXRpbC9NYXA7eHIAE2NvbS5jbG91ZC52bS5WbVdvcmufmbZW8CVnawIABEoACWFjY291bnRJZEoABnVzZXJJZEoABHZtSWRMAAtoYW5kbGVyTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO3hwAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAHdAAZVmlydHVhbE1hY2hpbmVNYW5hZ2VySW1wbAAAAAAAAAABAAAAAAAAAAVzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAAAHg,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: Tue May
27 14:29:05 IST 2014}, job origin:45
> com.cloud.utils.exception.CloudRuntimeException: Failed to migrated vm VM[User|i-2-7-VM]
along with its volumes. com.cloud.utils.exception.CloudRuntimeException: Error while migrating
the vm VM[User|i-2-7-VM] to host Host[-1-Routing]. com.cloud.agent.api.MigrateWithStorageCommand
failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual machine migration
operation for 'i-2-7-VM' failed at migration destination 'HYPERV20.blr.cloudstack.org'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 'HYPERV20'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client)
#39 - Virtual Switch'.
>         at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.migrateVolumes(VolumeOrchestrator.java:941)
>         at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrateWithStorage(VirtualMachineManagerImpl.java:2154)
>         at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrateWithStorage(VirtualMachineManagerImpl.java:5229)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
>         at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5325)
>         at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
>         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:722)
> 2014-05-27 14:29:09,128 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46) Complete async job-46, jobStatus: FAILED, resultCode: 0, result: rO0ABXNyABpqYXZhLmxhbmcuUnVudGltZUV4Y2VwdGlvbp5fBkcKNIPlAgAAeHIAE2phdmEubGFuZy5FeGNlcHRpb27Q_R8-GjscxAIAAHhyABNqYXZhLmxhbmcuVGhyb3dhYmxl1cY1Jzl3uMsDAARMAAVjYXVzZXQAFUxqYXZhL2xhbmcvVGhyb3dhYmxlO0wADWRldGFpbE1lc3NhZ2V0ABJMamF2YS9sYW5nL1N0cmluZztbAApzdGFja1RyYWNldAAeW0xqYXZhL2xhbmcvU3RhY2tUcmFjZUVsZW1lbnQ7TAAUc3VwcHJlc3NlZEV4Y2VwdGlvbnN0ABBMamF2YS91dGlsL0xpc3Q7eHBxAH4AB3QC7UpvYiBmYWlsZWQgZHVlIHRvIGV4Y2VwdGlvbiBGYWlsZWQgdG8gbWlncmF0ZWQgdm0gVk1bVXNlcnxpLTItNy1WTV0gYWxvbmcgd2l0aCBpdHMgdm9sdW1lcy4gY29tLmNsb3VkLnV0aWxzLmV4Y2VwdGlvbi5DbG91ZFJ1bnRpbWVFeGNlcHRpb246IEVycm9yIHdoaWxlIG1pZ3JhdGluZyB0aGUgdm0gVk1bVXNlcnxpLTItNy1WTV0gdG8gaG9zdCBIb3N0Wy0xLVJvdXRpbmddLiBjb20uY2xvdWQuYWdlbnQuYXBpLk1pZ3JhdGVXaXRoU3RvcmFnZUNvbW1hbmQgZmFpbGVkIGR1ZSB0byBIeXBlci1WIEpvYiBmYWlsZW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bC5jb25jdXJyZW50LlRocmVhZFBvb2xFeGVjdXRvciRXb3JrZXJxAH4AL3EAfgAXc3EAfgALAAAC0nQAEGphdmEubGFuZy5UaHJlYWR0AAtUaHJlYWQuamF2YXEAfgAXc3IAJmphdmEudXRpbC5Db2xsZWN0aW9ucyRVbm1vZGlmaWFibGVMaXN0_A8lMbXsjhACAAFMAARsaXN0cQB-AAZ4cgAsamF2YS51dGlsLkNvbGxlY3Rpb25zJFVubW9kaWZpYWJsZUNvbGxlY3Rpb24ZQgCAy173HgIAAUwAAWN0ABZMamF2YS91dGlsL0NvbGxlY3Rpb247eHBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAAAHcEAAAAAHhxAH4AO3g
> 2014-05-27 14:29:09,144 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46) Done executing com.cloud.vm.VmWorkMigrate for job-46
> 2014-05-27 14:29:09,183 DEBUG [o.a.c.f.j.i.SyncQueueManagerImpl] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46) Sync queue (10) is currently empty
> 2014-05-27 14:29:09,183 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-5:ctx-083e8c2f
job-45/job-46) Remove job-46 from job monitoring
> 2014-05-27 14:29:09,176 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-5:ctx-57e1c241
job-45) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd
> java.lang.RuntimeException: Job failed due to exception Failed to migrated vm VM[User|i-2-7-VM]
along with its volumes. com.cloud.utils.exception.CloudRuntimeException: Error while migrating
the vm VM[User|i-2-7-VM] to host Host[-1-Routing]. com.cloud.agent.api.MigrateWithStorageCommand
failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual machine migration
operation for 'i-2-7-VM' failed at migration destination 'HYPERV20.blr.cloudstack.org'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 'HYPERV20'. (Virtual
machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client)
#39 - Virtual Switch'.
>         at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
>         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:722)
> 2014-05-27 14:29:09,187 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-5:ctx-57e1c241
job-45) Complete async job-45, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Job
failed due to exception Failed to migrated vm VM[User|i-2-7-VM] along with its volumes. com.cloud.utils.exception.CloudRuntimeException:
Error while migrating the vm VM[User|i-2-7-VM] to host Host[-1-Routing]. com.cloud.agent.api.MigrateWithStorageCommand
failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual machine migration
operation for \u0027i-2-7-VM\u0027 failed at migration destination \u0027HYPERV20.blr.cloudstack.org\u0027.
(Virtual machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nThe virtual machine \u0027i-2-7-VM\u0027
is not compatible with physical computer \u0027HYPERV20\u0027. (Virtual machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nCould
not find Ethernet switch \u0027Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #39 -
Virtual Switch\u0027."}
> 2014-05-27 14:29:09,193 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-5:ctx-57e1c241
job-45) Done executing org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd
for job-45
> 2014-05-27 14:29:09,200 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-109:ctx-d71a4a2b)
POST response is [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":null,"vm":null,"contextMap":{}}}]
> 2014-05-27 14:29:09,200 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-109:ctx-d71a4a2b)
executeRequest received response [Lcom.cloud.agent.api.Answer;@fafc28d
> 2014-05-27 14:29:09,200 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-109:ctx-d71a4a2b)
Seq 1-3060477421774969954: Response Received:
> 2014-05-27 14:29:09,200 DEBUG [c.c.a.t.Request] (DirectAgent-109:ctx-d71a4a2b) Seq 1-3060477421774969954:
Processing:  { Ans: , MgmtId: 213737702773493, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StopAnswer":{"result":true,"wait":0}}]
}
> 2014-05-27 14:29:09,200 DEBUG [c.c.a.m.AgentAttache] (DirectAgent-109:ctx-d71a4a2b) Seq
1-3060477421774969954: Unable to find listener.
> 2014-05-27 14:29:09,207 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-5:ctx-57e1c241
job-45) Remove job-45 from job monitoring
> Workaround :
> ====================
> Change the NIC names from HyperV manager and make them same. After that the migration
works.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message