When a node has multiple interfaces on a network MAAS manages, MAAS assigns static IP addresses to all of them
Bug #1379209 reported by
Jason Hobbs
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jason Hobbs |
Bug Description
Currently, when a node has multiple IP interfaces on a network MAAS manages, MAAS assigns static IP assignments to any interfaces that have DHCP'd before.
That breaks stuff like Juju and DNS, and wastes an IP address when people don't want IP addresses for all interfaces; for instance, if they're using bonding and only need one IP.
Related branches
lp:~jason-hobbs/maas/add-pxe-mac
- Raphaël Badin (community): Approve
-
Diff: 424 lines (+390/-1)3 files modifiedsrc/maasserver/migrations/0114_add_pxe_mac_to_node.py (+375/-0)
src/maasserver/models/node.py (+11/-1)
src/maasserver/models/tests/test_node.py (+4/-0)
lp:~jason-hobbs/maas/populate-pxe-mac
- Raphaël Badin (community): Approve
- Jeroen T. Vermeulen (community): Approve
-
Diff: 44 lines (+18/-1)2 files modifiedsrc/maasserver/api/pxeconfig.py (+7/-1)
src/maasserver/api/tests/test_pxeconfig.py (+11/-0)
lp:~jason-hobbs/maas/allocate-static-ip-only-for-pxe-mac
- Raphaël Badin (community): Approve
-
Diff: 171 lines (+41/-81)2 files modifiedsrc/maasserver/models/node.py (+19/-26)
src/maasserver/models/tests/test_node.py (+22/-55)
lp:~jason-hobbs/maas/bug-1378803-through-Node-pxe_mac
- Raphaël Badin (community): Approve
-
Diff: 162 lines (+23/-52)4 files modifiedsrc/maasserver/networking_preseed.py (+8/-12)
src/maasserver/tests/test_networking_preseed.py (+10/-36)
src/maasserver/tests/test_preseed.py (+3/-2)
src/metadataserver/tests/test_api.py (+2/-2)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → In Progress |
summary: |
- Only the interface that PXE boots should receive a static IP address - assignment when we start a node + When a node has multiple interfaces on a network MAAS manages, MAAS + assigns static IP addresses to all of them |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I just hit this on an Orange Box, on our VM instances which have 2 network interfaces. When starting one of them, it won't boot, fails deploying. This error is in the MAAS log, as it seems to be booting from a different MAC address:
Oct 9 10:43:47 OrangeBox11 maas.macaddress: [ERROR] node0vm0.maas: Tried to allocate an IP to MAC 52:54:00:86:2e:21 but its cluster interface is not known