[ https://issues.apache.org/jira/browse/CLOUDSTACK-6830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anshul Gangwar reassigned CLOUDSTACK-6830: ------------------------------------------ Assignee: Anshul Gangwar > [Hyper-V] If a VM is is created with it's volumes on zone wide primary > storage, the migration of that VM always asks for storage migration as well > and fails. > ------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-6830 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6830 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server, Storage Controller > Affects Versions: 4.4.0 > Environment: Advanced zone > Hypervisor : Hyper-V > Primary storage : cluster wide, zone wide and local > Reporter: Abhinav Roy > Assignee: Anshul Gangwar > Priority: Critical > Labels: hyper-V,, hyper-v, hyperv > Fix For: 4.4.0 > > > Steps : > ====================== > 1. Deploy an advanced zone HyperV setup with 2 clusters. > c1 having 2 hosts , h1 & h2 > 2 primary storages ps1 & ps2 > c2 having 1 host, h3 > 2 primary storages ps3 & p4 > 2 zone wide primary storages zwps1 & zwps2 > 2. Create a VM such that its volume lies on zwps1 > 3. Migrate the VM > Expected behavior : > ===================== > 1. When we try to migrate the VM, the API or UI should list the hosts > suitable for migration. And the migration should not require storage motion > since the pool used is a zone wide primary storage > 2. Migration should be successful. > Observed behavior : > ==================== > 1. When we try to migrate the VM, the API lists the hosts suitable for > migration but it also says that the process involved storage motion ( which > is wrong) > monkey# find hostsformigration virtualmachineid=25 > count = 2 > host: > id = 6452c7b7-2623-48ec-930f-dc4f98d10e21 > name = 10.102.244.20 > capabilities = hvm > clusterid = 46dbf863-d9cb-4a47-be11-8fdb46320a2e > clustername = cluster1 > clustertype = CloudManaged > cpuallocated = 0% > cpunumber = 4 > cpuspeed = 3093 > cpuused = 1% > cpuwithoverprovisioning = 12372.0 > created = 2014-06-02T11:56:28+0530 > disconnected = 2014-06-02T12:28:48+0530 > events = AgentDisconnected; StartAgentRebalance; HostDown; AgentConnected; > Remove; ShutdownRequested; ManagementServerDown; Ping; PingTimeout > hahost = False > hosttags = tag1 > hypervisor = Hyperv > hypervisorversion = 6.2 > ipaddress = 10.102.244.20 > islocalstorageactive = False > jobstatus = 0 > lastpinged = 1970-01-17T01:43:59+0530 > managementserverid = 213737702773493 > memoryallocated = 3447717888 > memorytotal = 8558297088 > memoryused = 4933872 > networkkbsread = 53356091604 > networkkbswrite = 326400170803 > podid = 69ba6799-d3f4-482e-93f1-9bdc637c0e51 > podname = hyperv > requiresStorageMotion = True > resourcestate = Enabled > state = Up > suitableformigration = True > type = Routing > version = 4.4.0-SNAPSHOT > zoneid = 1259f9d6-87a6-45c1-ad45-0be382c68b4b > zonename = hyperv > ================================================================================ > id = ee8ca90c-08da-4bae-b04b-83ff8e78ded2 > name = 10.102.244.21 > capabilities = hvm > clusterid = 46dbf863-d9cb-4a47-be11-8fdb46320a2e > clustername = cluster1 > clustertype = CloudManaged > cpuallocated = 0% > cpunumber = 4 > cpuspeed = 3093 > cpuused = 1% > cpuwithoverprovisioning = 12372.0 > created = 2014-06-02T11:57:11+0530 > disconnected = 2014-06-02T12:28:48+0530 > events = AgentDisconnected; StartAgentRebalance; HostDown; AgentConnected; > Remove; ShutdownRequested; ManagementServerDown; Ping; PingTimeout > hahost = False > hypervisor = Hyperv > hypervisorversion = 6.2 > ipaddress = 10.102.244.21 > islocalstorageactive = False > jobstatus = 0 > lastpinged = 1970-01-17T01:43:59+0530 > managementserverid = 213737702773493 > memoryallocated = 1166016512 > memorytotal = 8558297088 > memoryused = 2956140 > networkkbsread = 189444293536 > networkkbswrite = 63265905010 > podid = 69ba6799-d3f4-482e-93f1-9bdc637c0e51 > podname = hyperv > requiresStorageMotion = True > resourcestate = Enabled > state = Up > suitableformigration = True > type = Routing > version = 4.4.0-SNAPSHOT > zoneid = 1259f9d6-87a6-45c1-ad45-0be382c68b4b > zonename = hyperv > ========================================== > 2. The migration fails : > 2014-06-03 13:45:58,082 DEBUG [c.c.a.ApiServlet] > (catalina-exec-20:ctx-8c9a3f4f) ===START=== 10.144.7.13 -- GET > command=migrateVirtualMachineWithVolume&hostid=ee8ca90c-08da-4bae-b04b-83ff8e78ded2&virtualmachineid=e9523ccd-28cb-4089-b4cd-c5cbb8658120&response=json&sessionkey=o%2F8Vw1YoKZS4JAca7rkI3sCMSDs%3D&_=1401782981308 > 2014-06-03 13:45:58,116 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (catalina-exec-20:ctx-8c9a3f4f ctx-81f3bd5c) submit async job-128, details: > AsyncJobVO {id:128, userId: 2, accountId: 2, instanceType: None, instanceId: > null, cmd: > org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd, > cmdInfo: > {"response":"json","sessionkey":"o/8Vw1YoKZS4JAca7rkI3sCMSDs\u003d","ctxDetails":"{\"com.cloud.vm.VirtualMachine\":25,\"com.cloud.host.Host\":2}","virtualmachineid":"e9523ccd-28cb-4089-b4cd-c5cbb8658120","cmdEventType":"VM.MIGRATE","hostid":"ee8ca90c-08da-4bae-b04b-83ff8e78ded2","ctxUserId":"2","httpmethod":"GET","_":"1401782981308","ctxAccountId":"2","ctxStartEventId":"180"}, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: > null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, > lastPolled: null, created: null} > 2014-06-03 13:45:58,117 DEBUG [c.c.a.ApiServlet] > (catalina-exec-20:ctx-8c9a3f4f ctx-81f3bd5c) ===END=== 10.144.7.13 -- GET > command=migrateVirtualMachineWithVolume&hostid=ee8ca90c-08da-4bae-b04b-83ff8e78ded2&virtualmachineid=e9523ccd-28cb-4089-b4cd-c5cbb8658120&response=json&sessionkey=o%2F8Vw1YoKZS4JAca7rkI3sCMSDs%3D&_=1401782981308 > 2014-06-03 13:45:58,118 INFO [o.a.c.f.j.i.AsyncJobMonitor] > (API-Job-Executor-31:ctx-beda71d5 job-128) Add job-128 into job monitoring > 2014-06-03 13:45:58,119 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (API-Job-Executor-31:ctx-beda71d5 job-128) Executing AsyncJobVO {id:128, > userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: > org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd, > cmdInfo: > {"response":"json","sessionkey":"o/8Vw1YoKZS4JAca7rkI3sCMSDs\u003d","ctxDetails":"{\"com.cloud.vm.VirtualMachine\":25,\"com.cloud.host.Host\":2}","virtualmachineid":"e9523ccd-28cb-4089-b4cd-c5cbb8658120","cmdEventType":"VM.MIGRATE","hostid":"ee8ca90c-08da-4bae-b04b-83ff8e78ded2","ctxUserId":"2","httpmethod":"GET","_":"1401782981308","ctxAccountId":"2","ctxStartEventId":"180"}, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: > null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, > lastPolled: null, created: null} > 2014-06-03 13:45:58,126 WARN [c.c.a.d.ParamGenericValidationWorker] > (API-Job-Executor-31:ctx-beda71d5 job-128 ctx-fe624c5c) Received unknown > parameters for command migrateVirtualMachineWithVolume. Unknown parameters : > ctxdetails > 2014-06-03 13:45:58,164 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (API-Job-Executor-31:ctx-beda71d5 job-128 ctx-fe624c5c) Sync job-129 > execution on object VmWorkJobQueue.25 > 2014-06-03 13:45:58,168 WARN [c.c.u.d.Merovingian2] > (API-Job-Executor-31:ctx-beda71d5 job-128 ctx-fe624c5c) Was unable to find > lock for the key vm_instance25 and thread id 768487220 > 2014-06-03 13:45:58,206 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (AsyncJobMgr-Heartbeat-1:ctx-1df81851) Execute sync-queue item: > SyncQueueItemVO {id:75, queueId: 74, contentType: AsyncJob, contentId: 129, > lastProcessMsid: null, lastprocessNumber: null, lastProcessTime: null, > created: Tue Jun 03 13:45:58 IST 2014} > 2014-06-03 13:45:58,207 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (AsyncJobMgr-Heartbeat-1:ctx-1df81851) Schedule queued job-129 > 2014-06-03 13:45:58,217 INFO [o.a.c.f.j.i.AsyncJobMonitor] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129) Add job-129 into job > monitoring > 2014-06-03 13:45:58,217 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129) Executing AsyncJobVO > {id:129, userId: 2, accountId: 2, instanceType: null, instanceId: null, cmd: > com.cloud.vm.VmWorkMigrate, cmdInfo: > rO0ABXNyACVjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZVdpdGhTdG9yYWdlsew9z6UxtXMCAANKAApkZXN0SG9zdElkSgAJc3JjSG9zdElkTAAMdm9sdW1lVG9Qb29sdAAPTGphdmEvdXRpbC9NYXA7eHIAE2NvbS5jbG91ZC52bS5WbVdvcmufmbZW8CVnawIABEoACWFjY291bnRJZEoABnVzZXJJZEoABHZtSWRMAAtoYW5kbGVyTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO3hwAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAZdAAZVmlydHVhbE1hY2hpbmVNYW5hZ2VySW1wbAAAAAAAAAACAAAAAAAAAANzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAAAHg, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: > null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, > lastPolled: null, created: Tue Jun 03 13:45:58 IST 2014} > 2014-06-03 13:45:58,218 DEBUG [c.c.v.VmWorkJobDispatcher] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129) Run VM work job: > com.cloud.vm.VmWorkMigrate for VM 25, job origin: 128 > 2014-06-03 13:45:58,219 DEBUG [c.c.v.VmWorkJobHandlerProxy] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Execute VM > work job: > com.cloud.vm.VmWorkMigrateWithStorage{"srcHostId":3,"destHostId":2,"volumeToPool":{},"userId":2,"accountId":2,"vmId":25,"handlerName":"VirtualMachineManagerImpl"} > 2014-06-03 13:45:58,229 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) > LocalStoragePoolAllocator trying to find storage pool to fit the vm > 2014-06-03 13:45:58,229 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) > ClusterScopeStoragePoolAllocator looking for storage pool > 2014-06-03 13:45:58,229 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Looking for > pools in dc: 1 pod:1 cluster:1 having tags:[stag1] > 2014-06-03 13:45:58,231 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Found pools > matching tags: [] > 2014-06-03 13:45:58,232 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Adding pool > Pool[4|SMB] to avoid set since it did not match tags > 2014-06-03 13:45:58,232 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Adding pool > Pool[5|SMB] to avoid set since it did not match tags > 2014-06-03 13:45:58,232 DEBUG [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) No storage > pools available for shared volume allocation, returning > 2014-06-03 13:45:58,233 DEBUG [o.a.c.s.a.ZoneWideStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) > ZoneWideStoragePoolAllocator to find storage pool > 2014-06-03 13:45:58,237 DEBUG [o.a.c.s.a.ZoneWideStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Removing > pool Pool[9|SMB] from avoid set, must have been inserted when searching for > another disk's tag > 2014-06-03 13:45:58,237 DEBUG [o.a.c.s.a.ZoneWideStoragePoolAllocator] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Removing > pool Pool[10|SMB] from avoid set, must have been inserted when searching for > another disk's tag > 2014-06-03 13:45:58,240 DEBUG [c.c.s.StorageManagerImpl] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Checking > pool 10 for storage, totalSize: 998772830208, usedBytes: 76318318592, > usedPct: 0.07641208919960937, disable threshold: 0.85 > 2014-06-03 13:45:58,244 DEBUG [c.c.s.StorageManagerImpl] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Found > storage pool zwps2 of type SMB > 2014-06-03 13:45:58,244 DEBUG [c.c.s.StorageManagerImpl] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Total > capacity of the pool zwps2 id: 10 is 998772830208 > 2014-06-03 13:45:58,245 DEBUG [c.c.s.StorageManagerImpl] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Checking > pool: 10 for volume allocation [Vol[39|vm=25|ROOT]], maxSize : 998772830208, > totalAllocatedSize : 10737418240, askingSize : 0, allocated disable > threshold: 0.85 > 2014-06-03 13:45:58,245 ERROR [c.c.v.VmWorkJobHandlerProxy] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Invocation > exception, caused by: com.cloud.exception.InvalidParameterValueException: > Migration of the vm VM[User|i-2-25-VM]from host Host[-3-Routing] to > destination host Host[-2-Routing] doesn't involve migrating the volumes. > 2014-06-03 13:45:58,245 INFO [c.c.v.VmWorkJobHandlerProxy] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129 ctx-5b158c2f) Rethrow > exception com.cloud.exception.InvalidParameterValueException: Migration of > the vm VM[User|i-2-25-VM]from host Host[-3-Routing] to destination host > Host[-2-Routing] doesn't involve migrating the volumes. > 2014-06-03 13:45:58,245 DEBUG [c.c.v.VmWorkJobDispatcher] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129) Done with run of VM work > job: com.cloud.vm.VmWorkMigrate for VM 25, job origin: 128 > 2014-06-03 13:45:58,245 ERROR [c.c.v.VmWorkJobDispatcher] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129) Unable to complete > AsyncJobVO {id:129, userId: 2, accountId: 2, instanceType: null, instanceId: > null, cmd: com.cloud.vm.VmWorkMigrate, cmdInfo: > rO0ABXNyACVjb20uY2xvdWQudm0uVm1Xb3JrTWlncmF0ZVdpdGhTdG9yYWdlsew9z6UxtXMCAANKAApkZXN0SG9zdElkSgAJc3JjSG9zdElkTAAMdm9sdW1lVG9Qb29sdAAPTGphdmEvdXRpbC9NYXA7eHIAE2NvbS5jbG91ZC52bS5WbVdvcmufmbZW8CVnawIABEoACWFjY291bnRJZEoABnVzZXJJZEoABHZtSWRMAAtoYW5kbGVyTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO3hwAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAZdAAZVmlydHVhbE1hY2hpbmVNYW5hZ2VySW1wbAAAAAAAAAACAAAAAAAAAANzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAAAHg, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: > null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, > lastPolled: null, created: Tue Jun 03 13:45:58 IST 2014}, job origin:128 > com.cloud.exception.InvalidParameterValueException: Migration of the vm > VM[User|i-2-25-VM]from host Host[-3-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-06-03 13:45:58,265 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129) Complete async job-129, > jobStatus: FAILED, resultCode: 0, result: > rO0ABXNyABpqYXZhLmxhbmcuUnVudGltZUV4Y2VwdGlvbp5fBkcKNIPlAgAAeHIAE2phdmEubGFuZy5FeGNlcHRpb27Q_R8-GjscxAIAAHhyABNqYXZhLmxhbmcuVGhyb3dhYmxl1cY1Jzl3uMsDAARMAAVjYXVzZXQAFUxqYXZhL2xhbmcvVGhyb3dhYmxlO0wADWRldGFpbE1lc3NhZ2V0ABJMamF2YS9sYW5nL1N0cmluZztbAApzdGFja1RyYWNldAAeW0xqYXZhL2xhbmcvU3RhY2tUcmFjZUVsZW1lbnQ7TAAUc3VwcHJlc3NlZEV4Y2VwdGlvbnN0ABBMamF2YS91dGlsL0xpc3Q7eHBxAH4AB3QAqEpvYiBmYWlsZWQgZHVlIHRvIGV4Y2VwdGlvbiBNaWdyYXRpb24gb2YgdGhlIHZtIFZNW1VzZXJ8aS0yLTI1LVZNXWZyb20gaG9zdCBIb3N0Wy0zLVJvdXRpbmddIHRvIGRlc3RpbmF0aW9uIGhvc3QgSG9zdFstMi1Sb3V0aW5nXSBkb2Vzbid0IGludm9sdmUgbWlncmF0aW5nIHRoZSB2b2x1bWVzLnVyAB5bTGphdmEubGFuZy5TdGFja1RyYWNlRWxlbWVudDsCRio8PP0iOQIAAHhwAAAADnNyABtqYXZhLmxhbmcuU3RhY2tUcmFjZUVsZW1lbnRhCcWaJjbdhQIABEkACmxpbmVOdW1iZXJMAA5kZWNsYXJpbmdDbGFzc3EAfgAETAAIZmlsZU5hbWVxAH4ABEwACm1ldGhvZE5hbWVxAH4ABHhwAAAAcnQAIGNvbS5jbG91ZC52bS5WbVdvcmtKb2JEaXNwYXRjaGVydAAYVm1Xb3JrSm9iRGlzcGF0Y2hlci5qYXZhdAAGcnVuSm9ic3EAfgALAAAB93QAP29yZy5hcGFjaGUuY2xvdWRzdGFjay5mcmFtZXdvcmsuam9icy5pbXBsLkFzeW5jSm9iTWFuYWdlckltcGwkNXQAGEFzeW5jSm9iTWFuYWdlckltcGwuamF2YXQADHJ1bkluQ29udGV4dHNxAH4ACwAAADF0AD5vcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0Lk1hbmFnZWRDb250ZXh0UnVubmFibGUkMXQAG01hbmFnZWRDb250ZXh0UnVubmFibGUuamF2YXQAA3J1bnNxAH4ACwAAADh0AEJvcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0LmltcGwuRGVmYXVsdE1hbmFnZWRDb250ZXh0JDF0ABpEZWZhdWx0TWFuYWdlZENvbnRleHQuamF2YXQABGNhbGxzcQB-AAsAAABndABAb3JnLmFwYWNoZS5jbG91ZHN0YWNrLm1hbmFnZWQuY29udGV4dC5pbXBsLkRlZmF1bHRNYW5hZ2VkQ29udGV4dHEAfgAadAAPY2FsbFdpdGhDb250ZXh0c3EAfgALAAAANXEAfgAdcQB-ABp0AA5ydW5XaXRoQ29udGV4dHNxAH4ACwAAAC50ADxvcmcuYXBhY2hlLmNsb3Vkc3RhY2subWFuYWdlZC5jb250ZXh0Lk1hbmFnZWRDb250ZXh0UnVubmFibGVxAH4AFnEAfgAXc3EAfgALAAABzHEAfgARcQB-ABJxAH4AF3NxAH4ACwAAAdd0AC5qYXZhLnV0aWwuY29uY3VycmVudC5FeGVjdXRvcnMkUnVubmFibGVBZGFwdGVydAAORXhlY3V0b3JzLmphdmFxAH4AG3NxAH4ACwAAAU50ACRqYXZhLnV0aWwuY29uY3VycmVudC5GdXR1cmVUYXNrJFN5bmN0AA9GdXR1cmVUYXNrLmphdmF0AAhpbm5lclJ1bnNxAH4ACwAAAKZ0AB9qYXZhLnV0aWwuY29uY3VycmVudC5GdXR1cmVUYXNrcQB-AClxAH4AF3NxAH4ACwAABFZ0ACdqYXZhLnV0aWwuY29uY3VycmVudC5UaHJlYWRQb29sRXhlY3V0b3J0ABdUaHJlYWRQb29sRXhlY3V0b3IuamF2YXQACXJ1bldvcmtlcnNxAH4ACwAAAlt0AC5qYXZhLnV0aWwuY29uY3VycmVudC5UaHJlYWRQb29sRXhlY3V0b3IkV29ya2VycQB-AC9xAH4AF3NxAH4ACwAAAtJ0ABBqYXZhLmxhbmcuVGhyZWFkdAALVGhyZWFkLmphdmFxAH4AF3NyACZqYXZhLnV0aWwuQ29sbGVjdGlvbnMkVW5tb2RpZmlhYmxlTGlzdPwPJTG17I4QAgABTAAEbGlzdHEAfgAGeHIALGphdmEudXRpbC5Db2xsZWN0aW9ucyRVbm1vZGlmaWFibGVDb2xsZWN0aW9uGUIAgMte9x4CAAFMAAFjdAAWTGphdmEvdXRpbC9Db2xsZWN0aW9uO3hwc3IAE2phdmEudXRpbC5BcnJheUxpc3R4gdIdmcdhnQMAAUkABHNpemV4cAAAAAB3BAAAAAB4cQB-ADt4 > 2014-06-03 13:45:58,274 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129) Done executing > com.cloud.vm.VmWorkMigrate for job-129 > 2014-06-03 13:45:58,300 DEBUG [o.a.c.f.j.i.SyncQueueManagerImpl] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129) Sync queue (74) is > currently empty > 2014-06-03 13:45:58,300 INFO [o.a.c.f.j.i.AsyncJobMonitor] > (Work-Job-Executor-32:ctx-1ab80a32 job-128/job-129) Remove job-129 from job > monitoring > 2014-06-03 13:45:58,303 ERROR [c.c.a.ApiAsyncJobDispatcher] > (API-Job-Executor-31:ctx-beda71d5 job-128) 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-25-VM]from host Host[-3-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-06-03 13:45:58,304 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (API-Job-Executor-31:ctx-beda71d5 job-128) Complete async job-128, 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-25-VM]from host > Host[-3-Routing] to destination host Host[-2-Routing] doesn\u0027t involve > migrating the volumes."} > 2014-06-03 13:45:58,314 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (API-Job-Executor-31:ctx-beda71d5 job-128) Done executing > org.apache.cloudstack.api.command.admin.vm.MigrateVirtualMachineWithVolumeCmd > for job-128 -- This message was sent by Atlassian JIRA (v6.2#6252)