[2.3] Allow telling MAAS image import to not use proxy.

Bug #1778710 reported by Jeff Hillman on 2018-06-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Andres Rodriguez
Andres Rodriguez
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 (andreserl) wrote :

Hi Jeff.

MAAS will provide an option to disable the use of the proxy when downloading images.

Changed in maas:
importance: Undecided → Low
status: New → Triaged
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers