maas insists on running the proxy, even when it's disabled
Bug #1762673 reported by
Jason Hobbs
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Alberto Donato |
Bug Description
This is with 2.3.1.
My maas proxy appears to be stale. To investigate it, I want to turn off the proxy and wipe out the cache.
I can't do this, because maas keeps restarting the proxy, even when I've disabled the proxy in maas settings and stopped it manually with systemd.
I see this in the maas.log:
Apr 10 08:55:50 dratini maas.service_
Apr 10 08:55:50 dratini maas.service_
It should not be starting the proxy if I've disabled the proxy in MAAS settings.
Related branches
~ack/maas:1762673-disable-proxy-with-setting
Merged
into
maas:master
- Björn Tillenius: Approve
- MAAS Lander: Approve
-
Diff: 152 lines (+30/-36)2 files modifiedsrc/maasserver/service_monitor.py (+11/-6)
src/maasserver/tests/test_service_monitor.py (+19/-30)
~lucas.hua/maas:fix-enable-http-proxy
Rejected
for merging
into
maas:master
- MAAS Lander: Needs Fixing
- Bill Wear: Pending requested
-
Diff: 16 lines (+5/-0)1 file modifiedsrc/maasserver/service_monitor.py (+5/-0)
Changed in maas: | |
milestone: | 2.4.0beta3 → 2.4.0beta4 |
Changed in maas: | |
milestone: | 2.4.0beta4 → 2.4.x |
Changed in maas: | |
importance: | Undecided → Low |
Changed in maas: | |
milestone: | 2.4.x → none |
Changed in maas: | |
importance: | Low → Medium |
milestone: | none → 3.3.0 |
assignee: | nobody → Alberto Donato (ack) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.3.0 → 3.3.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Jason,
It is by design that the proxy is always running. You cannot "disable" the running proxy per se, but rather, you disable machines using the proxy.
Keep in mind that if you were to have deployed machines or others using the proxy, and you were to stop the service, those machines wouldn't be able to obtain new packages (when you mean to stop new machines from using it).