bond-lacp-rate set on any bond type

Bug #1730626 reported by Alvaro Uria
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Mike Pontillo
2.3
Fix Released
Medium
Unassigned

Bug Description

MAAS version: 2.2.2 (6099-g8751f91-0ubuntu1~16.04.1)

From MAAS webUI, I configured a node with:
* bond0: 802.3ad + lacp-rate=fast
** bond0.XX: VLAN
* bond1: active-backup

When I deployed it, I found the following in dmesg:

[ 14.947707] bond1: option lacp_rate: mode dependency failed, not supported in mode active-backup(1)

In /etc/network/interfaces, I see that bond1 (and its slaves) have "bond-lacp-rate fast" as parameter, when only bond0 (and its slaves) should have it.

Related branches

tags: added: internal
Changed in maas:
importance: Undecided → Medium
status: New → Triaged
milestone: none → 2.4.0alpha1
Changed in maas:
assignee: nobody → Mike Pontillo (mpontillo)
Revision history for this message
Mike Pontillo (mpontillo) wrote :

This needs further triage; I'm not sure if this is a MAAS issue or a curtin/cloud-init issue. It's likely that MAAS is passing the correct configuration, but it's being rendered incorrectly. I would need to test to confirm.

If you can attach the output of "maas $PROFILE machine get-curtin-config $SYSTEM_ID" for the machine with the misconfigured bonds, we can narrow down the problem.

Changed in maas:
status: Triaged → Incomplete
Revision history for this message
Mike Pontillo (mpontillo) wrote :

Ah, I see the issue; MAAS will pass in the LACP rate regardless of bond type, and curtin/cloud-init will render it no matter what. So it seems none of the layers involved have logic to filter invalid combinations. I'll give this some thought to see if we can fix this in MAAS.

Changed in maas:
status: Incomplete → Triaged
Changed in maas:
status: Triaged → 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.

Other bug subscribers

Remote bug watches

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