[2.0a3] dhcpd is configured incorrectly when two subnets are incorrectly placed in the same VLAN
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
Rakc controller subnets:
eth0 - fabric-1 - 192.168.10.0/24
eth1 - fabric-0 - 192.168.20.0/24
eth2 - fabric-2 - random subnet
This is what I did:
1. Provide DHCP on fabric-1, DHCP configured correctly for eth0.
2. Moved Rack Controller eth0 from Fabric-1 to Fabric-0.
3. Provide DHCP on fabric-0, DHCP configured correctly for eth0
4. Upgrade to alpha3 -> DHCP configured correctly
5. Delete Fabric-1 -> DHCP Configured correctly
6. Restart maas-rackd -> DHCP configured incorrectly, against eth2
10: eth0: <BROADCAST,
link/ether 00:16:3e:11:c8:87 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.27/24 brd 192.168.10.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::216:
valid_lft forever preferred_lft forever
12: eth1: <BROADCAST,
link/ether fc:cf:fc:cf:fc:0b brd ff:ff:ff:ff:ff:ff
inet 192.168.20.104/24 brd 192.168.20.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::fecf:
valid_lft forever preferred_lft forever
14: eth2: <BROADCAST,
link/ether fc:cf:fc:cf:fc:0c brd ff:ff:ff:ff:ff:ff
inet 10.216.160.107/16 brd 10.216.255.255 scope global eth2
valid_lft forever preferred_lft forever
inet6 fe80::fecf:
valid_lft forever preferred_lft forever
dhcpd 13376 0.0 0.1 25072 11184 ? Ss 05:56 0:00 dhcpd -user dhcpd -group dhcpd -f -q -4 -pf /run/maas/
Related branches
- Gavin Panella (community): Approve
- Lee Trager (community): Approve
- Mike Pontillo (community): Approve
-
Diff: 1543 lines (+1039/-173)8 files modifiedetc/maas/templates/dhcp/dhcpd.conf.template (+2/-1)
etc/maas/templates/dhcp/dhcpd6.conf.template (+2/-1)
scripts/maas-dhcp-helper (+11/-5)
setup.py (+1/-1)
src/maasserver/dhcp.py (+34/-5)
src/maasserver/tests/test_dhcp.py (+81/-12)
src/provisioningserver/rpc/dhcp.py (+221/-51)
src/provisioningserver/rpc/tests/test_dhcp.py (+687/-97)
Changed in maas: | |
milestone: | none → 2.0.0 |
importance: | Undecided → Critical |
status: | New → Confirmed |
summary: |
- [2.0a3] after upgrade to pre-alpha3, dhcpd is configured incorrectly + [2.0a3] dhcpd is configured incorrectly when two subnets are incorrectly + placed in the same VLAN |
Changed in maas: | |
status: | Confirmed → Triaged |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
dhcpd.conf: https:/ /bugs.launchpad .net/maas/ +bug/1559330 paste.ubuntu. com/15418820/
ip addr sh: http://
This is a container.