Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5FBB317D6F for ; Mon, 10 Nov 2014 19:17:19 +0000 (UTC) Received: (qmail 46622 invoked by uid 500); 10 Nov 2014 19:17:18 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 46569 invoked by uid 500); 10 Nov 2014 19:17:18 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 46557 invoked by uid 99); 10 Nov 2014 19:17:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 19:17:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cloudstck@trick-solutions.com designates 216.249.106.136 as permitted sender) Received: from [216.249.106.136] (HELO mail.w3fc.com) (216.249.106.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2014 19:17:12 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.w3fc.com (Postfix) with ESMTP id A5D26B461B8 for ; Mon, 10 Nov 2014 14:16:21 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mail.w3fc.com Received: from mail.w3fc.com ([216.249.106.136]) by localhost (web1.w3fc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tBKKg7yykhje for ; Mon, 10 Nov 2014 14:16:12 -0500 (EST) Received: from Tek505 (unknown [216.249.110.194]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: cloudstck@trick-solutions.com) by mail.w3fc.com (Postfix) with ESMTPSA id 7EA41B4606B for ; Mon, 10 Nov 2014 14:16:12 -0500 (EST) From: "Matthew Midgett" To: References: <01e101cffd15$6bda8fa0$438faee0$@trick-solutions.com> In-Reply-To: Subject: RE: Error Deploying template - Caused by: com.cloud.utils.exception.CloudRuntimeException: DB Exception on: Date: Mon, 10 Nov 2014 14:16:04 -0500 Message-ID: <01f701cffd1a$c682ed80$5388c880$@trick-solutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQCTD/pmNE1WpCfvF1oXagkLvBFfPAHFupLlnsXnZvA= Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org Got this=20 MySQL returned an empty result set (i.e. zero rows). (Query took 0.0006 = sec) SELECT template_spool_ref.id, template_spool_ref.pool_id, template_spool_ref.template_id, template_spool_ref.created, template_spool_ref.last_updated, template_spool_ref.download_pct, template_spool_ref.download_state, template_spool_ref.local_path, template_spool_ref.error_str, template_spool_ref.job_id, template_spool_ref.install_path, template_spool_ref.template_size, template_spool_ref.marked_for_gc, template_spool_ref.update_count, template_spool_ref.updated, template_spool_ref.state FROM template_spool_ref WHERE template_spool_ref.pool_id =3D1 AND template_spool_ref.template_id =3D5 ORDER BY RAND( )=20 LIMIT 1 CONFIDENTIAL: This electronic mail, including any attachment(s) may = contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s).=A0 Any dissemination or use of this electronic email or its contents (including = any attachments) by persons other than the intended recipient(s) is strictly prohibited.=A0 If you have received this message in error, please = notify=A0me immediately by reply email so that=A0I may correct=A0my internal = records.=A0 Please then delete the original message (including any attachments) in = its entirety.=A0 Thank you. -----Original Message----- From: Sam Ceylani [mailto:sam@mistercertified.com]=20 Sent: Monday, November 10, 2014 1:56 PM To: Subject: Re: Error Deploying template - Caused by: com.cloud.utils.exception.CloudRuntimeException: DB Exception on: run that query aganist the database to see if you can pull results Sent from my iPhone > On Nov 10, 2014, at 1:48 PM, Matthew Midgett wrote: >=20 > Here is the full error that I think is causing problems deploying template. > Can someone direct me on this. >=20 >=20 >=20 > Xenserver 6.2 fully patched >=20 > ACS 4.4.0 >=20 >=20 >=20 > 1140536605631578261: Processing: >=20 > { Ans: , MgmtId: 34031122767759, via: 4, Ver: v1, Flags: 10,=20 > [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"newData":{"o > rg.apa=20 > che.cloudstack.storage.to.TemplateObjectTO":{"path":"087d7f86-55e7-460 > 5-99ff=20 > -74861497f887","uuid":"087d7f86-55e7-4605-99ff-74861497f887","id":0,"form= at" > :"VHD","accountId":0,"hvm":false}},"result":true,"wait":0}}] } >=20 > 2014-11-10 13:26:17,464 DEBUG [c.c.a.t.Request]=20 > (Work-Job-Executor-5:ctx-4676a3eb job-941/job-944 ctx-ad5d3c7f) Seq > 4-1140536605631578261: Received: { Ans: , MgmtId: 34031122767759,=20 > via: 4, > Ver: v1, Flags: 10, { CopyCmdAnswer } } >=20 > 2014-11-10 13:26:17,465 DEBUG [o.a.c.s.i.s.TemplateObject]=20 > (Work-Job-Executor-5:ctx-4676a3eb job-941/job-944 ctx-ad5d3c7f) failed = > to process event and answer >=20 > com.cloud.utils.exception.CloudRuntimeException: DB Exception on: > com.mysql.jdbc.JDBC4PreparedStatement@71aa18cc: SELECT=20 > template_spool_ref.id, template_spool_ref.pool_id,=20 > template_spool_ref.template_id, template_spool_ref.created,=20 > template_spool_ref.last_updated, template_spool_ref.download_pct,=20 > template_spool_ref.download_state, template_spool_ref.local_path,=20 > template_spool_ref.error_str, template_spool_ref.job_id,=20 > template_spool_ref.install_path, template_spool_ref.template_size,=20 > template_spool_ref.marked_for_gc, template_spool_ref.update_count,=20 > template_spool_ref.updated, template_spool_ref.state FROM=20 > template_spool_ref WHERE template_spool_ref.pool_id =3D 1 AND=20 > template_spool_ref.template_id =3D 5 ORDER BY RAND() LIMIT 1 >=20 > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBas > e.java > :425) >=20 > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBas > e.java > :361) >=20 > at > com.cloud.utils.db.GenericDaoBase.findOneIncludingRemovedBy(GenericDao > Base.j > ava:889) >=20 > at > com.cloud.storage.dao.VMTemplatePoolDaoImpl.findByPoolTemplate(VMTempl > atePoo > lDaoImpl.java:128) >=20 > at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown=20 > Source) >=20 > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl > .java:43) >=20 > at java.lang.reflect.Method.invoke(Method.java:606) >=20 > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflectio > n(AopU > tils.java:317) >=20 > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoi > npoint > (ReflectiveMethodInvocation.java:183) >=20 > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R > eflect > iveMethodInvocation.java:150) >=20 > at > com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionCon > textIn > terceptor.java:34) >=20 > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R > eflect > iveMethodInvocation.java:161) >=20 > at > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke > (Expos > eInvocationInterceptor.java:91) >=20 > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R > eflect > iveMethodInvocation.java:172) >=20 > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamic > AopPro > xy.java:204) >=20 > at com.sun.proxy.$Proxy63.findByPoolTemplate(Unknown Source) >=20 > at > org.apache.cloudstack.storage.image.store.TemplateObject.processEvent( > Templa > teObject.java:191) >=20 > at > org.apache.cloudstack.storage.volume.VolumeServiceImpl.copyBaseImageCa > llback > (VolumeServiceImpl.java:565) >=20 > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >=20 > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57 > ) >=20 > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl > .java:43) >=20 > at java.lang.reflect.Method.invoke(Method.java:606) >=20 > at > org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.dispatch > (Async > CallbackDispatcher.java:148) >=20 > at > org.apache.cloudstack.framework.async.InplaceAsyncCallbackDriver.perfo > rmComp > letionCallback(InplaceAsyncCallbackDriver.java:25) >=20 > at > org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.complete > (Async > CallbackDispatcher.java:126) >=20 > at > org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsy > nc(Anc > ientDataMotionStrategy.java:446) >=20 > at > org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(D > ataMot > ionServiceImpl.java:68) >=20 > at > org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(D > ataMot > ionServiceImpl.java:73) >=20 > at > org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImage > Async( > VolumeServiceImpl.java:499) >=20 > at > org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFro > mTempl > ateAsync(VolumeServiceImpl.java:745) >=20 > at > org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreate > Volume > (VolumeOrchestrator.java:1191) >=20 > at > org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare( > Volume > Orchestrator.java:1255) >=20 > at > com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine > Manage > rImpl.java:987) >=20 > at > com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine > Manage > rImpl.java:5190) >=20 > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >=20 > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57 > ) >=20 > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl > .java:43) >=20 > at java.lang.reflect.Method.invoke(Method.java:606) >=20 > at > com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerPro > xy.jav > a:107) >=20 > at > com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineM > anager > Impl.java:5335) >=20 > at > com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102) >=20 > at > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInC > ontext > (AsyncJobManagerImpl.java:503) >=20 > at > org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Man > agedCo > ntextRunnable.java:49) >=20 > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.cal > l(Defa > ultManagedContext.java:56) >=20 > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callW > ithCon > text(DefaultManagedContext.java:103) >=20 > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWi > thCont > ext(DefaultManagedContext.java:53) >=20 > at > org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Manag > edCont > extRunnable.java:46) >=20 > at > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(As > yncJob > ManagerImpl.java:460) >=20 > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471 > ) >=20 > at java.util.concurrent.FutureTask.run(FutureTask.java:262) >=20 > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:11 > 45) >=20 > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:6 > 15) >=20 > at java.lang.Thread.run(Thread.java:745) >=20 > Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure >=20 >=20 >=20 > The last packet successfully received from the server was 68,537=20 > milliseconds ago. The last packet sent successfully to the server was = > 0 milliseconds ago. >=20 > at=20 > sun.reflect.GeneratedConstructorAccessor127.newInstance(Unknown > Source) >=20 > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo > nstruc > torAccessorImpl.java:45) >=20 > at=20 > java.lang.reflect.Constructor.newInstance(Constructor.java:526) >=20 > at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) >=20 > at > com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:11 > 16) >=20 > at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3090) >=20 > at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2979) >=20 > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3520) >=20 > at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990) >=20 > at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151) >=20 > at=20 > com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625) >=20 > at > com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.jav > a:2119 > ) >=20 > at > com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2 > 283) >=20 > at > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg > atingP > reparedStatement.java:96) >=20 > at > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg > atingP > reparedStatement.java:96) >=20 > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBas > e.java > :419) >=20 > ... 52 more >=20 > Caused by: java.io.EOFException: Can not read response from server.=20 > Expected to read 4 bytes, read 0 bytes before connection was = unexpectedly lost. >=20 > ... 67 more >=20 > 2014-11-10 13:26:17,491 DEBUG [o.a.c.s.v.VolumeServiceImpl]=20 > (Work-Job-Executor-5:ctx-4676a3eb job-941/job-944 ctx-ad5d3c7f) failed = > to create template on storage >=20 > java.lang.RuntimeException: InvocationTargetException when invoking=20 > RPC callback for command: copyBaseImageCallback >=20 > at > org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.dispatch > (Async > CallbackDispatcher.java:154) >=20 > at > org.apache.cloudstack.framework.async.InplaceAsyncCallbackDriver.perfo > rmComp > letionCallback(InplaceAsyncCallbackDriver.java:25) >=20 > at > org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.complete > (Async > CallbackDispatcher.java:126) >=20 > at > org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsy > nc(Anc > ientDataMotionStrategy.java:446) >=20 > at > org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(D > ataMot > ionServiceImpl.java:68) >=20 > at > org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(D > ataMot > ionServiceImpl.java:73) >=20 > at > org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImage > Async( > VolumeServiceImpl.java:499) >=20 > at > org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFro > mTempl > ateAsync(VolumeServiceImpl.java:745) >=20 > at > org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreate > Volume > (VolumeOrchestrator.java:1191) >=20 > at > org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare( > Volume > Orchestrator.java:1255) >=20 > at > com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine > Manage > rImpl.java:987) >=20 > at > com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine > Manage > rImpl.java:5190) >=20 > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >=20 > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57 > ) >=20 > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl > .java:43) >=20 > at java.lang.reflect.Method.invoke(Method.java:606) >=20 > at > com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerPro > xy.jav > a:107) >=20 > at > com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineM > anager > Impl.java:5335) >=20 > at > com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102) >=20 > at > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInC > ontext > (AsyncJobManagerImpl.java:503) >=20 > at > org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Man > agedCo > ntextRunnable.java:49) >=20 > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.cal > l(Defa > ultManagedContext.java:56) >=20 > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callW > ithCon > text(DefaultManagedContext.java:103) >=20 > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWi > thCont > ext(DefaultManagedContext.java:53) >=20 > at > org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Manag > edCont > extRunnable.java:46) >=20 > at > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(As > yncJob > ManagerImpl.java:460) >=20 > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471 > ) >=20 > at java.util.concurrent.FutureTask.run(FutureTask.java:262) >=20 > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:11 > 45) >=20 > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:6 > 15) >=20 > at java.lang.Thread.run(Thread.java:745) >=20 > Caused by: java.lang.reflect.InvocationTargetException >=20 > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >=20 > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57 > ) >=20 > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl > .java:43) >=20 > at java.lang.reflect.Method.invoke(Method.java:606) >=20 > at > org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.dispatch > (Async > CallbackDispatcher.java:148) >=20 > ... 30 more >=20 > Caused by: com.cloud.utils.exception.CloudRuntimeException: Failed to=20 > process event >=20 > at > org.apache.cloudstack.storage.image.store.TemplateObject.processEvent( > Templa > teObject.java:232) >=20 > at > org.apache.cloudstack.storage.volume.VolumeServiceImpl.copyBaseImageCa > llback > (VolumeServiceImpl.java:565) >=20 > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >=20 > ... 34 more >=20 > Caused by: com.cloud.utils.exception.CloudRuntimeException: DB = Exception on: > com.mysql.jdbc.JDBC4PreparedStatement@71aa18cc: SELECT=20 > template_spool_ref.id, template_spool_ref.pool_id,=20 > template_spool_ref.template_id, template_spool_ref.created,=20 > template_spool_ref.last_updated, template_spool_ref.download_pct,=20 > template_spool_ref.download_state, template_spool_ref.local_path,=20 > template_spool_ref.error_str, template_spool_ref.job_id,=20 > template_spool_ref.install_path, template_spool_ref.template_size,=20 > template_spool_ref.marked_for_gc, template_spool_ref.update_count,=20 > template_spool_ref.updated, template_spool_ref.state FROM=20 > template_spool_ref WHERE template_spool_ref.pool_id =3D 1 AND=20 > template_spool_ref.template_id =3D 5 ORDER BY RAND() LIMIT 1 >=20 > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBas > e.java > :425) >=20 > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBas > e.java > :361) >=20 > at > com.cloud.utils.db.GenericDaoBase.findOneIncludingRemovedBy(GenericDao > Base.j > ava:889) >=20 > at > com.cloud.storage.dao.VMTemplatePoolDaoImpl.findByPoolTemplate(VMTempl > atePoo > lDaoImpl.java:128) >=20 > at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown=20 > Source) >=20 > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl > .java:43) >=20 > at java.lang.reflect.Method.invoke(Method.java:606) >=20 > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflectio > n(AopU > tils.java:317) >=20 > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoi > npoint > (ReflectiveMethodInvocation.java:183) >=20 > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R > eflect > iveMethodInvocation.java:150) >=20 > at > com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionCon > textIn > terceptor.java:34) >=20 > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R > eflect > iveMethodInvocation.java:161) >=20 > at > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke > (Expos > eInvocationInterceptor.java:91) >=20 > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(R > eflect > iveMethodInvocation.java:172) >=20 > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamic > AopPro > xy.java:204) >=20 > at com.sun.proxy.$Proxy63.findByPoolTemplate(Unknown Source) >=20 > at > org.apache.cloudstack.storage.image.store.TemplateObject.processEvent( > Templa > teObject.java:191) >=20 > ... 36 more >=20 > Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: > Communications link failure >=20 >=20 >=20 > The last packet successfully received from the server was 68,537=20 > milliseconds ago. The last packet sent successfully to the server was = > 0 milliseconds ago. >=20 > at=20 > sun.reflect.GeneratedConstructorAccessor127.newInstance(Unknown > Source) >=20 > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo > nstruc > torAccessorImpl.java:45) >=20 > at=20 > java.lang.reflect.Constructor.newInstance(Constructor.java:526) >=20 > at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) >=20 > at > com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:11 > 16) >=20 > at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3090) >=20 > at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2979) >=20 > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3520) >=20 > at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990) >=20 > at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151) >=20 > at=20 > com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625) >=20 > at > com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.jav > a:2119 > ) >=20 > at > com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2 > 283) >=20 > at > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg > atingP > reparedStatement.java:96) >=20 > at > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg > atingP > reparedStatement.java:96) >=20 > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBas > e.java > :419) >=20 > ... 52 more >=20 > Caused by: java.io.EOFException: Can not read response from server.=20 > Expected to read 4 bytes, read 0 bytes before connection was = unexpectedly lost. >=20 > ... 67 more >=20 > 2014-11-10 13:26:17,499 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] > (Work-Job-Executor-5:ctx-4676a3eb job-941/job-944 ctx-ad5d3c7f)=20 > Template 5 is not found on storage pool 1, so no need to delete >=20 > 2014-11-10 13:26:17,500 INFO [o.a.c.s.v.VolumeServiceImpl]=20 > (Work-Job-Executor-5:ctx-4676a3eb job-941/job-944 ctx-ad5d3c7f)=20 > releasing lock for VMTemplateStoragePool 58 >=20 > 2014-11-10 13:26:17,503 ERROR [c.c.v.VirtualMachineManagerImpl]=20 > (Work-Job-Executor-5:ctx-4676a3eb job-941/job-944 ctx-ad5d3c7f) Failed = > to start instance VM[User|i-2-45-VM] >=20 > com.cloud.utils.exception.CloudRuntimeException: can't find mapping in = > ObjectInDataStore table for: > org.apache.cloudstack.storage.image.store.TemplateObject@797a6e2b >=20 > at > org.apache.cloudstack.storage.datastore.ObjectInDataStoreManagerImpl.u > pdate( > ObjectInDataStoreManagerImpl.java:283) >=20 > at > org.apache.cloudstack.storage.image.store.TemplateObject.processEvent( > Templa > teObject.java:171) >=20 > at > org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImage > Async( > VolumeServiceImpl.java:502) >=20 > at > org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFro > mTempl > ateAsync(VolumeServiceImpl.java:745) >=20 > at > org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreate > Volume > (VolumeOrchestrator.java:1191) >=20 > at > org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare( > Volume > Orchestrator.java:1255) >=20 > at > com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine > Manage > rImpl.java:987) >=20 > at > com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine > Manage > rImpl.java:5190) >=20 > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >=20 > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57 > ) >=20 > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl > .java:43) >=20 > at java.lang.reflect.Method.invoke(Method.java:606) >=20 > at > com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerPro > xy.jav > a:107) >=20 > at > com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineM > anager > Impl.java:5335) >=20 > at > com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102) >=20 > at > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInC > ontext > (AsyncJobManagerImpl.java:503) >=20 > at > org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Man > agedCo > ntextRunnable.java:49) >=20 > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.cal > l(Defa > ultManagedContext.java:56) >=20 > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callW > ithCon > text(DefaultManagedContext.java:103) >=20 > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWi > thCont > ext(DefaultManagedContext.java:53) >=20 > at > org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Manag > edCont > extRunnable.java:46) >=20 > at > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(As > yncJob > ManagerImpl.java:460) >=20 > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471 > ) >=20 > at java.util.concurrent.FutureTask.run(FutureTask.java:262) >=20 > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:11 > 45) >=20 > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:6 > 15) >=20 > at java.lang.Thread.run(Thread.java:745) >=20 >=20 >=20 >=20 >=20 > CONFIDENTIAL: This electronic mail, including any attachment(s) may=20 > contain information that is privileged, confidential, and/or otherwise = > protected from disclosure to anyone other than its intended=20 > recipient(s). Any dissemination or use of this electronic email or=20 > its contents (including any > attachments) by persons other than the intended recipient(s) is=20 > strictly prohibited. If you have received this message in error,=20 > please notify me immediately by reply email so that I may correct my internal records. > Please then delete the original message (including any attachments) in = > its entirety. Thank you. >=20 >=20 >=20