You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2013/07/22 20:02:49 UTC
[jira] [Created] (CLOUDSTACK-3717) [Automation][BVT] Failed to
download template
Rayees Namathponnan created CLOUDSTACK-3717:
-----------------------------------------------
Summary: [Automation][BVT] Failed to download template
Key: CLOUDSTACK-3717
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3717
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: API, Automation, Template
Affects Versions: 4.2.0
Environment: 4.2 build,
This issue is found with KVM, need to verify with vmware and xen
Reporter: Rayees Namathponnan
Priority: Blocker
Fix For: 4.2.0
BVT test case integration.smoke.test_templates.TestTemplates.test_04_extract_template failed
Steps to reproduce
Step 1 : Create a template from root volume
Step 2 : Download template
Actual Result
----------------------
Download template failed with below error
2013-07-22 13:47:35,728 TRACE [db.Transaction.Statement] (Job-Executor-76:job-405 = [ 8fa8253a-18de-4592-ba7c-e4bc08a1fd68 ]) Closing: com.mysql.jdbc.PreparedStatement@1c11305
7: SELECT account.id, account.account_name, account.type, account.domain_id, account.state, account.removed, account.cleanup_needed, account.network_domain, account.uuid, acco
unt.default_zone_id, account.default FROM account WHERE account.id = 2
2013-07-22 13:47:35,729 TRACE [db.Transaction.Statement] (Job-Executor-76:job-405 = [ 8fa8253a-18de-4592-ba7c-e4bc08a1fd68 ]) Preparing: INSERT INTO event (event.type, event.s
tate, event.description, event.created, event.user_id, event.account_id, event.domain_id, event.level, event.start_id, event.parameters, event.uuid, event.archived) VALUES (?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
2013-07-22 13:47:35,732 TRACE [db.Transaction.Statement] (Job-Executor-76:job-405 = [ 8fa8253a-18de-4592-ba7c-e4bc08a1fd68 ]) Closing: com.mysql.jdbc.PreparedStatement@3cc71d5
2: INSERT INTO event (event.type, event.state, event.description, event.created, event.user_id, event.account_id, event.domain_id, event.level, event.start_id, event.parameter
s, event.uuid, event.archived) VALUES (_binary'TEMPLATE.EXTRACT', 'Completed', _binary'Error while extracting template. extracting template: 209 from zone: 1', '2013-07-22 17:
47:35', 2, 2, 1, _binary'ERROR', 1654, null, _binary'a9418610-8d71-47f5-9daa-9994e2c23f4f', 0)
2013-07-22 13:47:35,732 TRACE [db.Transaction.Statement] (Job-Executor-76:job-405 = [ 8fa8253a-18de-4592-ba7c-e4bc08a1fd68 ]) Preparing: SELECT event.id, event.type, event.sta
te, event.description, event.created, event.user_id, event.account_id, event.domain_id, event.level, event.start_id, event.parameters, event.uuid, event.archived FROM event WH
ERE event.id = ?
2013-07-22 13:47:35,733 TRACE [db.Transaction.Statement] (Job-Executor-76:job-405 = [ 8fa8253a-18de-4592-ba7c-e4bc08a1fd68 ]) Closing: com.mysql.jdbc.PreparedStatement@3bba322a: SELECT event.id, event.type, event.state, event.description, event.created, event.user_id, event.account_id, event.domain_id, event.level, event.start_id, event.parameters, event.uuid, event.archived FROM event WHERE event.id = 1656
2013-07-22 13:47:35,733 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-76:job-405 = [ 8fa8253a-18de-4592-ba7c-e4bc08a1fd68 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to create a link for entity at template/tmpl/2/209/bb2b12cc-e78f-4cad-af6f-fefaa7d9ac40.qcow2 on ssvm,unsupported command:com.cloud.agent.api.storage.CreateEntityDownloadURLCommand
at org.apache.cloudstack.storage.datastore.driver.CloudStackImageStoreDriverImpl.createEntityExtractUrl(CloudStackImageStoreDriverImpl.java:72)
at org.apache.cloudstack.storage.image.store.ImageStoreImpl.createEntityExtractUrl(ImageStoreImpl.java:194)
at com.cloud.template.TemplateManagerImpl.extract(TemplateManagerImpl.java:485)
at com.cloud.template.TemplateManagerImpl.extract(TemplateManagerImpl.java:404)
at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd.execute(ExtractTemplateCmd.java:129)
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-22 13:47:35,734 TRACE [db.Transaction.Statement] (Job-Executor-76:job-405 = [ 8fa8253a-18de-4592-ba7c-e4bc08a1fd68 ]) Preparing: SELECT async_job.id, async_job.user_id, async_job.account_id, async_job.session_key, async_job.job_cmd, async_job.job_cmd_originator, async_job.job_cmd_ver, async_job.job_cmd_info, async_job.callback_type, async_job.callback_address, async_job.job_status, async_job.job_process_status, async_job.job_result_code, async_job.job_result, async_job.instance_type, async_job.instance_id, async_job.job_init_msid, async_job.job_complete_msid, async_job.created, async_job.last_updated, async_job.last_polled, async_job.removed, async_job.uuid FROM async_job WHERE async_job.id = ? AND async_job.removed IS NULL
--
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