Hi All, I have upgraded ACS 4.3 to 4.4.0.From that time onwards the root volume snapshots are not taking properly, sometimes the snapshots are taking and sometimes the snapshots stuck in "ERROR" state. when ever i want to create template from a backedup snapshot i'm getting the error "Failed create template from snapshot The uuid you supplied was invalid."
The log file shows, 2014-09-23 18:55:54,197 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-5e74939f) Acquiring hosts for clusters already owned by this management server 2014-09-23 18:55:54,199 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-5e74939f) Completed acquiring hosts for clusters already owned by this management server 2014-09-23 18:55:54,199 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-5e74939f) Acquiring hosts for clusters not owned by any management server 2014-09-23 18:55:54,200 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-5e74939f) Completed acquiring hosts for clusters not owned by any management server 2014-09-23 18:56:02,808 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-2:null) SeqA 23-69610: Processing Seq 23-69610: { Cmd , MgmtId: -1, via: 23, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":155,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } 2014-09-23 18:56:02,813 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-2:null) SeqA 23-69610: Sending Seq 23-69610: { Ans: , MgmtId: 52244012385, via: 23, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2014-09-23 18:56:07,809 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 23-69611: Processing Seq 23-69611: { Cmd , MgmtId: -1, via: 23, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":155,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } 2014-09-23 18:56:07,814 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-4:null) SeqA 23-69611: Sending Seq 23-69611: { Ans: , MgmtId: 52244012385, via: 23, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2014-09-23 18:56:10,833 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-120d1e42) Zone 1 is ready to launch console proxy 2014-09-23 18:56:10,949 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-2b827d35) Zone 1 is ready to launch secondary storage VM 2014-09-23 18:56:16,215 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-1b03b697) ===START=== 10.0.1.100 -- GET command=createTemplate&response=json&sessionkey=bKgNoaskvKmQI0pYS%2F9DuT4raSA%3D&snapshotid=907fc0ec-d782-4407-8560-83e335f5c79e&name=testtmp&displayText=testtmp&osTypeId=d84de96a-1495-11e4-ba8d-000c29a411ce&isPublic=false&passwordEnabled=false&isdynamicallyscalable=false&_=1411524124265 2014-09-23 18:56:16,246 DEBUG [c.c.t.TemplateManagerImpl] (catalina-exec-2:ctx-1b03b697 ctx-11184fc3) This template is getting created from other template, setting source template Id to: 5 2014-09-23 18:56:16,292 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-2:ctx-1b03b697 ctx-11184fc3) submit async job-4429, details: AsyncJobVO {id:4429, userId: 2, accountId: 2, instanceType: Template, instanceId: 230, cmd: org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, cmdInfo: {"sessionkey":"bKgNoaskvKmQI0pYS/9DuT4raSA\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"d84de96a-1495-11e4-ba8d-000c29a411ce","isPublic":"false","isdynamicallyscalable":"false","response":"json","id":"230","ctxDetails":"{\"com.cloud.storage.Snapshot\":\"907fc0ec-d782-4407-8560-83e335f5c79e\",\"com.cloud.template.VirtualMachineTemplate\":\"1c9dff2f-22e9-4349-9bee-3c80d0bb4eea\",\"com.cloud.storage.GuestOS\":\"d84de96a-1495-11e4-ba8d-000c29a411ce\"}","displayText":"testtmp","snapshotid":"907fc0ec-d782-4407-8560-83e335f5c79e","passwordEnabled":"false","name":"testtmp","_":"1411524124265","uuid":"1c9dff2f-22e9-4349-9bee-3c80d0bb4eea","ctxAccountId":"2","ctxStartEventId":"16996"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 52244012385, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-09-23 18:56:16,293 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-65:ctx-5c66f5fd job-4429) Add job-4429 into job monitoring 2014-09-23 18:56:16,293 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-65:ctx-5c66f5fd job-4429) Executing AsyncJobVO {id:4429, userId: 2, accountId: 2, instanceType: Template, instanceId: 230, cmd: org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin, cmdInfo: {"sessionkey":"bKgNoaskvKmQI0pYS/9DuT4raSA\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"d84de96a-1495-11e4-ba8d-000c29a411ce","isPublic":"false","isdynamicallyscalable":"false","response":"json","id":"230","ctxDetails":"{\"com.cloud.storage.Snapshot\":\"907fc0ec-d782-4407-8560-83e335f5c79e\",\"com.cloud.template.VirtualMachineTemplate\":\"1c9dff2f-22e9-4349-9bee-3c80d0bb4eea\",\"com.cloud.storage.GuestOS\":\"d84de96a-1495-11e4-ba8d-000c29a411ce\"}","displayText":"testtmp","snapshotid":"907fc0ec-d782-4407-8560-83e335f5c79e","passwordEnabled":"false","name":"testtmp","_":"1411524124265","uuid":"1c9dff2f-22e9-4349-9bee-3c80d0bb4eea","ctxAccountId":"2","ctxStartEventId":"16996"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 52244012385, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-09-23 18:56:16,293 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-1b03b697 ctx-11184fc3) ===END=== 10.0.1.100 -- GET command=createTemplate&response=json&sessionkey=bKgNoaskvKmQI0pYS%2F9DuT4raSA%3D&snapshotid=907fc0ec-d782-4407-8560-83e335f5c79e&name=testtmp&displayText=testtmp&osTypeId=d84de96a-1495-11e4-ba8d-000c29a411ce&isPublic=false&passwordEnabled=false&isdynamicallyscalable=false&_=1411524124265 2014-09-23 18:56:16,313 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (API-Job-Executor-65:ctx-5c66f5fd job-4429 ctx-7a44c93c) template 230 is already in store:1, type:Image 2014-09-23 18:56:16,320 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] (API-Job-Executor-65:ctx-5c66f5fd job-4429 ctx-7a44c93c) copyAsync inspecting src type SNAPSHOT copyAsync inspecting dest type TEMPLATE 2014-09-23 18:56:16,364 DEBUG [c.c.a.t.Request] (API-Job-Executor-65:ctx-5c66f5fd job-4429 ctx-7a44c93c) Seq 27-5264145014442720328: Sending { Cmd , MgmtId: 52244012385, via: 27(pocxen03), Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/6/242/298ae5c3-060e-43f5-b3ad-2ec07ea59550","volume":{"uuid":"b6289b0c-d70a-459f-b1ff-c16f0986fcaa","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"c2fa1503-e5ba-3ae6-8ffd-db86be4c17f9","id":3,"poolType":"NetworkFilesystem","host":"192.168.2.10","path":"/exports/primary","port":2049,"url":"NetworkFilesystem:// 192.168.2.10/exports/primary/?ROLE=Primary&STOREUUID=c2fa1503-e5ba-3ae6-8ffd-db86be4c17f9 "}},"name":"ROOT-159","size":21474836480,"path":"28734dc3-0511-4344-9b15-d98ed47cdd18","volumeId":242,"vmName":"i-6-159-VM","accountId":6,"format":"VHD","id":242,"deviceId":0,"cacheMode":"NONE","hypervisorType":"XenServer"},"parentSnapshotPath":"snapshots/6/242/3990cbae-a375-4d45-8baa-a730df48bb33","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs:// 10.0.0.22/exports ","_role":"Image"}},"vmName":"i-6-159-VM","name":"VM-2f9ce04c-704e-4577-b9dd-160f8e19d8f1_ROOT-159_20140917223439","hypervisorType":"XenServer","id":525,"quiescevm":false,"parents":["snapshots/6/242/d32f3656-01c3-472a-8a0e-ff0a04f80108","snapshots/6/242/1ce77172-c271-4589-8a70-304dcd988cc1","snapshots/6/242/b0653ce0-13a5-4c20-9148-326e4682661d","snapshots/6/242/80e2691e-deaa-4a3f-9861-347883a33527","snapshots/6/242/3990cbae-a375-4d45-8baa-a730df48bb33"],"physicalSize":0}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/6/230","uuid":"1c9dff2f-22e9-4349-9bee-3c80d0bb4eea","id":230,"format":"RAW","accountId":6,"hvm":true,"displayText":"testtmp","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs:// 10.0.0.22/exports","_role":"Image"}},"name":"263553251-4588-3663-9a2e-08f6c028297b","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } 2014-09-23 18:56:16,365 DEBUG [c.c.a.t.Request] (API-Job-Executor-65:ctx-5c66f5fd job-4429 ctx-7a44c93c) Seq 27-5264145014442720328: Executing: { Cmd , MgmtId: 52244012385, via: 27(pocxen03), Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/6/242/298ae5c3-060e-43f5-b3ad-2ec07ea59550","volume":{"uuid":"b6289b0c-d70a-459f-b1ff-c16f0986fcaa","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"c2fa1503-e5ba-3ae6-8ffd-db86be4c17f9","id":3,"poolType":"NetworkFilesystem","host":"192.168.2.10","path":"/exports/primary","port":2049,"url":"NetworkFilesystem:// 192.168.2.10/exports/primary/?ROLE=Primary&STOREUUID=c2fa1503-e5ba-3ae6-8ffd-db86be4c17f9 "}},"name":"ROOT-159","size":21474836480,"path":"28734dc3-0511-4344-9b15-d98ed47cdd18","volumeId":242,"vmName":"i-6-159-VM","accountId":6,"format":"VHD","id":242,"deviceId":0,"cacheMode":"NONE","hypervisorType":"XenServer"},"parentSnapshotPath":"snapshots/6/242/3990cbae-a375-4d45-8baa-a730df48bb33","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs:// 10.0.0.22/exports ","_role":"Image"}},"vmName":"i-6-159-VM","name":"VM-2f9ce04c-704e-4577-b9dd-160f8e19d8f1_ROOT-159_20140917223439","hypervisorType":"XenServer","id":525,"quiescevm":false,"parents":["snapshots/6/242/d32f3656-01c3-472a-8a0e-ff0a04f80108","snapshots/6/242/1ce77172-c271-4589-8a70-304dcd988cc1","snapshots/6/242/b0653ce0-13a5-4c20-9148-326e4682661d","snapshots/6/242/80e2691e-deaa-4a3f-9861-347883a33527","snapshots/6/242/3990cbae-a375-4d45-8baa-a730df48bb33"],"physicalSize":0}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/6/230","uuid":"1c9dff2f-22e9-4349-9bee-3c80d0bb4eea","id":230,"format":"RAW","accountId":6,"hvm":true,"displayText":"testtmp","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs:// 10.0.0.22/exports","_role":"Image"}},"name":"263553251-4588-3663-9a2e-08f6c028297b","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}] } 2014-09-23 18:56:16,365 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-110:ctx-4a033603) Seq 27-5264145014442720328: Executing request 2014-09-23 18:56:16,380 DEBUG [o.a.c.h.x.XenServerResourceNewBase] (DirectAgent-110:ctx-4a033603) Task: ref:OpaqueRef:ab2e4bf7-2823-2218-d30c-a2287892d9ac, UUID:0f2c0a40-8328-9e80-5293-0ed51c2bbeaa progress: 0.0 2014-09-23 18:56:16,380 DEBUG [o.a.c.h.x.XenServerResourceNewBase] (DirectAgent-110:ctx-4a033603) Task: ref:OpaqueRef:ab2e4bf7-2823-2218-d30c-a2287892d9ac, UUID:0f2c0a40-8328-9e80-5293-0ed51c2bbeaa progress: 0.0 2014-09-23 18:56:16,521 DEBUG [o.a.c.h.x.XenServerResourceNewBase] (DirectAgent-110:ctx-4a033603) Task, ref:OpaqueRef:ab2e4bf7-2823-2218-d30c-a2287892d9ac, UUID:0f2c0a40-8328-9e80-5293-0ed51c2bbeaa is done success 2014-09-23 18:56:16,533 DEBUG [o.a.c.h.x.XenServerResourceNewBase] (DirectAgent-110:ctx-4a033603) Task: ref:OpaqueRef:09ce4525-777f-8cb7-b391-04222d500b7f, UUID:19d8a69d-7030-d552-55ce-2170c0705c7e progress: 0.0 2014-09-23 18:56:16,642 DEBUG [o.a.c.h.x.XenServerResourceNewBase] (DirectAgent-110:ctx-4a033603) Task, ref:OpaqueRef:09ce4525-777f-8cb7-b391-04222d500b7f, UUID:19d8a69d-7030-d552-55ce-2170c0705c7e is done success 2014-09-23 18:56:17,155 ERROR [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-110:ctx-4a033603) Failed create template from snapshot 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.Xenserver625StorageProcessor.createTemplateFromSnapshot(Xenserver625StorageProcessor.java:881) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:98) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:52) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:546) at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:61) at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102) at com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:65) 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:745) 2014-09-23 18:56:17,156 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-110:ctx-4a033603) Host 10.0.0.134 OpaqueRef:762c4048-d451-f38a-e626-30aa5a9205e4: Removing SR 2014-09-23 18:56:17,158 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-110:ctx-4a033603) Host 10.0.0.134 OpaqueRef:27cd74cf-0cba-08c5-06a5-3f2bd9d07071: Unplugging pbd 2014-09-23 18:56:17,259 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-110:ctx-4a033603) Host 10.0.0.134 OpaqueRef:762c4048-d451-f38a-e626-30aa5a9205e4: Forgetting 2014-09-23 18:56:17,262 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-110:ctx-4a033603) Host 10.0.0.134 OpaqueRef:eac01ff5-9703-6e83-7fc1-0e1f610f5715: Removing SR 2014-09-23 18:56:17,280 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-110:ctx-4a033603) Host 10.0.0.134 OpaqueRef:d71d68c7-f923-9cb2-6e5a-c2e8393dc646: Unplugging pbd 2014-09-23 18:56:17,371 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-110:ctx-4a033603) Host 10.0.0.134 OpaqueRef:eac01ff5-9703-6e83-7fc1-0e1f610f5715: Forgetting 2014-09-23 18:56:17,374 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-110:ctx-4a033603) Seq 27-5264145014442720328: Response Received: 2014-09-23 18:56:17,374 DEBUG [c.c.a.t.Request] (API-Job-Executor-65:ctx-5c66f5fd job-4429 ctx-7a44c93c) Seq 27-5264145014442720328: Received: { Ans: , MgmtId: 52244012385, via: 27, Ver: v1, Flags: 10, { CopyCmdAnswer } } 2014-09-23 18:56:17,379 DEBUG [c.c.t.TemplateManagerImpl] (API-Job-Executor-65:ctx-5c66f5fd job-4429 ctx-7a44c93c) Failed to create templateFailed create template from snapshot The uuid you supplied was invalid. 2014-09-23 18:56:17,390 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-65:ctx-5c66f5fd job-4429) Unexpected exception while executing org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin com.cloud.utils.exception.CloudRuntimeException: Failed to create templateFailed create template from snapshot The uuid you supplied was invalid. at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1402) 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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy172.createPrivateTemplate(Unknown Source) at org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin.execute(CreateTemplateCmdByAdmin.java:42) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108) 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.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:745) 2014-09-23 18:56:17,391 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-65:ctx-5c66f5fd job-4429) Complete async job-4429, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed to create templateFailed create template from snapshot The uuid you supplied was invalid."} 2014-09-23 18:56:17,397 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-65:ctx-5c66f5fd job-4429) Done executing org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin for job-4429 2014-09-23 18:56:17,810 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-15:null) SeqA 23-69612: Processing Seq 23-69612: { Cmd , MgmtId: -1, via: 23, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":155,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } 2014-09-23 18:56:17,815 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-15:null) SeqA 23-69612: Sending Seq 23-69612: { Ans: , MgmtId: 52244012385, via: 23, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2014-09-23 18:56:18,341 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-badde19d) Found 9 routers to update status. 2014-09-23 18:56:18,344 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-badde19d) Found 1 networks to update RvR status. 2014-09-23 18:56:18,355 DEBUG [c.c.a.t.Request] (RedundantRouterStatusMonitor-7:ctx-b4b5e000) Seq 5-7994170813559375748: Sending { Cmd , MgmtId: 52244012385, via: 5(pocxen02.sdc.local), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.CheckRouterCommand":{"accessDetails":{"router.name":"r-215-VM","router.ip":"169.254.2.5"},"wait":30}}] } 2014-09-23 18:56:18,355 DEBUG [c.c.a.t.Request] (RedundantRouterStatusMonitor-7:ctx-b4b5e000) Seq 5-7994170813559375748: Executing: { Cmd , MgmtId: 52244012385, via: 5(pocxen02.sdc.local), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.CheckRouterCommand":{"accessDetails":{"router.name":"r-215-VM","router.ip":"169.254.2.5"},"wait":30}}] } 2014-09-23 18:56:18,355 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-377:ctx-a5e01a22) Seq 5-7994170813559375748: Executing request 2014-09-23 18:56:18,355 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-377:ctx-a5e01a22) Executing command in VR: /opt/cloud/bin/router_proxy.sh checkrouter.sh 169.254.2.5 null 2014-09-23 18:56:18,690 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-377:ctx-a5e01a22) Seq 5-7994170813559375748: Response Received: 2014-09-23 18:56:18,690 DEBUG [c.c.a.t.Request] (DirectAgent-377:ctx-a5e01a22) Seq 5-7994170813559375748: Processing: { Ans: , MgmtId: 52244012385, via: 5, Ver: v1, Flags: 10, [{"com.cloud.agent.api.CheckRouterAnswer":{"state":"BACKUP","isBumped":false,"result":true,"details":"Status: BACKUP&Bumped: NO\n","wait":0}}] } 2014-09-23 18:56:18,692 DEBUG [c.c.a.t.Request] (RedundantRouterStatusMonitor-7:ctx-b4b5e000) Seq 5-7994170813559375748: Received: { Ans: , MgmtId: 52244012385, via: 5, Ver: v1, Flags: 10, { CheckRouterAnswer } } 2014-09-23 18:56:18,692 DEBUG [c.c.a.m.AgentManagerImpl] (RedundantRouterStatusMonitor-7:ctx-b4b5e000) Details from executing class com.cloud.agent.api.CheckRouterCommand: Status: BACKUP&Bumped: NO 2014-09-23 18:56:18,705 DEBUG [c.c.a.t.Request] (RedundantRouterStatusMonitor-7:ctx-b4b5e000) Seq 27-5264145014442720329: Sending { Cmd , MgmtId: 52244012385, via: 27(pocxen03), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.CheckRouterCommand":{"accessDetails":{" router.name":"r-216-VM","router.ip":"169.254.3.4"},"wait":30}}] } 2014-09-23 18:56:18,706 DEBUG [c.c.a.t.Request] (RedundantRouterStatusMonitor-7:ctx-b4b5e000) Seq 27-5264145014442720329: Executing: { Cmd , MgmtId: 52244012385, via: 27(pocxen03), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.CheckRouterCommand":{"accessDetails":{" router.name":"r-216-VM","router.ip":"169.254.3.4"},"wait":30}}] } 2014-09-23 18:56:18,706 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-402:ctx-69328182) Seq 27-5264145014442720329: Executing request 2014-09-23 18:56:18,706 DEBUG [c.c.h.x.r.CitrixResourceBase] (DirectAgent-402:ctx-69328182) Executing command in VR: /opt/cloud/bin/router_proxy.sh checkrouter.sh 169.254.3.4 null 2014-09-23 18:56:19,061 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-402:ctx-69328182) Seq 27-5264145014442720329: Response Received: 2014-09-23 18:56:19,062 DEBUG [c.c.a.t.Request] (DirectAgent-402:ctx-69328182) Seq 27-5264145014442720329: Processing: { Ans: , MgmtId: 52244012385, via: 27, Ver: v1, Flags: 10, [{"com.cloud.agent.api.CheckRouterAnswer":{"state":"MASTER","isBumped":false,"result":true,"details":"Status: MASTER&Bumped: NO\n","wait":0}}] } Is there a solution for the problem? if there please tell how to take the template from the existing backed up snapshots and also why the ERROR is coming whenever a root volume snapshot is taken?. Thanks & Regards, Rajasekhar.