CLI results in connection timed out when behind haproxy and 5240 is blocked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Anton Troyanov | ||
3.2 |
Fix Released
|
High
|
Anton Troyanov | ||
3.3 |
Fix Released
|
High
|
Anton Troyanov |
Bug Description
I have deployed a 3 node MAAS HA via FCE with HAProxy in front of it using port 80. MAAS CLI commands from the MAAS nodes themselves work just fine. MAAS CLI commands from an external machine on a different network with access only to port 80 result in "connection timed out" errors. This looks to be very similar to a previous bug [1].
The maas_url is configured as:
$ sudo maas config
...
maas_url=http://
...
The MAAS CLI is configured as:
Root Interact with http://
When running commands on the MAAS node with debug, the following is seen:
Content-Location: http://
Reproducer should be the same as in [1].
MAAS version: 3.2.7-12037-
[1] https:/
[2] https:/
Related branches
- Alberto Donato: Approve
- Chris Johnston (community): Approve
- MAAS Lander: Approve
-
Diff: 13 lines (+1/-1)1 file modifiedsrc/maasserver/templates/http/regiond.nginx.conf.template (+1/-1)
- Anton Troyanov: Approve
-
Diff: 60 lines (+29/-2)2 files modifiedsrc/maascli/api.py (+4/-1)
src/maascli/tests/test_api.py (+25/-1)
- MAAS Lander: Needs Fixing
- Anton Troyanov: Approve
-
Diff: 60 lines (+29/-2)2 files modifiedsrc/maascli/api.py (+4/-1)
src/maascli/tests/test_api.py (+25/-1)
- MAAS Lander: Approve
- Igor Brovtsin (community): Approve
-
Diff: 60 lines (+29/-2)2 files modifiedsrc/maascli/api.py (+4/-1)
src/maascli/tests/test_api.py (+25/-1)
Changed in maas: | |
assignee: | nobody → Anton Troyanov (troyanov) |
status: | Confirmed → Triaged |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
importance: | Undecided → High |
milestone: | none → 3.4.0 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Subscribed ~field-high as this is blocking customer deployment.