One thing to be aware of is that many of the downloads done for a given model (for example charms and resources) are done on the controller. This means you need to set the proxy settings for the controller model as well as any other models hosted on the controller. This is probably somewhat unexpected but it's the way things work at the moment.
If you provide the proxy settings at bootstrap time (either on the command line or as part of the cloud definition) then the controller and all models will end up using the same proxy settings. If you have an existing controller to change proxy settings for you'll want to make the change using "juju model-defaults http_proxy=... https_proxy=..." and then apply that to each model (including the controller model) using "juju model-config --reset http_proxy https_proxy -m <model name>". On 9 February 2017 at 06:04, Reed O'Brien <reed.obr...@canonical.com> wrote: > On Wed, Feb 8, 2017 at 8:31 AM, John Meinel <j...@arbash-meinel.com> > wrote: > > There is model configuration that you can set to tell juju what the > proxies > > are. Normally you set them at bootstrap time with: > > juju bootstrap --model-default http-proxy=http://... --model-default > > https-proxy... --model-default no-proxy= > > > > You can also put these settings into ~/.local/share/clouds.yaml if you > know > > that you always want them set for a given cloud. > > You can also set it on an existing model: > > $ juju model-config http-proxy=http://example.com/foo > > Cheers, > Reed > > > John > > =:-> > > > > On Feb 8, 2017 8:09 PM, "Vladimir Burlakov" <v...@fgts.ru> wrote: > > > > Hi Team! > > sorry for newbie question, but can you tell, is it possible to use juju2 > > (2.0.2-xenial-amd64) behind the firewall with only proxy (http/s) > available? > > i tried to change proxy settings in apt, environment variables and in > > «config.yaml» on a controller but it did not helped. > > > > Thanks, > > Vladimir > > > > > > -- > > Juju mailing list > > Juju@lists.ubuntu.com > > Modify settings or unsubscribe at: > > https://lists.ubuntu.com/mailman/listinfo/juju > > > > > > > > -- > > Juju mailing list > > Juju@lists.ubuntu.com > > Modify settings or unsubscribe at: > > https://lists.ubuntu.com/mailman/listinfo/juju > > > > > > -- > Reed O'Brien > ✉ reed.obr...@canonical.com > ✆ 415-562-6797 > 💻 redir > > -- > Juju mailing list > Juju@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/juju >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju