cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6452) Failed to Live Migrate VM across clusters with Xenserver 6.2.5
Date Fri, 18 Apr 2014 12:08:16 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974004#comment-13974004
] 

Sailaja Mada commented on CLOUDSTACK-6452:
------------------------------------------

VM is not getting started after migration failure:

lags: 10, { Answer } }
2014-04-18 17:34:53,029 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Work-Job-Executor-40:job-193/job-195
ctx-5f835fbc) Volume 27 is not found on image store 1, so no need to delete
2014-04-18 17:34:53,033 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Work-Job-Executor-40:job-193/job-195
ctx-5f835fbc) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7a329b),
no need to delete from object in store ref table
2014-04-18 17:34:53,038 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Work-Job-Executor-40:job-193/job-195
ctx-5f835fbc) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@649dc40),
no need to delete from object in store ref table
2014-04-18 17:34:53,092 DEBUG [c.c.a.t.Request] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc)
Seq 4-3512807709348993546: Sending  { Cmd , MgmtId: 55355881446856, via: 4(cldstk-R720-66),
Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DeleteCommand":{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"640dc9fb-3ec5-4ca6-9750-7046f3e5b50f","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"cae1ed4a-6d0d-3f91-9986-73c0a5240b25","id":2,"poolType":"NetworkFilesystem","host":"10.102.192.101","path":"/Sailaja/gpunewss1","port":2049,"url":"NetworkFilesystem://10.102.192.101/Sailaja/gpunewss1/?ROLE=Primary&STOREUUID=cae1ed4a-6d0d-3f91-9986-73c0a5240b25"}},"name":"ROOT-21","size":21474836480,"path":"a596f936-c701-49ad-8bb4-f31b45454ee5","volumeId":28,"vmName":"i-3-21-VM","accountId":3,"format":"VHD","id":28,"deviceId":0,"hypervisorType":"XenServer"}},"wait":0}}]
}
2014-04-18 17:34:53,092 DEBUG [c.c.a.t.Request] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc)
Seq 4-3512807709348993546: Executing:  { Cmd , MgmtId: 55355881446856, via: 4(cldstk-R720-66),
Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DeleteCommand":{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"640dc9fb-3ec5-4ca6-9750-7046f3e5b50f","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"cae1ed4a-6d0d-3f91-9986-73c0a5240b25","id":2,"poolType":"NetworkFilesystem","host":"10.102.192.101","path":"/Sailaja/gpunewss1","port":2049,"url":"NetworkFilesystem://10.102.192.101/Sailaja/gpunewss1/?ROLE=Primary&STOREUUID=cae1ed4a-6d0d-3f91-9986-73c0a5240b25"}},"name":"ROOT-21","size":21474836480,"path":"a596f936-c701-49ad-8bb4-f31b45454ee5","volumeId":28,"vmName":"i-3-21-VM","accountId":3,"format":"VHD","id":28,"deviceId":0,"hypervisorType":"XenServer"}},"wait":0}}]
}
2014-04-18 17:34:53,093 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-498:ctx-05f1b882)
Seq 4-3512807709348993546: Executing request
2014-04-18 17:34:53,106 DEBUG [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-498:ctx-05f1b882)
Failed to delete volume
The uuid you supplied was invalid.
        at com.xensource.xenapi.Types.checkResponse(Types.java:1482)
        at com.xensource.xenapi.Connection.dispatch(Connection.java:350)
        at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:456)
        at com.xensource.xenapi.VDI.getByUuid(VDI.java:326)
        at com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.deleteVolume(XenServerStorageProcessor.java:505)
        at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:123)
        at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:56)
        at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:542)
        at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:60)
        at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:92)
        at com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:64)
        at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
        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 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
2014-04-18 17:34:53,107 DEBUG [c.c.a.t.Request] (DirectAgent-498:ctx-05f1b882) Seq 4-3512807709348993546:
Processing:  { Ans: , MgmtId: 55355881446856, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"The
uuid you supplied was invalid.","wait":0}}] }
2014-04-18 17:34:53,107 DEBUG [c.c.a.t.Request] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc)
Seq 4-3512807709348993546: Received:  { Ans: , MgmtId: 55355881446856, via: 4, Ver: v1, Flags:
10, { Answer } }
2014-04-18 17:34:53,111 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Work-Job-Executor-40:job-193/job-195
ctx-5f835fbc) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@4230599c),
no need to delete from object in store ref table
2014-04-18 17:34:53,111 ERROR [o.a.c.e.o.VolumeOrchestrator] (Work-Job-Executor-40:job-193/job-195
ctx-5f835fbc) migrate volume failed:Failed to copy volume to secondary: com.cloud.utils.exception.CloudRuntimeException:
Catch Exception com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid: a596f936-c701-49ad-8bb4-f31b45454ee5
failed due to The uuid you supplied was invalid.
2014-04-18 17:34:53,112 INFO  [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-40:job-193/job-195
ctx-5f835fbc) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] is unreachable:
migrate volume failed: Failed to copy volume to secondary: com.cloud.utils.exception.CloudRuntimeException:
Catch Exception com.xensource.xenapi.Types$UuidInvalid :VDI getByUuid for uuid: a596f936-c701-49ad-8bb4-f31b45454ee5
failed due to The uuid you supplied was invalid.
        at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.migrateVolume(VolumeOrchestrator.java:882)
        at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
        at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:984)
        at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5164)
        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:606)
        at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
        at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5309)
        at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:495)
        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:452)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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:744)
