[ https://issues.apache.org/jira/browse/CLOUDSTACK-3144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Min Chen resolved CLOUDSTACK-3144. ---------------------------------- Resolution: Fixed > [Automation] Deletion of templates failing. Fails to find image store housing > template > -------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3144 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3144 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Storage Controller > Affects Versions: 4.2.0 > Reporter: Prasanna Santhanam > Assignee: Min Chen > Priority: Critical > Fix For: 4.2.0 > > Attachments: 427.tar.bz2, dbdump.tar.bz2 > > > Deletion of templates during account GC fails with the following exception > Jun 23 12:22:07 cloudstack-centos63 local0: 2013-06-23 19:22:07,698 WARN > [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to delete > template while removing account: EVSCLU due to: > Jun 23 12:22:07 cloudstack-centos63 > com.cloud.utils.exception.CloudRuntimeException: Unable to find image store > to delete template Tmpl[205-VHD-2ed8c0aee-7437-3c19-b3ac-cec513d806c0 > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.template.HypervisorTemplateAdapter.delete(HypervisorTemplateAdapter.java:208) > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.template.TemplateManagerImpl.delete(TemplateManagerImpl.java:750) > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:592) > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1488) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > Jun 23 12:22:07 cloudstack-centos63 at > java.lang.Thread.run(Thread.java:679) > Jun 23 12:22:07 cloudstack-centos63 local0: 2013-06-23 19:22:07,701 WARN > [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to delete > template while removing account: Public template-CS42CN due to: > Jun 23 12:22:07 cloudstack-centos63 > com.cloud.utils.exception.CloudRuntimeException: Unable to find image store > to delete template Tmpl[206-VHD-247c4a699-73e3-32e7-b69e-8ea4858ef389 > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.template.HypervisorTemplateAdapter.delete(HypervisorTemplateAdapter.java:208) > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.template.TemplateManagerImpl.delete(TemplateManagerImpl.java:750) > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:592) > Jun 23 12:22:07 cloudstack-centos63 at > com.cloud.user.AccountManagerImpl$AccountCleanupTask.run(AccountManagerImpl.java:1488) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > Jun 23 12:22:07 cloudstack-centos63 at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > Jun 23 12:22:07 cloudstack-centos63 at > java.lang.Thread.run(Thread.java:679) > Jun 23 12:22:07 cloudstack-centos63 local0: 2013-06-23 19:22:07,701 WARN > [cloud.user.AccountManagerImpl] (AccountChecker-1:null) Failed to delete > templates while removing account id=22 > This causes 3 of the 8 template test cases to fail that perform deletion of a > template. Complete log attached to the bug report. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira