[Bug 1943120] Re: interface not removed
Launchpad Bug Tracker
1943120 at bugs.launchpad.net
Wed Sep 29 15:01:52 UTC 2021
This bug was fixed in the package netplan.io - 0.103-0ubuntu6
---------------
netplan.io (0.103-0ubuntu6) impish; urgency=medium
* Add d/p/0005-Implement-YAML-state-tracking-and-use-it-in-the-DBus.patch:
Allow to pass a state to netplan apply/try so it can cleanup unused
virtual network interfaces after itself. Make use of this functionality
inside the DBus Config.Try()/Apply() API and the 'netplan try' CLI.
(LP: #1943120)
-- Lukas Märdian <slyon at ubuntu.com> Mon, 27 Sep 2021 16:47:30 +0200
** Changed in: netplan.io (Ubuntu Impish)
Status: New => 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/1943120
Title:
interface not removed
Status in netplan:
Fix Committed
Status in systemd:
New
Status in netplan.io package in Ubuntu:
Fix Released
Status in netplan.io source package in Focal:
New
Status in netplan.io source package in Hirsute:
New
Status in netplan.io source package in Impish:
Fix Released
Bug description:
While working on the UC20 integration for netplan I ran into the
follow, I may misunderstand how netplan dbus works so feel free to
close as "Invalid" if it's my misconception (and apologizes in this
case). Any help appreciated.
I ran into this while writing integration tests for snapd netplan
integration, I create (via the dbus api) a bridge br54, set it to dhcp
and then unset the interface again. After unset the br54 interface is
still available but AIUI it should be deleted. Attached is a
reproducer that uses the same dbus api as snapd is using. I ran it on
a fresh 21.04 VM and got the same issue so it's probably not UC20
specific.
If I do similar things using "netplan set/netplan try/netplan appy"
directly it seems that the interface gets deleted as expected. I did
not write a script for this though, just manually tried it so I might
be wrong here.
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1943120/+subscriptions
More information about the foundations-bugs
mailing list