Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Possibility to provide (or propagate) proxy settings and bootstrap timeout #171

Closed
ptylenda opened this issue Jun 21, 2016 · 4 comments
Closed
Assignees
Milestone

Comments

@ptylenda
Copy link

In previous versions of juju (prior to 2.0?) it was possible to change timeout and other settings like this: http://askubuntu.com/questions/458535/how-to-change-juju-bootstrap-time-from-the-10min-it-gives-you

In latest version of juju (2.0-beta9-xenial-amd64) and conjure-up (2.0.0.3-0459ubuntu16.04.1) I don't see any way to provide proxy settings and juju bootstrap timeout. There is a thread on stackoverflow which already mentions that: http://askubuntu.com/questions/770624/how-to-set-bootstrap-timeout-when-deploying-landscape-dense-maas-from-conjure-up

Currently I am workarounding this by adding in /usr/share/conjure-up/conjure/juju.py (L:120) additional hardcoded command line params: --config bootstrap-timeout=3600 --config http-proxy=[proxy] --config https-proxy=[proxy] --config apt-http-proxy=[proxy] --config apt-https-proxy=[proxy] --config --config apt-ftp-proxy=[proxy] --config ftp-proxy=[proxy] no-proxy=[IPs]

It would be good to have these parameters configurable or provide a possibility to propagate them from env variables/MAAS 2.0 settings (if MAAS is used).

@adam-stokes adam-stokes self-assigned this Jun 21, 2016
@adam-stokes adam-stokes added this to the 2.0.0.4 milestone Jun 21, 2016
@adam-stokes
Copy link
Contributor

Thanks I'll make sure this gets in the next prerelease

adam-stokes pushed a commit that referenced this issue Jun 28, 2016
Supports extending bootstrap timeout and additional no-proxy settings
for juju.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
@ptylenda
Copy link
Author

Thanks! :)

@adam-stokes
Copy link
Contributor

@ptylenda np, this will be in the PPA by next Tuesday July 5th.

@natejgardner
Copy link

natejgardner commented Nov 23, 2016

I'm using this version, but I'm not seeing any global way to set the proxy before a model is created. It seems the only workaround is to use --config everywhere.

See my AskUbuntu post: http://askubuntu.com/q/852154/573381

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants