Wido den Hollander created CLOUDSTACK-7656:
----------------------------------------------

             Summary: Secondary Storage VM fails to download templates served 
by Varnish HTTP cache
                 Key: CLOUDSTACK-7656
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7656
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: SystemVM
    Affects Versions: Future, 4.5.0, 4.4.1
         Environment: CloudStack 4.4.1 and Varnish 3.0
            Reporter: Wido den Hollander
            Priority: Minor
             Fix For: Future, 4.5.0


When registering a new template with CloudStack the secondary storage VM fails 
to download the template when it is served by a Varnish HTTP proxy.

The error which comes back to the management server:

{ Ans: , MgmtId: 95540246270, via: 9, Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"6b8cb0b4-bff8-44e1-8710-186d107b7317","downloadPct":0,"errorString":"Protocol
 violation: Unexpected single newline character in chunk 
size","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/c5ee6440-bb39-31be-9caa-34ece0a1f232/template/tmpl/2/206/dnld7489107519483436548tmp_","installPath":"template/tmpl/2/206","templateSize":0,"templatePhySicalSize":0,"result":true,"details":"Protocol
 violation: Unexpected single newline character in chunk size","wait":0}}] }


"Protocol violation: Unexpected single newline character in chunk size"

This seems like a problem somewhere in DownloadManagerImpl.java



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

Reply via email to