2014-04-18 17:34:53,120 DEBUG [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-40:job-193/job-195
ctx-5f835fbc) Cleaning up resources for the vm VM[User|i-3-21-VM] in Starting state
2014-04-18 17:34:53,123 DEBUG [c.c.a.t.Request] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc)
Seq 4-3512807709348993547: Sending  { Cmd , MgmtId: 55355881446856, via: 4(cldstk-R720-66),
Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"i-3-21-VM","wait":0}}]
}
2014-04-18 17:34:53,123 DEBUG [c.c.a.t.Request] (Work-Job-Executor-40:job-193/job-195 ctx-5f835fbc)
Seq 4-3512807709348993547: Executing:  { Cmd , MgmtId: 55355881446856, via: 4(cldstk-R720-66),
Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmName":"i-3-21-VM","wait":0}}]
}
2014-04-18 17:34:53,227 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-40:job-193/job-195
ctx-5f835fbc) Invocation exception, caused by: com.cloud.exception.InsufficientServerCapacityException:
Unable to create a deployment for VM[User|i-3-21-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
2014-04-18 17:34:53,228 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-40:job-193/job-195
ctx-5f835fbc) Rethrow exception com.cloud.exception.InsufficientServerCapacityException: Unable
to create a deployment for VM[User|i-3-21-VM]Scope=interface com.cloud.dc.DataCenter; id=1
2014-04-18 17:34:53,228 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-40:job-193/job-195)
Done with run of VM work job: com.cloud.vm.VmWorkStart for VM 21, job origin: 193
2014-04-18 17:34:53,228 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-40:job-193/job-195)
Unable to complete AsyncJobVO {id:195, userId: 3, accountId: 3, instanceType: null, instanceId:
null, cmd: com.cloud.vm.VmWorkStart, cmdInfo: rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAAAAAAAAAADAAAAAAAAAAMAAAAAAAAAFXQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAAAAAAAAAHBwcHBwcHBwc3IAEWphdmEudXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA_QAAAAAAADHcIAAAAEAAAAAF0AApWbVBhc3N3b3JkdAAcck8wQUJYUUFEbk5oZG1Wa1gzQmhjM04zYjNKa3hw,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
55355881446856, completeMsid: null, lastUpdated: null, lastPolled: null, created: Fri Apr
18 17:34:46 IST 2014}, job origin:193
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for
VM[User|i-3-21-VM]Scope=interface com.cloud.dc.DataCenter; id=1
        at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:943)
        at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5164)
        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:606)
        at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
        at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5309)
        at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:495)
        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:452)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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:744)
2014-04-18 17:34:53,230 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-40:job-193/job-195)
Complete async job-195, jobStatus: FAILED, resultCode: 0, result: rO0ABXNyABpqYXZhLmxhbmcuUnVudGltZUV4Y2VwdGlvbp5fBkcKNIPlAgAAeHIAE2phdmEubGFuZy5FeGNlcHRpb27Q_R8-GjscxAIAAHhyABNqYXZhLmxhbmcuVGhyb3dhYmxl1cY1Jzl3uMsDAARMAAVj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IdmcdhnQMAAUkABHNpemV4cAAAAAB3BAAAAAB4cQB-ADh4
2014-04-18 17:34:53,244 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-40:job-193/job-195)
Done executing com.cloud.vm.VmWorkStart for job-195


> Failed to Live Migrate VM across clusters with Xenserver 6.2.5
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6452
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6452
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller, XenServer
>    Affects Versions: 4.4.0
>            Reporter: Sailaja Mada
>            Priority: Critical
>             Fix For: 4.4.0
>
>         Attachments: migrationlogs.rar
>
>
> Steps:
> 1. Install and configure Adv zone using Xen 6.2.5 hypervisor  with 2 clusters having
1 host in each cluster
> 2. deploy Windows 2012 instance 
> 3. Live Migrate instance from cluster1 host to cluster2 
> Observation:
> Failed to Live Migrate VM across clusters with Xenserver 6.2.5
> Job failed due to exception Failed to migrated vm VM[User|i-3-21-VM] along with its volumes.
com.cloud.utils.exception.CloudRuntimeException: Error while migrating the vm VM[User|i-3-21-VM]
to host Host[-4-Routing]. Exception: com.cloud.utils.exception.CloudRuntimeException Message:
Unable to get the updated VDI paths of the migrated vm java.lang.ClassCastException: org.apache.cloudstack.storage.to.TemplateObjectTO
cannot be cast to org.apache.cloudstack.storage.to.VolumeObjectTO Stack: com.cloud.utils.exception.CloudRuntimeException:
Unable to get the updated VDI paths of the migrated vm java.lang.ClassCastException: org.apache.cloudstack.storage.to.TemplateObjectTO
cannot be cast to org.apache.cloudstack.storage.to.VolumeObjectTO at com.cloud.hypervisor.xen.resource.XenServer610Resource.getUpdatedVolumePathsOfMigratedVm(XenServer610Resource.java:123)
at com.cloud.hypervisor.xen.resource.XenServer610Resource.execute(XenServer610Resource.java:357)
at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:88)
at com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:64)
at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
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 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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:744) Caused by: java.lang.ClassCastException: org.apache.cloudstack.storage.to.TemplateObjectTO
cannot be cast to org.apache.cloudstack.storage.to.VolumeObjectTO at com.cloud.hypervisor.xen.resource.XenServer610Resource.getUpdatedVolumePathsOfMigratedVm(XenServer610Resource.java:113)
... 16 more 



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

Mime
View raw message