ipv6 addresses in dhcpd.conf
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MAAS | Status tracked in 3.5 | |||||
3.0 |
Fix Committed
|
Medium
|
Jorge Merlino | |||
3.1 |
Fix Committed
|
Medium
|
Jorge Merlino | |||
3.2 |
Fix Released
|
Medium
|
Jorge Merlino | |||
3.3 |
Fix Committed
|
High
|
Jacopo Rota | |||
3.4 |
Fix Released
|
High
|
Jacopo Rota | |||
3.5 |
Fix Committed
|
High
|
Jacopo Rota |
Bug Description
This issue occurs in HA installations, when there are ipv6 and ipv4 addresses configured in the same interface and the same VLAN where DHCP is enabled. Sometimes ipv6 addresses are used in the address and peer address parameters on the failover DHCP configuration on dhcpd.conf.
It seems that MAAS does not check the type of the ip addresses when building the failover configuration in the make_failover_
I'm using snap version 3.2.8-12050-
Example:
- Secondary DHCP node:
#
# Failover Peers
#
failover peer "failover-
secondary;
address 192.168.133.6;
peer address 2001:1890:
max-response-
max-unacked-
load balance max seconds 3;
}
- Primary DHCP node:
#
# Failover Peers
#
failover peer "failover-
primary;
address 2001:1890:
peer address 192.168.133.6;
max-response-
max-unacked-
load balance max seconds 3;
mclt 3600;
split 255;
}
Related branches
- Jacopo Rota: Approve
- MAAS Lander: Approve
-
Diff: 286 lines (+123/-21)2 files modifiedsrc/maasserver/dhcp.py (+15/-9)
src/maasserver/tests/test_dhcp.py (+108/-12)
- Jacopo Rota: Approve
- MAAS Lander: Approve
-
Diff: 286 lines (+123/-21)2 files modifiedsrc/maasserver/dhcp.py (+15/-9)
src/maasserver/tests/test_dhcp.py (+108/-12)
- Jacopo Rota: Approve
- MAAS Lander: Approve
-
Diff: 286 lines (+123/-21)2 files modifiedsrc/maasserver/dhcp.py (+15/-9)
src/maasserver/tests/test_dhcp.py (+108/-12)
- MAAS Lander: Approve
- Jacopo Rota: Approve
-
Diff: 286 lines (+123/-21)2 files modifiedsrc/maasserver/dhcp.py (+15/-9)
src/maasserver/tests/test_dhcp.py (+108/-12)
- MAAS Lander: Approve
- Jacopo Rota: Approve
-
Diff: 286 lines (+123/-21)2 files modifiedsrc/maasserver/dhcp.py (+15/-9)
src/maasserver/tests/test_dhcp.py (+108/-12)
- MAAS Lander: Approve
- Anton Troyanov: Approve
-
Diff: 286 lines (+123/-21)2 files modifiedsrc/maasserver/dhcp.py (+15/-9)
src/maasserver/tests/test_dhcp.py (+108/-12)
tags: | added: sts |
Changed in maas: | |
assignee: | nobody → Jacopo Rota (r00ta) |
milestone: | none → 3.4.0 |
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
status: | Triaged → In Progress |