MAAS wants to do a dhcp probe on a slave interface in a bond

Bug #1633763 reported by Mark Shuttleworth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
New
Undecided
Unassigned

Bug Description

I see logs indicating MAAS is trying to do a dhcp probe using interfaces that are part of a bond. I *think* it's correct to say that MAAS should only use the bond, not the individual slave interfaces.

ifenslave shows that some interfaces are part of bond-lan:

$ ifenslave -a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: em1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 44:a8:42:3a:63:c0 brd ff:ff:ff:ff:ff:ff
3: em2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 44:a8:42:3a:63:c1 brd ff:ff:ff:ff:ff:ff
4: em3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 44:a8:42:3a:63:c2 brd ff:ff:ff:ff:ff:ff
5: em4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 44:a8:42:3a:63:c3 brd ff:ff:ff:ff:ff:ff
6: p1p1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond-lan portid 000e1e989680 state UP mode DEFAULT group default qlen 1000
    link/ether a0:36:9f:74:68:c2 brd ff:ff:ff:ff:ff:ff
7: p2p1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond-lan state UP mode DEFAULT group default qlen 1000
    link/ether a0:36:9f:74:68:c2 brd ff:ff:ff:ff:ff:ff
8: p1p2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond-lan portid 000e1e989682 state UP mode DEFAULT group default qlen 1000
    link/ether a0:36:9f:74:68:c2 brd ff:ff:ff:ff:ff:ff
9: p2p2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond-lan state UP mode DEFAULT group default qlen 1000
    link/ether a0:36:9f:74:68:c2 brd ff:ff:ff:ff:ff:ff
10: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether e2:50:f9:ad:f1:87 brd ff:ff:ff:ff:ff:ff
11: bond-lan: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether a0:36:9f:74:68:c2 brd ff:ff:ff:ff:ff:ff
12: conjureup0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether f6:8f:b0:43:c4:5a brd ff:ff:ff:ff:ff:ff

Revision history for this message
Mike Pontillo (mpontillo) wrote :

I think this bug is essentially duplicate of bug #1633717. Bond parents shouldn't have IP addresses assigned to them, so (for now) should be skipped.

After MAAS gains support for DHCP detection on interfaces without an IP address assigned, we'll need to keep this in mind though. I agree that we should probably not try to probe bond parents. (the only reason it would help is if the bond was somehow misconfigured, but then the results would be misleading anyway.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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