[Bug 2065870] Re: netplan does not use permaddr to match macaddress:
Launchpad Bug Tracker
2065870 at bugs.launchpad.net
Thu Nov 7 23:14:57 UTC 2024
This bug was fixed in the package netplan.io - 1.1.1-1
---------------
netplan.io (1.1.1-1) unstable; urgency=medium
* New upstream release: 1.1.1
- NM: add support for stable-ssid MAC option !524 (LP: #2084234)
- wpa_supplicant: add ExecReload to the service unit !523
- Create snippet files for single-sourcing repetitive instructions !505
- doc: Add initial 'Cryptography' section !517
- Several code cleanup & fixes for TiCS !507
- tests: ethernets: Add ipv6-address-generation integration tests !509
- cli: drop python-netifaces !503 (LP: #2065870, LP: #2017585)
- parse-nm: account for veth and dummy when checking for virtual types !513
- Avoid dependency on dbus-python !511
- tests: Improve vrf/wireguard modprobe check inside containers !510
- tests:ethernets: avoid flaky test_ip6_eui64 results !514
- ovs: quote external-ids and other-config values !512 (LP: #2070318)
- Handle implicit conversions !496
- Use more permissive umask for .service units !516 (LP: #2072486)
- Revert "apply: make sure that networkd is restarted when needed" !518
(LP: #2078009)
- Handling encoding issues on netplan status !521 (LP: #2079975)
- include: fix apidoc warnings about undocumented parameters
* d/patches: Drop patches, applied upstream
* d/control: Drop python3-{dbus,netifaces} dependencies, not needed anymore
* d/{rules,control}: Utilize dh-python
-- Lukas Märdian <slyon at debian.org> Wed, 16 Oct 2024 09:46:10 +0200
** Changed in: netplan.io (Ubuntu)
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 Released
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