[Bug 2065870] Re: netplan does not use permaddr to match macaddress:
Lukas Märdian
2065870 at bugs.launchpad.net
Wed Oct 16 07:58:54 UTC 2024
Will be fixed in 1.1.1-1
** Also affects: netplan.io (Ubuntu)
Importance: Undecided
Status: New
** Changed in: netplan.io (Ubuntu)
Status: New => Fix Released
** Changed in: netplan.io (Ubuntu)
Status: Fix Released => Fix Committed
** Changed in: netplan
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/2065870
Title:
netplan does not use permaddr to match macaddress:
Status in Netplan:
Fix Released
Status in netplan.io package in Ubuntu:
Fix Committed
Bug description:
When creating a bonded interface using only match: macaddress once the
bond is created the mac is no longer unique, and re running netplan
apply throws an error.
e.g. a config like this
network:
version: 2
renderer: networkd
ethernets:
eth0:
set-name: eth0
match:
macaddress: 00:50:56:29:00:b4
eth1:
set-name: eth1
match:
macaddress: 00:50:56:29:00:b5
eth2:
set-name: eth2
match:
macaddress: 00:50:56:29:00:b6
eth3:
set-name: eth3
match:
macaddress: 00:50:56:29:00:b7
bonds:
bond0:
interfaces: ['eth0', 'eth3']
parameters:
mode: active-backup
mii-monitor-interval: 100
primary: eth0
primary-reselect-policy: always
addresses:
- 10.0.0.10/24
routes:
- to: default
via: 10.0.0.1
metric: 100
bond1:
interfaces: ['eth2', 'eth1']
parameters:
mode: active-backup
mii-monitor-interval: 100
primary: eth2
primary-reselect-policy: always
addresses:
- 10.0.1.10/24
netplan apply works to initially create the bonds, but on re run fails
as eth0, eth2 and bond0 all have the same mac.
netplan apply
[]
Cannot find unique matching interface for eth0
[]
Cannot find unique matching interface for eth1
[]
Cannot find unique matching interface for eth2
[]
Cannot find unique matching interface for eth3
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/2065870/+subscriptions
More information about the foundations-bugs
mailing list