nginx config does not handle IPv6 addresses
Bug #1777019 reported by
Lee Trager
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
nginx is not being configured properly for IPv6 addresses. It is missing the [] around the IPv6 address before the port. This is causing nginx to fail to start which is needed to start the ephemeral environment.
I only have 1 region controller in this setup but it has access to both IPv4 and IPv6. nginix should not consider this two different servers.
Currently:
upstream maas-regions {
server 10.0.0.2:5240;
server fc00::216:
}
What it should be
upstream maas-regions {
server 10.0.0.2:5240;
server [fc00::
}
Related branches
~blake-rouse/maas:fix-1777019
Merged
into
maas:master
- MAAS Lander: Approve
- Andres Rodriguez (community): Approve
-
Diff: 110 lines (+70/-2)2 files modifiedsrc/provisioningserver/rackdservices/http.py (+14/-2)
src/provisioningserver/rackdservices/tests/test_http.py (+56/-0)
description: | updated |
Changed in maas: | |
milestone: | none → 2.5.0 |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
status: | Confirmed → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
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.