support for proxy servers

Bug #1822216 reported by Wouter van Bommel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
New
Undecided
Unassigned

Bug Description

We need to support the juju model variable (if set) for http(s) proxy's if configured.

Currently the code does not allow gpg key's to be retrieved via a configured internet proxy (rougly line 309 of fetch/ubuntu.py) where we need to add the option '--keyserver-options http-proxy=<value from juju model>' if the proxy is set on the model.

apt-key does not honer any apt proxy setting set via the regular apt proxy route (/etc/apt/apt.conf.d/95-juju-proxy-settings)

A similar issue arises when adding a new source via apt-add-repsitory, as that only seems to honor the http-proxy & https-proxy environment variables, which we can obviously override on the specific call's we do

tags: added: canonical-bootstack
Revision history for this message
Andrea Ieri (aieri) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.