Activity log for bug #1810043

Date Who What changed Old value New value Message
2018-12-29 16:44:50 Don Thornton Jr. bug added bug
2019-01-07 15:50:47 Ryan Harper netplan: status New Confirmed
2019-05-11 15:10:04 Deltik attachment added Rescans network interfaces after NetworkManager may have deleted some https://bugs.launchpad.net/netplan/+bug/1810043/+attachment/5263126/+files/apply.py.patch
2019-05-11 15:12:05 Deltik summary netplan apply fails if NIC alias exists netplan apply fails if NetworkManager deletes devices during apply
2019-05-11 15:13:37 Deltik information type Public Public Security
2019-05-11 15:13:40 Deltik information type Public Security Public
2019-05-11 15:58:09 Deltik bug added subscriber Deltik
2019-05-11 16:56:21 Deltik summary netplan apply fails if NetworkManager deletes devices during apply netplan apply fails if NIC alias exists
2019-05-11 17:12:01 Deltik attachment added Tolerate devices that no longer exist or otherwise do not appear in /sys/class/net/ https://bugs.launchpad.net/netplan/+bug/1810043/+attachment/5263137/+files/apply.py.patch
2019-05-21 16:06:24 Deltik netplan: assignee Deltik (deltik)
2019-05-21 16:06:26 Deltik netplan: status Confirmed Fix Committed
2019-08-20 18:14:26 Mathieu Trudel-Lapierre netplan: status Fix Committed Fix Released
2019-08-20 18:14:35 Mathieu Trudel-Lapierre bug task added netplan.io (Ubuntu)
2019-08-20 20:28:33 Ubuntu Foundations Team Bug Bot tags patch
2019-08-20 20:28:42 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2019-08-22 01:13:47 Launchpad Janitor netplan.io (Ubuntu): status New Fix Released
2019-08-27 16:27:27 Mathieu Trudel-Lapierre description # netplan apply Traceback (most recent call last): File "/usr/sbin/netplan", line 23, in <module> netplan.main() File "/usr/share/netplan/netplan/cli/core.py", line 50, in main self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 93, in command_apply stderr=subprocess.DEVNULL) File "/usr/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/eth0:0']' returned non-zero exit status 4. [Impact] Running 'netplan apply' when an interface has an alias/label defined for it. [Test case] On a system which has a label set for an interface: ip addr add 192.168.0.1/24 dev eth0 label eth0:0 1) run 'netplan apply' 2) verify that the configuration for netplan can be applied without errors. [Regression potential] This has minimal risk, and only adds an extra check for a subprocess call that will otherwise fail, but is safely skipped. Avoid crashing in netplan when the files required to run 'net_setup_link' are not available, as the rest of the process will already run net_setup_link for the "master" interface which will have its own files in /sys/class/net. --- # netplan apply Traceback (most recent call last):   File "/usr/sbin/netplan", line 23, in <module>     netplan.main()   File "/usr/share/netplan/netplan/cli/core.py", line 50, in main     self.run_command()   File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command     self.func()   File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run     self.run_command()   File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command     self.func()   File "/usr/share/netplan/netplan/cli/commands/apply.py", line 93, in command_apply     stderr=subprocess.DEVNULL)   File "/usr/lib/python3.6/subprocess.py", line 291, in check_call     raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/eth0:0']' returned non-zero exit status 4.
2019-08-27 22:47:54 Brian Murray netplan.io (Ubuntu Bionic): status New Fix Committed
2019-08-27 22:47:55 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2019-08-27 22:47:57 Brian Murray bug added subscriber SRU Verification
2019-08-27 22:48:02 Brian Murray tags patch patch verification-needed verification-needed-bionic
2019-08-28 17:46:50 Deltik tags patch verification-needed verification-needed-bionic patch verification-done-bionic
2019-09-30 20:56:16 Mathieu Trudel-Lapierre tags patch verification-done-bionic patch verification-done-bionic verification-done-disco
2019-10-02 21:49:41 Brian Murray nominated for series Ubuntu Disco
2019-10-02 21:49:41 Brian Murray bug task added netplan.io (Ubuntu Disco)
2019-10-02 21:49:48 Brian Murray netplan.io (Ubuntu Disco): status New Fix Committed
2019-10-02 21:54:51 Launchpad Janitor netplan.io (Ubuntu Disco): status Fix Committed Fix Released
2019-10-02 21:55:08 Launchpad Janitor netplan.io (Ubuntu Bionic): status Fix Committed Fix Released
2019-10-02 21:55:31 Brian Murray removed subscriber Ubuntu Stable Release Updates Team