Juju2 behind proxy

Vladimir Burlakov vvb at fgts.ru
Thu Feb 9 12:27:30 UTC 2017


Hi Guys, 
Thank you a lot, it’s worked, you really helped me. :) as said my friend:  "community - is the power !"

Best, 
Vladimir 


> 9 февр. 2017 г., в 6:35, Menno Smits <menno.smits at canonical.com> написал(а):
> 
> 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.obrien at canonical.com <mailto:reed.obrien at canonical.com>> wrote:
> On Wed, Feb 8, 2017 at 8:31 AM, John Meinel <john at arbash-meinel.com <mailto:john at 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 <http://example.com/foo>
> 
> Cheers,
> Reed
> 
> > John
> > =:->
> >
> > On Feb 8, 2017 8:09 PM, "Vladimir Burlakov" <vvb at fgts.ru <mailto:vvb at 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 at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/juju <https://lists.ubuntu.com/mailman/listinfo/juju>
> >
> >
> >
> > --
> > Juju mailing list
> > Juju at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/juju <https://lists.ubuntu.com/mailman/listinfo/juju>
> >
> 
> 
> 
> --
> Reed O'Brien
>reed.obrien at canonical.com <mailto:reed.obrien at canonical.com>
> ✆ 415-562-6797 <tel:415-562-6797>
> 💻 redir
> 
> --
> Juju mailing list
> Juju at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju <https://lists.ubuntu.com/mailman/listinfo/juju>
> 
> -- 
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170209/d0674ed5/attachment.html>


More information about the Juju mailing list