[enhancement] maas-proxy port should be configurable
Bug #1779712 reported by
Scott Hussey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Andres Rodriguez | ||
2.3 |
Fix Released
|
High
|
Andres Rodriguez | ||
2.4 |
Fix Released
|
High
|
Andres Rodriguez |
Bug Description
When using MAAS as a proxy for joining nodes to access the package repository, the port the proxy listens on is non-configurable and hardcoded to 8000. This should be configurable, preferably via API, but at the very least by a value on the /etc/maas/
Related branches
~andreserl/maas:2.3_lp1779712
- Andres Rodriguez (community): Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 408 lines (+150/-2)11 files modifiedsrc/maasserver/api/tests/test_maas.py (+34/-0)
src/maasserver/compose_preseed.py (+3/-1)
src/maasserver/forms/__init__.py (+1/-0)
src/maasserver/forms/settings.py (+38/-0)
src/maasserver/models/config.py (+1/-0)
src/maasserver/proxyconfig.py (+2/-0)
src/maasserver/tests/test_compose_preseed.py (+23/-0)
src/maasserver/tests/test_proxyconfig.py (+14/-0)
src/maasserver/triggers/system.py (+2/-0)
src/maasserver/triggers/tests/test_system_listener.py (+31/-0)
src/provisioningserver/templates/proxy/maas-proxy.conf.template (+1/-1)
~andreserl/maas:2.4_lp1779712
- Andres Rodriguez (community): Approve
-
Diff: 408 lines (+150/-2)11 files modifiedsrc/maasserver/api/tests/test_maas.py (+34/-0)
src/maasserver/compose_preseed.py (+3/-1)
src/maasserver/forms/__init__.py (+1/-0)
src/maasserver/forms/settings.py (+38/-0)
src/maasserver/models/config.py (+1/-0)
src/maasserver/proxyconfig.py (+2/-0)
src/maasserver/tests/test_compose_preseed.py (+23/-0)
src/maasserver/tests/test_proxyconfig.py (+14/-0)
src/maasserver/triggers/system.py (+2/-0)
src/maasserver/triggers/tests/test_system_listener.py (+31/-0)
src/provisioningserver/templates/proxy/maas-proxy.conf.template (+1/-1)
~andreserl/maas:maas_proxy_port
Merged
into
maas:master
- MAAS Lander: Approve
- Lee Trager (community): Approve
-
Diff: 408 lines (+150/-2)11 files modifiedsrc/maasserver/api/tests/test_maas.py (+34/-0)
src/maasserver/compose_preseed.py (+3/-1)
src/maasserver/forms/__init__.py (+1/-0)
src/maasserver/forms/settings.py (+38/-0)
src/maasserver/models/config.py (+1/-0)
src/maasserver/proxyconfig.py (+2/-0)
src/maasserver/tests/test_compose_preseed.py (+23/-0)
src/maasserver/tests/test_proxyconfig.py (+14/-0)
src/maasserver/triggers/system.py (+2/-0)
src/maasserver/triggers/tests/test_system_listener.py (+31/-0)
src/provisioningserver/templates/proxy/maas-proxy.conf.template (+1/-1)
Changed in maas: | |
milestone: | none → 2.5.0 |
status: | New → Triaged |
summary: |
- maas-proxy port should be configurable + [enhancement] maas-proxy port should be configurable |
tags: | added: enhancement |
tags: | added: wishlist |
Changed in maas: | |
milestone: | 2.5.0 → none |
Changed in maas: | |
milestone: | none → 2.5.0 |
importance: | Undecided → Medium |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
importance: | Medium → High |
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.
@Scott,
Master now provides the ability to define the proxy port where the MAAS built-in proxy will be providing services. It will automatically be used for newly deployed machines.
This will be a config option exposed as maas_proxy_port, before we start the backport process, just want to confirm this is what you had in mind.
Thanks.