[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300097#comment-14300097
 ] 

Salvatore Sciacco commented on CLOUDSTACK-7640:
-----------------------------------------------

The file which can't be deleted is due to some NFS behaviour:
http://nfs.sourceforge.net/#faq_d2


> Failed to delete template that failed to download
> -------------------------------------------------
>
>                 Key: CLOUDSTACK-7640
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7640
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.4.1
>            Reporter: Kyle Browning
>
> I cannot delete templates that failed to download due to an interrupt in 
> internet.
> It continues to attempt to download.
> I have 3 secondary storage via NFS
> n2xlIjSajSw%3D&_=1411780661255
> 2014-09-26 18:17:38,461 INFO  [c.c.t.HypervisorTemplateAdapter] 
> (API-Job-Executor-11:ctx-a2ac74ca job-197 ctx-34dfcc08) Delete template from 
> image store: nfs://10.0.1.95/export/secondary
> 2014-09-26 18:17:38,463 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] 
> (API-Job-Executor-11:ctx-a2ac74ca job-197 ctx-34dfcc08) template 212 is 
> already in store:1, type:Image
> 2014-09-26 18:17:38,495 DEBUG [c.c.a.t.Request] 
> (API-Job-Executor-11:ctx-a2ac74ca job-197 ctx-34dfcc08) Seq 
> 2-7018015594326786290: Sending  { Cmd , MgmtId: 75361032070884, via: 
> 2(s-3-VM), Ver: v1, Flags: 100011, 
> [{"org.apache.cloudstack.storage.command.DeleteCommand":{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/212","origUrl":"http://10.0.1.66:8080/erebus.vhd","uuid":"bb1e6f1c-7c94-4485-a7af-dd159d943526","id":212,"format":"VHD","accountId":2,"checksum":"80d3de1753b185ce174350aeb8c12892","hvm":true,"displayText":"erebus","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.0.1.95/export/secondary","_role":"Image"}},"name":"212-2-348304b5-905a-33dc-b302-8d9f73689cce","hypervisorType":"XenServer"}},"wait":0}}]
>  }
> 2014-09-26 18:17:38,582 DEBUG [c.c.a.t.Request] (AgentManager-Handler-2:null) 
> Seq 2-7018015594326786290: Processing:  { Ans: , MgmtId: 75361032070884, via: 
> 2, Ver: v1, Flags: 10, 
> [{"com.cloud.agent.api.Answer":{"result":false,"details":"Unable to delete 
> file .nfs00000000001e14e000000001 under Template path 
> template/tmpl/2/212","wait":0}}] }
> 2014-09-26 18:17:38,583 DEBUG [c.c.a.t.Request] 
> (API-Job-Executor-11:ctx-a2ac74ca job-197 ctx-34dfcc08) Seq 
> 2-7018015594326786290: Received:  { Ans: , MgmtId: 75361032070884, via: 2, 
> Ver: v1, Flags: 10, { Answer } }
> 2014-09-26 18:17:38,601 WARN  [c.c.t.HypervisorTemplateAdapter] 
> (API-Job-Executor-11:ctx-a2ac74ca job-197 ctx-34dfcc08) Failed to delete the 
> template Tmpl[212-VHD-212-2-348304b5-905a-33dc-b302-8d9f73689cce from the 
> image store: nfs://10.0.1.95/export/secondary due to: Unable to delete file 
> .nfs00000000001e14e000000001 under Template path template/tmpl/2/212



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to