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
28
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

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

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

Changed in maas:
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Jason Hobbs (jason-hobbs)
milestone: none → 1.7.0
Changed in maas:
status: In Progress → Fix Committed
Revision history for this message
Julian Edwards (julian-edwards) wrote :

FWIW please try to state the problem in the bug title, not the desired solution. We need to set a good example to other reporters :)

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
Raphaël Badin (rvb)
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.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.