charm seems to be ignoring juju model-config proxy settings

Bug #1868389 reported by Nikolay Vinogradov
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Glance - Simplestreams Sync Charm
New
Undecided
Unassigned

Bug Description

By default in a fully proxy environment with juju-proxy* and juju-no-proxy settings specified for the model the charm can't connect to the mirror list because it ignores that settings.

The workaroud is to configure shell proxy env. vars and upload them to the charm like that:
$ cat juju-proxy.conf | juju ssh glance-simplestreams-sync/0 "sudo tee /etc/juju-proxy.conf"

Where juju-proxy.conf contains:
$ cat juju-proxy.conf
http_proxy=<http://http_proxy_host:port>
https_proxy=<http://http_proxy_host:port>
NO_PROXY=<comma-separated-list-of-no-proxy-stuff>
export http_proxy https_proxy NO_PROXY

Revision history for this message
Nikolay Vinogradov (nikolay.vinogradov) 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.