Page MenuHomeVyOS Platform

Not able to delete the configured arp-monitor target and interval attribute on VyOS 1.2.0
Closed, ResolvedPublic

Description

vyos@vyos:~$ show configuration commands | grep bond
set interfaces bonding bond2 arp-monitor interval '10000'
set interfaces bonding bond2 arp-monitor target '10.10.10.10'
set interfaces bonding bond2 arp-monitor target '11.11.11.11'
set interfaces bonding bond2 hash-policy 'layer2'
set interfaces bonding bond2 mode '802.3ad'
set interfaces bonding bond3

vyos@vyos:~$ configure
[edit]
vyos@vyos# delete interfaces bonding bond2 arp-monitor target '10.10.10.10'
[edit]
vyos@vyos# commit
[ interfaces bonding bond2 arp-monitor target 10.10.10.10 ]
sh: line 0: echo: write error: Invalid argument

interfaces bonding bond2 failed
Commit failed
[edit]

[edit]
vyos@vyos# delete interfaces bonding bond2 arp-monitor interval
[edit]
vyos@vyos# commit
[ interfaces bonding bond2 arp-monitor interval 0 ]
sh: line 0: echo: write error: Permission denied

interfaces bonding bond2 failed
Commit failed
[edit]

vyos@vyos:~$ show version
Version: VyOS 1.2.0-rolling+201906120337
Built by: [email protected]
Built on: Wed 12 Jun 2019 03:37 UTC
Build UUID: fbc13679-1bf1-471e-9495-e984d5ace84e
Build Commit ID: 08eaa95a34ca63

Architecture: x86_64
Boot via: livecd
System type: KVM guest

Details

Difficulty level
Unknown (require assessment)
Version
-1.2.0
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

dmbaturin added a project: VyOS 1.2 Crux.
dmbaturin set Is it a breaking change? to Unspecified (possibly destroys the router).

It seems Arp monitor not supported in 802.3ad mode

[Tue Jun  8 13:07:43 2021] bond2: Warning: No 802.3ad response from the link partner for any adapters in the bond
[Tue Jun  8 13:07:43 2021] IPv6: ADDRCONF(NETDEV_CHANGE): bond2: link becomes ready
[Tue Jun  8 13:07:43 2021] bond2: Warning: No 802.3ad response from the link partner for any adapters in the bond
[Tue Jun  8 13:08:27 2021] bond2: option arp_interval: mode dependency failed, not supported in mode 802.3ad(4)
[Tue Jun  8 13:10:30 2021] bond2: option arp_interval: mode dependency failed, not supported in mode 802.3ad(4)
[Tue Jun  8 13:13:15 2021] bond2: option arp_interval: mode dependency failed, not supported in mode 802.3ad(4)
[Tue Jun  8 13:14:13 2021] bond2: option arp_interval: mode dependency failed, not supported in mode 802.3ad(4)
[Tue Jun  8 13:14:16 2021] bond2: option arp_interval: mode dependency failed, not supported in mode 802.3ad(4)
[Tue Jun  8 13:14:31 2021] bond2: option arp_interval: mode dependency failed, not supported in mode 802.3ad(4)

It allowed only in "Balance-rr or 0" and "Balance-xor or 2" modes.

dmbaturin added a subscriber: dmbaturin.

It is impossible to create the config in question now.

vyos@vyos# commit

ARP link monitoring does not work for mode 802.3ad, transmit-load-
balance or adaptive-load-balance

[[interfaces bonding bond2]] failed
Commit failed