ipv6 addresses in dhcpd.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Jacopo Rota | ||
3.0 |
Fix Released
|
Medium
|
Jorge Merlino | ||
3.1 |
Fix Released
|
Medium
|
Jorge Merlino | ||
3.2 |
Fix Released
|
Medium
|
Jorge Merlino | ||
3.3 |
Fix Released
|
High
|
Jacopo Rota | ||
3.4 |
Fix Released
|
High
|
Jacopo Rota | ||
3.5 |
Fix Released
|
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 |
Changed in maas: | |
milestone: | 3.5.0 → 3.5.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hello Jorge, or anyone else affected,
Accepted maas 3.1.3 into ppa:maas/3.1-next and snap:3.1/edge g.2eb4e7525) .
(code version 3.1.3-10930-
Please test this update and provide your feedback on this bug:
If it fixes the bug for you, please add a comment mentioning the version you tested and what testing has been performed, and change the tag from verification- needed- maas-3. 1 to verification- done-maas- 3.1.
If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- maas-3. 1.
The update will be released after the bug(s) have been verified and quality assurance testing is successful.
Thank you in advance for helping!