You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sailaja Mada (JIRA)" <ji...@apache.org> on 2013/07/31 16:05:49 UTC

[jira] [Closed] (CLOUDSTACK-3908) [VMWARE]Failed to Download Template during Extract Template operation

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sailaja Mada closed CLOUDSTACK-3908.
------------------------------------


Regressed with latest builds. Hence closing the bug.
                
> [VMWARE]Failed to Download Template during Extract Template operation
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3908
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3908
>             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: Sailaja Mada
>            Assignee: edison su
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Steps:
> 1. Configure Adv Zone with VMWARE cluster 
> 2. Tried to download default cent OS template or any newly registered template 
> Observation:
> Failed to Download Template during Extract Template operation:
> 2013-07-29 17:20:41,073 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===START===  10.144.6.19 -- GET  command=extractTemplate&mode=HTTP_DOWNLOAD&id=69f75dca-f808-11e2-9ae5-aac5eb5f619f&zoneid=8aa6cdbf-5a62-4f5a-996f-5feafda5507f&response=json&sessionkey=%2FzU07230lN3Iwwa5Z5iWH2Y5v%2B0%3D&_=1375098869057
> 2013-07-29 17:20:41,119 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-21:null) submit async job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ], details: AsyncJobVO {id:77, userId: 2, accountId: 2, sessionKey: null, instanceType: Template, instanceId: 7, cmd: org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd, cmdOriginator: null, cmdInfo: {"response":"json","id":"69f75dca-f808-11e2-9ae5-aac5eb5f619f","sessionkey":"/zU07230lN3Iwwa5Z5iWH2Y5v+0\u003d","cmdEventType":"TEMPLATE.EXTRACT","ctxUserId":"2","zoneid":"8aa6cdbf-5a62-4f5a-996f-5feafda5507f","httpmethod":"GET","_":"1375098869057","ctxAccountId":"2","ctxStartEventId":"307","mode":"HTTP_DOWNLOAD"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 187767034175903, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2013-07-29 17:20:41,122 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===END===  10.144.6.19 -- GET  command=extractTemplate&mode=HTTP_DOWNLOAD&id=69f75dca-f808-11e2-9ae5-aac5eb5f619f&zoneid=8aa6cdbf-5a62-4f5a-996f-5feafda5507f&response=json&sessionkey=%2FzU07230lN3Iwwa5Z5iWH2Y5v%2B0%3D&_=1375098869057
> 2013-07-29 17:20:41,124 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-13:job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ]) Executing org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd for job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ]
> 2013-07-29 17:20:41,139 DEBUG [cloud.template.HypervisorTemplateAdapter] (Job-Executor-13:job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ]) Attempting to mark template host refs for template: CentOS 5.3(64-bit) no GUI (vSphere) as destroyed in zone:
> 2013-07-29 17:20:41,144 DEBUG [agent.transport.Request] (Job-Executor-13:job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ]) Seq 3-1608646754: Sending  { Cmd , MgmtId: 187767034175903, via: 3, Ver: v1, Flags: 100111, [{"com.cloud.agent.api.storage.PrepareOVAPackingCommand":{"templatePath":"template/tmpl/1/7/26e618bf-f0e9-36e1-ae2e-b64290eb4426.ova","secUrl":"nfs://10.102.192.100/cpg_vol/sailaja/dvsss1","wait":0}}] }
> 2013-07-29 17:20:41,187 DEBUG [agent.transport.Request] (AgentManager-Handler-4:null) Seq 3-1608646754: Processing:  { Ans: , MgmtId: 187767034175903, via: 3, Ver: v1, Flags: 110, [{"com.cloud.agent.api.UnsupportedAnswer":{"result":false,"details":"Unsupported command issued:com.cloud.agent.api.storage.PrepareOVAPackingCommand.  Are you sure you got the right type of server?","wait":0}}] }
> 2013-07-29 17:20:41,187 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-4:null) Seq 3-1608646754: No more commands found
> 2013-07-29 17:20:41,187 DEBUG [agent.transport.Request] (Job-Executor-13:job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ]) Seq 3-1608646754: Received:  { Ans: , MgmtId: 187767034175903, via: 3, Ver: v1, Flags: 110, { UnsupportedAnswer } }
> 2013-07-29 17:20:41,188 WARN  [agent.manager.AgentManagerImpl] (Job-Executor-13:job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ]) Unsupported Command: Unsupported command issued:com.cloud.agent.api.storage.PrepareOVAPackingCommand.  Are you sure you got the right type of server?
> 2013-07-29 17:20:41,188 DEBUG [cloud.template.HypervisorTemplateAdapter] (Job-Executor-13:job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ]) Failed to create OVA for template TmplHost[8-7-1template/tmpl/1/7/26e618bf-f0e9-36e1-ae2e-b64290eb4426.ova] due to Unsupported command issued:com.cloud.agent.api.storage.PrepareOVAPackingCommand.  Are you sure you got the right type of server?
> 2013-07-29 17:20:41,194 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-13:job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd
> com.cloud.utils.exception.CloudRuntimeException: PrepareExtractTemplate: Failed to create OVA for template extraction.
>         at com.cloud.template.HypervisorTemplateAdapter.prepareExtractTemplate(HypervisorTemplateAdapter.java:402)
>         at com.cloud.template.TemplateManagerImpl.extract(TemplateManagerImpl.java:392)
>         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-29 17:20:41,196 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-13:job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ]) Complete async job-77 = [ 0ea18caf-c45d-4bda-987d-884d6fb4d1f3 ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: PrepareExtractTemplate: Failed to create OVA for template extraction.
> 2013-07-29 17:20:42,733 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-5:null) SeqA 2-3141: Processing Seq 2-3141:  { Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
> 2013-07-29 17:20:42,744 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-5:null) SeqA 2-3141: Sending Seq 2-3141:  { Ans: , MgmtId: 187767034175903, via: 2, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }

--
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