Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-7640

Failed to delete template that failed to download

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.4.1
    • None
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            kylebrowning Kyle Browning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: