[2.x] MAAS should not set bond-lacp_rate in active-backup mode

Bug #1672088 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Medium
Unassigned

Bug Description

When configuring bond as active-backup through MAAS, the following /e/n/i will be written:

auto bond0
iface bond0 inet manual
    bond-mode active-backup
    mtu 9000
    hwaddress ether <mac_address>
    bond-lacp_rate slow
    bond-xmit_hash_policy layer2
    bond-slaves none
    bond-miimon 100

bond-lacp and bond-xmit_hash_policy are unrelated to active-backup mode. MAAS should not write unrelated mode-specific configurations, IMO. Actually those are recorded as kernel log errors.

$ journalctl -k --priority=err | grep bond0
Mar 11 20:57:42 ubuntu kernel: bond0: option lacp_rate: mode dependency failed, not supported in mode active-backup(1)

Nobuto Murata (nobuto)
summary: - [2.1] MAAS should not set bond-xmit_hash_policy in active-backup mode
+ [2.1] MAAS should not set bond-lacp_rate in active-backup mode
Changed in maas:
milestone: none → 2.2.0
Changed in maas:
milestone: 2.2.0 → 2.2.x
Changed in maas:
importance: Undecided → Medium
status: New → Triaged
milestone: 2.2.x → 2.3.0
Revision history for this message
Andres Rodriguez (andreserl) wrote : Re: [2.1] MAAS should not set bond-lacp_rate in active-backup mode

Hi Nobuto,

Does this create any problem other than just displaying that message in the logs ?

summary: - [2.1] MAAS should not set bond-lacp_rate in active-backup mode
+ [2.x] MAAS should not set bond-lacp_rate in active-backup mode
Changed in maas:
milestone: 2.3.0 → 2.3.x
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

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