[2.3] Allow telling MAAS image import to not use proxy.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Andres Rodriguez | ||
2.3 |
Fix Released
|
Medium
|
Andres Rodriguez | ||
2.4 |
Fix Released
|
Medium
|
Andres Rodriguez |
Bug Description
There is no way to configure a NO_PROXY setting in MAAS, even though you can configure a proxy overall. This is against most proxy conventions.
Also, MAAS does not use the system's NO_PROXY variable.
In some scenarios, people may want a local mirror for ephemeral images, or possibly some other resource. That mirror could be on the same network as the proxy, and thus would need to be added to a NO_PROXY so it could be accessed directly.
In my case, the proxy WAS the ephemeral images mirror. So it would try to proxy to itself, which was causing several problems. It was needed to disable the proxy, sync the images, and then re-enable the proxy. Which is far from ideal. Especially since all of the nodes did NOT have access to the proxy and thus had to use MAAS as a proxy, so when the real proxy was turned off, there was effectively no proxy for any host.
Related branches
- Andres Rodriguez (community): Approve
-
Diff: 123 lines (+63/-1)5 files modifiedsrc/maasserver/api/tests/test_maas.py (+11/-0)
src/maasserver/bootsources.py (+15/-1)
src/maasserver/forms/settings.py (+19/-0)
src/maasserver/models/config.py (+1/-0)
src/maasserver/tests/test_bootsources.py (+17/-0)
- Andres Rodriguez (community): Approve
-
Diff: 123 lines (+63/-1)5 files modifiedsrc/maasserver/api/tests/test_maas.py (+11/-0)
src/maasserver/bootsources.py (+15/-1)
src/maasserver/forms/settings.py (+19/-0)
src/maasserver/models/config.py (+1/-0)
src/maasserver/tests/test_bootsources.py (+17/-0)
- MAAS Lander: Approve
- Blake Rouse (community): Approve
-
Diff: 123 lines (+63/-1)5 files modifiedsrc/maasserver/api/tests/test_maas.py (+11/-0)
src/maasserver/bootsources.py (+15/-1)
src/maasserver/forms/settings.py (+19/-0)
src/maasserver/models/config.py (+1/-0)
src/maasserver/tests/test_bootsources.py (+17/-0)
Changed in maas: | |
milestone: | none → next |
status: | Triaged → Fix Committed |
summary: |
- [2.3] MAAS does not respect local NO_PROXY nor does it have a NO_PROXY - setting to configure + [2.3] Allow telling MAAS image import to not use proxy. |
Changed in maas: | |
milestone: | next → 2.5.0 |
Changed in maas: | |
assignee: | nobody → Andres Rodriguez (andreserl) |
importance: | Low → Medium |
Changed in maas: | |
milestone: | 2.5.0 → 2.5.0alpha1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hi Jeff.
MAAS will provide an option to disable the use of the proxy when downloading images.