[
https://issues.apache.org/jira/browse/CLOUDSTACK-4119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rayees Namathponnan closed CLOUDSTACK-4119.
-------------------------------------------
This is not found in last KVM smoke test run
> [Automation] Failed to create template from volume on KVM
> ---------------------------------------------------------
>
> Key: CLOUDSTACK-4119
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4119
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Template
> Affects Versions: 4.2.0
> Environment: KVM
> Reporter: Rayees Namathponnan
> Fix For: 4.2.0
>
>
> BVT failure : integration/smoke/test_templates.py:TestTemplates
> Test case failed to cretae template, obseved below error in log
> 2013-07-10 10:51:45,451 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null)
> ===END=== 10.223.240.194 -- GET
> signature=%2BtdwhjPSnaXIYS8lGsVSAoxpuYU%3D&apiKey=t-eu244C6fJ9_S2TwOaJPgJXb2xkGdqkfZLo-4jAsYKJGwMl
> gGVTPF_ogAX8alGahVqa1DMRQUzkx3Q8caC_Ug&command=queryAsyncJobResult&response=json&jobid=9fdc5ea0-38b0-4174-82a8-bf21af68cb33
> 2013-07-10 10:51:45,543 DEBUG [agent.transport.Request]
> (AgentManager-Handler-13:null) Seq 3-95682763: Processing: { Ans: , MgmtId:
> 29066118877352, via: 3, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage
> .command.CopyCmdAnswer":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException:
> Can not get file lock to refresh the
> poolfff90cb5-06dd-33b3-8815-d78c08ca01d9","wait":0}}] }
> 2013-07-10 10:51:45,543 DEBUG [agent.transport.Request]
> (Job-Executor-87:job-206 = [ 9fdc5ea0-38b0-4174-82a8-bf21af68cb33 ]) Seq
> 3-95682763: Received: { Ans: , MgmtId: 29066118877352, via: 3, Ver: v1,
> Flags:
> 10, { CopyCmdAnswer } }
> 2013-07-10 10:51:45,551 DEBUG [cloud.template.TemplateManagerImpl]
> (Job-Executor-87:job-206 = [ 9fdc5ea0-38b0-4174-82a8-bf21af68cb33 ]) Failed
> to create templatecom.cloud.utils.exception.CloudRuntimeException:
> Can not get file lock to refresh the poolfff90cb5-06dd-33b3-8815-d78c08ca01d9
> 2013-07-10 10:51:45,568 ERROR [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-87:job-206 = [ 9fdc5ea0-38b0-4174-82a8-bf21af68cb33 ])
> Unexpected exception while executing org.apache.cloudstack.api.command.user.
> template.CreateTemplateCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to create
> templatecom.cloud.utils.exception.CloudRuntimeException: Can not get file
> lock to refresh the poolfff90cb5-06dd-33b3-8815-d78c08ca01d9
> at
> com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1378)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
> at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
> 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:679)
> 2013-07-10 10:51:45,570 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-87:job-206 = [ 9fdc5ea0-38b0-4174-82a8-bf21af68cb33 ]) Complete
> async job-206 = [ 9fdc5ea0-38b0-4174-82a8-bf21af68cb33 ], jobStatus: 2,
> resultCode: 530, result: Error Code: 530 Error text: Failed to create
> templatecom.cloud.utils.exception.CloudRuntimeException: Can not get file
> lock to refresh the poolfff90cb5-06dd-33b3-8815-d78c08ca01d9
> 2013-07-10 10:51:46,100 DEBUG [cloud.storage.StorageManagerImpl]
> (StorageManager-Scavenger-1:null) Storage pool garbage collector found 0
> templates to clean up in storage pool: PS0
> 2013-07-10 10:51:46,102 DEBUG [cloud.storage.StorageManagerImpl]
> (StorageManager-Scavenger-1:null) Storage pool garbage collector found 0
> templates to clean up in storage pool: PS1
> 2013-07-10 10:51:46,104 DEBUG [cloud.storage.StorageManagerImpl]
> (StorageManager-Scavenger-1:null) Storage pool garbage collector found 0
> templates to clean up in storage pool: PS3
> 2013-07-10 10:51:46,107 DEBUG [cloud.storage.StorageManagerImpl]
> (StorageManager-Scavenger-1:null) Secondary storage garbage collector found 0
> templates to cleanup on template_store_ref for store:
> nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary
--
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