You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "edison su (JIRA)" <ji...@apache.org> on 2013/07/22 23:56:48 UTC

[jira] [Assigned] (CLOUDSTACK-3681) [Automation][BVT]Failed to delete template during first time

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

edison su reassigned CLOUDSTACK-3681:
-------------------------------------

    Assignee: edison su  (was: Min Chen)
    
> [Automation][BVT]Failed to delete template during first time 
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3681
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3681
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Template, VMware
>    Affects Versions: 4.2.0
>         Environment: 4.2
> Vmware
>            Reporter: Rayees Namathponnan
>            Assignee: edison su
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: CLOUDSTACK-3681.rar
>
>
> BVT tets cases integration.smoke.test_templates.TestCreateTemplate.test_01_create_template failed with latest run
> Steps to reproduce 
> Step 1 : Create a template "TemplateDeleteTest" from root volume
> Step 2 : Delete template "TemplateDeleteTest"
> Result 
> Delete template failed, please the attached log (job-39)
> 013-07-19 20:58:02,470 DEBUG [agent.transport.Request] (Job-Executor-45:job-39 = [ d5341b65-45a2-45e7-bb60-58043720da15 ]) Seq 8-640811237: Sending  { Cmd , Mgmt
> Id: 90928106758026, via: 8, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DeleteCommand":{"data":{"org.apache.cloudstack.storage.to.TemplateObj
> ectTO":{"path":"22d8d284a-d237-379b-af73-8631ac0d298b","uuid":"e0d4421d-8bf5-4cb4-9792-5af13563ad76","id":202,"format":"OVA","accountId":2,"hvm":true,"displayText
> ":"TemplateDeleteTest","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232:/export/home/automation/SC-CLOUD-QA03/secondary1","_role":"I
> mage"}},"name":"22d8d284a-d237-379b-af73-8631ac0d298b"}},"wait":0}}] }
> 2013-07-19 20:58:02,766 DEBUG [agent.transport.Request] (AgentManager-Handler-12:null) Seq 8-640811237: Processing:  { Ans: , MgmtId: 90928106758026, via: 8, Ver:
>  v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"Unable to delete file template under Template path 22d8d284a-d237-379b-af73-8631ac0d298b
> ","wait":0}}] }
> 2013-07-19 20:58:02,767 DEBUG [agent.transport.Request] (Job-Executor-45:job-39 = [ d5341b65-45a2-45e7-bb60-58043720da15 ]) Seq 8-640811237: Received:  { Ans: , M
> gmtId: 90928106758026, via: 8, Ver: v1, Flags: 10, { Answer } }
> 2013-07-19 20:58:02,781 WARN  [cloud.template.HypervisorTemplateAdapter] (Job-Executor-45:job-39 = [ d5341b65-45a2-45e7-bb60-58043720da15 ]) Failed to delete the 
> template Tmpl[202-OVA-22d8d284a-d237-379b-af73-8631ac0d298b from the image store: nfs://10.223.110.232:/export/home/automation/SC-CLOUD-QA03/secondary1 due to: Un
> able to delete file template under Template path 22d8d284a-d237-379b-af73-8631ac0d298b
> 2013-07-19 20:58:02,811 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-45:job-39 = [ d5341b65-45a2-45e7-bb60-58043720da15 ]) Complete async job-39 = [ d534
> 1b65-45a2-45e7-bb60-58043720da15 ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to delete template
> Step 3 : Delete template "TemplateDeleteTest" again
> Result 
> Template got deleted and observed below log in MS
> 2013-07-19 20:59:03,818 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) ===START===  10.216.51.171 -- GET  command=deleteTemplate&id=e0d4421d-8bf5-4cb4-9792-5
> af13563ad76&zoneid=34e5d608-9f00-45b7-b808-4a4c47592636&response=json&sessionkey=kzg0H6VMwJZ1qk59pvUJssmIaaw%3D&_=1374293513274
> 2013-07-19 20:59:03,859 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-7:null) submit async job-40 = [ b2a3496b-aac8-448d-8576-adbd84d0d77a ], details: As
> yncJobVO {id:40, userId: 2, accountId: 2, sessionKey: null, instanceType: Template, instanceId: 202, cmd: org.apache.cloudstack.api.command.user.template.DeleteTe
> mplateCmd, cmdOriginator: null, cmdInfo: {"response":"json","id":"e0d4421d-8bf5-4cb4-9792-5af13563ad76","sessionkey":"kzg0H6VMwJZ1qk59pvUJssmIaaw\u003d","cmdEvent
> Type":"TEMPLATE.DELETE","ctxUserId":"2","zoneid":"34e5d608-9f00-45b7-b808-4a4c47592636","httpmethod":"GET","_":"1374293513274","ctxAccountId":"2","ctxStartEventId
> ":"167"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 90928106758026, completeMsid:
>  null, lastUpdated: null, lastPolled: null, created: null}
> 2013-07-19 20:59:03,861 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) ===END===  10.216.51.171 -- GET  command=deleteTemplate&id=e0d4421d-8bf5-4cb4-9792-5af13563ad76&zoneid=34e5d608-9f00-45b7-b808-4a4c47592636&response=json&sessionkey=kzg0H6VMwJZ1qk59pvUJssmIaaw%3D&_=1374293513274
> 2013-07-19 20:59:03,862 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-46:job-40 = [ b2a3496b-aac8-448d-8576-adbd84d0d77a ]) Executing org.apache.cloudstack.api.command.user.template.DeleteTemplateCmd for job-40 = [ b2a3496b-aac8-448d-8576-adbd84d0d77a ]
> 2013-07-19 20:59:03,880 INFO  [cloud.template.HypervisorTemplateAdapter] (Job-Executor-46:job-40 = [ b2a3496b-aac8-448d-8576-adbd84d0d77a ]) Unable to find image store still having template: TemplateDeleteTest, so just mark the template removed
> 2013-07-19 20:59:03,881 INFO  [cloud.template.HypervisorTemplateAdapter] (Job-Executor-46:job-40 = [ b2a3496b-aac8-448d-8576-adbd84d0d77a ]) Delete template from template table
> 2013-07-19 20:59:03,892 DEBUG [cloud.user.AccountManagerImpl] (Job-Executor-46:job-40 = [ b2a3496b-aac8-448d-8576-adbd84d0d77a ]) Access granted to Acct[2-admin] to Domain:1/ by DomainChecker_EnhancerByCloudStack_75e9de4f
>  

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