[
https://issues.apache.org/jira/browse/CLOUDSTACK-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547098#comment-13547098
]
Chiradeep Vittal edited comment on CLOUDSTACK-524 at 1/8/13 6:43 PM:
---------------------------------------------------------------------
Setting this global variable in the global configuration should work
secstorage.proxy
It will require a restart of the management server followed by a stop+start
cycle of the secondary storage vm
Failing that
1.Set up a webserver internally with the bits of the system vm image. Edit the
vm_template table to reflect the new URL
2. The startup script for the ssvm daemon is in /usr/local/cloud/ or a
subdirectory of that IIRC. Edit the startup script to include the java options
-Dhttp.proxyHost=<proxy> -Dhttp.proxyPort=<proxy port>
was (Author: chiradeep):
Setting this global variable in the global configuration should work
secstorage.proxy
It will require a restart of the management server followed by a stop+start
cycle of the secondary storage vm
> http proxy used by ssvm (secstorage.proxy) NOT working
> ------------------------------------------------------
>
> Key: CLOUDSTACK-524
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-524
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Install and Setup
> Affects Versions: 4.0.0
> Environment: Ubuntu 12.04 - package installation
> Reporter: Dimitri Desmidt
>
> In my lab, the SSVM has access to Internet ONLY via a Proxy.
> I configured for that the Global Setting secstorage.proxy with the value
> "http://proxy.xyz.com:3128" (without the quotes "").
> Then I restarted the cloud management and destroyed the SSVM.
> The new SSVM tries to download again
> "http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2".
> This still fails and when I look at the Management Log, it looks like there
> is still no Proxy used:
> 2012-11-20 06:44:31,438 DEBUG [agent.transport.Request] (Timer-4:null) Seq
> 18-550436874: Sending { Cmd , MgmtId: 345051959742, via: 18, Ver: v1, Flags:
> 100011,
> [{"storage.DownloadProgressCommand":{"jobId":"38d18cba-470a-46da-821d-37cfacd2bb40","request":"GET_STATUS","hvm":false,"description":"CentOS
> 5.6(64-bit) no GUI
> (XenServer)","checksum":"905cec879afd9c9d22ecc8036131a180","maxDownloadSizeInBytes":53687091200,"id":5,"resourceType":"TEMPLATE","url":"http://download.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2","format":"VHD","accountId":1,"name":"centos56-x86_64-xen","secUrl":"nfs://10.30.1.3/export/secondary","wait":0}}]
> }
> 2012-11-20 06:44:31,485 DEBUG [agent.transport.Request]
> (AgentManager-Handler-2:null) Seq 18-550436874: Processing: { Ans: , MgmtId:
> 345051959742, via: 18, Ver: v1, Flags: 10,
> [{"storage.DownloadAnswer":{"jobId":"38d18cba-470a-46da-821d-37cfacd2bb40","downloadPct":0,"errorString":"
>
> ","downloadStatus":"NOT_DOWNLOADED","downloadPath":"/mnt/SecStorage/ff53ffad-7c5d-382f-942c-e527528c5699/template/tmpl/1/5/dnld5122201514511320578tmp_","templateSize":0,"templatePhySicalSize":0,"checkSum":"905cec879afd9c9d22ecc8036131a180","result":false,"details":"
> ","wait":0}}] }
> Conclusion;
> Looks like the Global Setting information is NOT applied :-(
--
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