yes, eventually it calls downloader.sh
Thank you. At least we have a workaround and can keep OpenNebula 5.
Thanks! Works perfect!
Hello,
This issue is marked as fixed in 5.2, but I cannot figure out how to set up the proxy location in 5.2. Adding --proxy http://my.proxy:3128/
to GLOBAL_CURL_ARGS
in downloader.sh
and also as additional parameters to Net::HTTP.start
call in market/one/monitor
works for me, but is there a cleaner way?
Thanks,
-Yenya
It should honor http_proxy environment variable, you can add the export in
the one_market executable…
Let me know if this work for you to update the documentation
@ruben, I have tried to add “touch /tmp/been-there
” near the beginning of /usr/lib/one/mads/one_market
, but the file in /tmp
did not get created even though I tried to download images from ONe marketplace, reload the marketplace, etc. When does this command gets executed?
Anyway, the one_market
script apparently reads madcommon.sh
, and in this file there is a notice that /etc/one/defaultrc
is sourced from there and variables exported. Wouldn’t it be cleaner to add HTTP_PROXY=...
to /etc/one/defaultrc
? I would rather not add my local configuration to the non-config file in /usr/lib/one
.
The cleanest approach in my humble opinion would be to have a HTTP_PROXY
attribute settable via Sunstone for a given marketplace, and extract this value from there.