Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-6810

Migration of a VM with volumes in local storage to another host in the same cluster is failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.0
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      Hyper-V advanced zone setup having 2 clusters and local storage enabled

      Description

      Steps :
      ==================
      1. Deploy an advanced zone Hyper-V setup having 2 clusters and local storage enabled
      2. Cluster1 has 2 hosts h1&h2 and cluster 2 has 1 host h3
      3. Create a VM v1 on h1 with its volume on local storage.
      4. now migrate v1 to h2

      Expected behavior :
      ===================
      Migration of v1 to h2 with storage should succeed.

      Observed behavior :
      ===================
      1. Migration fails with :

      2014-05-30 12:11:15,815 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-974c06fb ctx-97ad77c9) ===END=== 10.144.7.13 – GET command=migrateVirtualMachineWithVolume&hostid=a8159199-7d97-4452-8e72-a7a2192bc00a&virtualmachineid=f5c72950-100c-40b7-8a4c-42a10f1e1394&response=json&sessionkey=iBUNgVHSPfj%2F0RJrH4y0VHXcdWY%3D&_=1401431807938
      2014-05-30 12:11:15,816 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-37:ctx-cdc57df1 job-113) Add job-113 into job monitoring
      2014-05-30 12:11:15,816 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-37:ctx-cdc57df1 job-113) Executing AsyncJobVO {id:113, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd, cmdInfo: {"response":"json","sessionkey":"iBUNgVHSPfj/0RJrH4y0VHXcdWY\u003d","ctxDetails":"

      {\"com.cloud.vm.VirtualMachine\":20,\"com.cloud.host.Host\":2}

      ","virtualmachineid":"f5c72950-100c-40b7-8a4c-42a10f1e1394","cmdEventType":"VM.MIGRATE","hostid":"a8159199-7d97-4452-8e72-a7a2192bc00a","ctxUserId":"2","httpmethod":"GET","_":"1401431807938","ctxAccountId":"2","ctxStartEventId":"200"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
      2014-05-30 12:11:15,824 WARN [c.c.a.d.ParamGenericValidationWorker] (API-Job-Executor-37:ctx-cdc57df1 job-113 ctx-c34467bb) Received unknown parameters for command migrateVirtualMachineWithVolume. Unknown parameters : ctxdetails
      2014-05-30 12:11:15,862 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-37:ctx-cdc57df1 job-113 ctx-c34467bb) Sync job-114 execution on object VmWorkJobQueue.20
      2014-05-30 12:11:15,864 WARN [c.c.u.d.Merovingian2] (API-Job-Executor-37:ctx-cdc57df1 job-113 ctx-c34467bb) Was unable to find lock for the key vm_instance20 and thread id 1502122810
      2014-05-30 12:11:16,455 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-79593829) Execute sync-queue item: SyncQueueItemVO

      {id:49, queueId: 47, contentType: AsyncJob, contentId: 114, lastProcessMsid: null, lastprocessNumber: null, lastProcessTime: null, created: Fri May 30 12:11:15 IST 2014}

      2014-05-30 12:11:16,457 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-79593829) Schedule queued job-114
      2014-05-30 12:11:16,482 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 3-75336: Processing Seq 3-75336: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"

      {\n \"connections\": []\n}

      ","wait":0}}] }
      2014-05-30 12:11:16,486 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114) Add job-114 into job monitoring
      2014-05-30 12:11:16,486 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114) Executing AsyncJobVO

      {id:114, userId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyACVjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZVdpdGhTdG9yYWdlsew9z6UxtXMCAANKAApkZXN0SG9zdElkSgAJc3JjSG9zdElkTAAMdm9sdW1lVG9Qb29sdAAPTGphdmEvdXRpbC9NYXA7eHIAE2NvbS5jbG91ZC52bS5WbVdvcmufmbZW8CVnawIABEoACWFjY291bnRJZEoABnVzZXJJZEoABHZtSWRMAAtoYW5kbGVyTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO3hwAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAUdAAZVmlydHVhbE1hY2hpbmVNYW5hZ2VySW1wbAAAAAAAAAACAAAAAAAAAAFzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAAAHg, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: Fri May 30 12:11:15 IST 2014}

      2014-05-30 12:11:16,487 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114) Run VM work job: com.cloud.vm.VmWorkMigrate for VM 20, job origin: 113
      2014-05-30 12:11:16,488 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 3-75336: Sending Seq 3-75336: { Ans: , MgmtId: 213737702773493, via: 3, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
      2014-05-30 12:11:16,490 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Execute VM work job: com.cloud.vm.VmWorkMigrateWithStorage{"srcHostId":1,"destHostId":2,"volumeToPool":{},"userId":2,"accountId":2,"vmId":20,"handlerName":"VirtualMachineManagerImpl"}
      2014-05-30 12:11:16,500 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) LocalStoragePoolAllocator trying to find storage pool to fit the vm
      2014-05-30 12:11:16,502 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Checking if storage pool is suitable, name: null ,poolId: 1
      2014-05-30 12:11:16,505 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Checking pool 1 for storage, totalSize: 497917358080, usedBytes: 22389243904, usedPct: 0.04496578305752245, disable threshold: 0.85
      2014-05-30 12:11:16,509 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Found storage pool 10.102.244.20 Local Storage of type Filesystem
      2014-05-30 12:11:16,509 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Total capacity of the pool 10.102.244.20 Local Storage id: 1 is 497917358080
      2014-05-30 12:11:16,510 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Checking pool: 1 for volume allocation [Vol[32|vm=20|ROOT]], maxSize : 497917358080, totalAllocatedSize : 10737418240, askingSize : 0, allocated disable threshold: 0.85
      2014-05-30 12:11:16,510 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Checking if storage pool is suitable, name: null ,poolId: 3
      2014-05-30 12:11:16,512 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Checking pool 3 for storage, totalSize: 499738734592, usedBytes: 19301371904, usedPct: 0.038622925476765685, disable threshold: 0.85
      2014-05-30 12:11:16,516 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Found storage pool 10.102.244.21 Local Storage of type Filesystem
      2014-05-30 12:11:16,516 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Total capacity of the pool 10.102.244.21 Local Storage id: 3 is 499738734592
      2014-05-30 12:11:16,517 DEBUG [c.c.s.StorageManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Checking pool: 3 for volume allocation [Vol[32|vm=20|ROOT]], maxSize : 499738734592, totalAllocatedSize : 13958643712, askingSize : 0, allocated disable threshold: 0.85
      2014-05-30 12:11:16,517 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) LocalStoragePoolAllocator returning 2 suitable storage pools
      2014-05-30 12:11:16,518 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) ClusterScopeStoragePoolAllocator looking for storage pool
      2014-05-30 12:11:16,518 DEBUG [o.a.c.s.a.ZoneWideStoragePoolAllocator] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) ZoneWideStoragePoolAllocator to find storage pool
      2014-05-30 12:11:16,518 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Invocation exception, caused by: com.cloud.exception.InvalidParameterValueException: Migration of the vm VM[User|i-2-20-VM]from host Host[-1-Routing] to destination host Host[-2-Routing] doesn't involve migrating the volumes.
      2014-05-30 12:11:16,518 INFO [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114 ctx-e597f94d) Rethrow exception com.cloud.exception.InvalidParameterValueException: Migration of the vm VM[User|i-2-20-VM]from host Host[-1-Routing] to destination host Host[-2-Routing] doesn't involve migrating the volumes.
      2014-05-30 12:11:16,518 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114) Done with run of VM work job: com.cloud.vm.VmWorkMigrate for VM 20, job origin: 113
      2014-05-30 12:11:16,519 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114) Unable to complete AsyncJobVO

      {id:114, userId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: rO0ABXNyACVjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZVdpdGhTdG9yYWdlsew9z6UxtXMCAANKAApkZXN0SG9zdElkSgAJc3JjSG9zdElkTAAMdm9sdW1lVG9Qb29sdAAPTGphdmEvdXRpbC9NYXA7eHIAE2NvbS5jbG91ZC52bS5WbVdvcmufmbZW8CVnawIABEoACWFjY291bnRJZEoABnVzZXJJZEoABHZtSWRMAAtoYW5kbGVyTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO3hwAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAUdAAZVmlydHVhbE1hY2hpbmVNYW5hZ2VySW1wbAAAAAAAAAACAAAAAAAAAAFzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAAAHg, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: Fri May 30 12:11:15 IST 2014}

      , job origin:113
      com.cloud.exception.InvalidParameterValueException: Migration of the vm VM[User|i-2-20-VM]from host Host[-1-Routing] to destination host Host[-2-Routing] doesn't involve migrating the volumes.
      at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrateWithStorage(VirtualMachineManagerImpl.java:2125)
      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-30 12:11:16,521 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114) Complete async job-114, jobStatus: FAILED, resultCode: 0, result: rO0ABXNyABpqYXZhLmxhbmcuUnVudGltZUV4Y2VwdGlvbp5fBkcKNIPlAgAAeHIAE2phdmEubGFuZy5FeGNlcHRpb27Q_R8-GjscxAIAAHhyABNqYXZhLmxhbmcuVGhyb3dhYmxl1cY1Jzl3uMsDAARMAAVjYXVzZXQAFUxqYXZhL2xhbmcvVGhyb3dhYmxlO0wADWRldGFpbE1lc3NhZ2V0ABJMamF2YS9sYW5nL1N0cmluZztbAApzdGFja1RyYWNldAAeW0xqYXZhL2xhbmcvU3RhY2tUcmFjZUVsZW1lbnQ7TAAUc3VwcHJlc3NlZEV4Y2VwdGlvbnN0ABBMamF2YS91dGlsL0xpc3Q7eHBxAH4AB3QAqEpvYiBmYWlsZWQgZHVlIHRvIGV4Y2VwdGlvbiBNaWdyYXRpb24gb2YgdGhlIHZtIFZNW1VzZXJ8aS0yLTIwLVZNXWZyb20gaG9zdCBIb3N0Wy0xLVJvdXRpbmddIHRvIGRlc3RpbmF0aW9uIGhvc3QgSG9zdFstMi1Sb3V0aW5nXSBkb2Vzbid0IGludm9sdmUgbWlncmF0aW5nIHRoZSB2b2x1bWVzLnVyAB5bTGphdmEubGFuZy5TdGFja1RyYWNlRWxlbWVudDsCRio8PP0iOQIAAHhwAAAADnNyABtqYXZhLmxhbmcuU3RhY2tUcmFjZUVsZW1lbnRhCcWaJjbdhQIABEkACmxpbmVOdW1iZXJMAA5kZWNsYXJpbmdDbGFzc3EAfgAETAAIZmlsZU5hbWVxAH4ABEwACm1ldGhvZE5hbWVxAH4ABHhwAAAAcnQAIGNvbS5jbG91ZC52bS5WbVdvcmtKb2JEaXNwYXRjaGVydAAYVm1Xb3JrSm9iRGlzcGF0Y2hlci5qYXZhdAAGcnVuSm9ic3EAfgALAAAB93QAP29yZy5hcGFjaGUuY2xvdWRzdGFjay5mcmFtZXdvcmsuam9icy5pbXBsLkFzeW5jSm9iTWFuYWdlckltcGwkNXQAGEFzeW5jSm9iTWFuYWdlckltcGwuamF2YXQADHJ1bkluQ29udGV4dHNxAH4ACwAAADF0AD5vcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0Lk1hbmFnZWRDb250ZXh0UnVubmFibGUkMXQAG01hbmFnZWRDb250ZXh0UnVubmFibGUuamF2YXQAA3J1bnNxAH4ACwAAADh0AEJvcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0LmltcGwuRGVmYXVsdE1hbmFnZWRDb250ZXh0JDF0ABpEZWZhdWx0TWFuYWdlZENvbnRleHQuamF2YXQABGNhbGxzcQB-AAsAAABndABAb3JnLmFwYWNoZS5jbG91ZHN0YWNrLm1hbmFnZWQuY29udGV4dC5pbXBsLkRlZmF1bHRNYW5hZ2VkQ29udGV4dHEAfgAadAAPY2FsbFdpdGhDb250ZXh0c3EAfgALAAAANXEAfgAdcQB-ABp0AA5ydW5XaXRoQ29udGV4dHNxAH4ACwAAAC50ADxvcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0Lk1hbmFnZWRDb250ZXh0UnVubmFibGVxAH4AFnEAfgAXc3EAfgALAAABzHEAfgARcQB-ABJxAH4AF3NxAH4ACwAAAdd0AC5qYXZhLnV0aWwuY29uY3VycmVudC5FeGVjdXRvcnMkUnVubmFibGVBZGFwdGVydAAORXhlY3V0b3JzLmphdmFxAH4AG3NxAH4ACwAAAU50ACRqYXZhLnV0aWwuY29uY3VycmVudC5GdXR1cmVUYXNrJFN5bmN0AA9GdXR1cmVUYXNrLmphdmF0AAhpbm5lclJ1bnNxAH4ACwAAAKZ0AB9qYXZhLnV0aWwuY29uY3VycmVudC5GdXR1cmVUYXNrcQB-AClxAH4AF3NxAH4ACwAABFZ0ACdqYXZhLnV0aWwuY29uY3VycmVudC5UaHJlYWRQb29sRXhlY3V0b3J0ABdUaHJlYWRQb29sRXhlY3V0b3IuamF2YXQACXJ1bldvcmtlcnNxAH4ACwAAAlt0AC5qYXZhLnV0aWwuY29uY3VycmVudC5UaHJlYWRQb29sRXhlY3V0b3IkV29ya2VycQB-AC9xAH4AF3NxAH4ACwAAAtJ0ABBqYXZhLmxhbmcuVGhyZWFkdAALVGhyZWFkLmphdmFxAH4AF3NyACZqYXZhLnV0aWwuQ29sbGVjdGlvbnMkVW5tb2RpZmlhYmxlTGlzdPwPJTG17I4QAgABTAAEbGlzdHEAfgAGeHIALGphdmEudXRpbC5Db2xsZWN0aW9ucyRVbm1vZGlmaWFibGVDb2xsZWN0aW9uGUIAgMte9x4CAAFMAAFjdAAWTGphdmEvdXRpbC9Db2xsZWN0aW9uO3hwc3IAE2phdmEudXRpbC5BcnJheUxpc3R4gdIdmcdhnQMAAUkABHNpemV4cAAAAAB3BAAAAAB4cQB-ADt4
      2014-05-30 12:11:16,529 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114) Done executing com.cloud.vm.VmWorkMigrate for job-114
      2014-05-30 12:11:16,551 DEBUG [o.a.c.f.j.i.SyncQueueManagerImpl] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114) Sync queue (47) is currently empty
      2014-05-30 12:11:16,551 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-41:ctx-18c2968f job-113/job-114) Remove job-114 from job monitoring
      2014-05-30 12:11:16,553 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-37:ctx-cdc57df1 job-113) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd
      java.lang.RuntimeException: Job failed due to exception Migration of the vm VM[User|i-2-20-VM]from host Host[-1-Routing] to destination host Host[-2-Routing] doesn't involve migrating the volumes.
      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-30 12:11:16,554 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-37:ctx-cdc57df1 job-113) Complete async job-113, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/

      {"uuidList":[],"errorcode":530,"errortext":"Job failed due to exception Migration of the vm VM[User|i-2-20-VM]from host Host[-1-Routing] to destination host Host[-2-Routing] doesn\u0027t involve migrating the volumes."}

      2014-05-30 12:11:16,570 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-37:ctx-cdc57df1 job-113) Done executing org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd for job-113
      2014-05-30 12:11:16,574 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-37:ctx-cdc57df1 job-113) Remove job-113 from job monitoring

      2. migration of v1 to h3 (host in another cluster) succeeds though.

        Attachments

          Activity

            People

            • Assignee:
              devdeep Devdeep Singh
              Reporter:
              abhinavr Abhinav Roy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: