Activity log for bug #1995469

Date Who What changed Old value New value Message
2022-11-02 09:59:50 Eugene Crosser bug added bug
2022-11-23 19:02:37 Corey Bryant nominated for series Ubuntu Kinetic
2022-11-23 19:02:37 Corey Bryant bug task added pyroute2 (Ubuntu Kinetic)
2022-11-23 19:02:42 Corey Bryant pyroute2 (Ubuntu): status New Fix Released
2022-11-23 19:02:46 Corey Bryant pyroute2 (Ubuntu Kinetic): status New Triaged
2022-11-23 19:02:48 Corey Bryant pyroute2 (Ubuntu Kinetic): importance Undecided High
2022-11-23 19:10:42 Corey Bryant description Because of this bug upstream https://github.com/svinota/pyroute2/issues/923, in the versions of pyroute2 prior to 0.6.10, all delete operations (address, link, route, ...) fail with 'Operation not supported'. This is related to the kernel commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a6cec0bcd34264be8887791594be793b3f12719f Pyroute package has to be upgraded to a version 0.6.10 or later as long as the distro comes with the kernel that contains the above commit. Reproducer: $ sudo python3 Python 3.10.7 (main, Sep 8 2022, 14:34:29) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from pyroute2 import IPRoute >>> IPRoute().link("add", ifname="dum0", kind="dummy") ({'header': {'length': 36, 'type': 2, 'flags': 256, 'sequence_number': 255, 'pid': 4993, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}, 'event': 'NLMSG_ERROR'},) >>> IPRoute().link_lookup(ifname="dum0") [10] >>> IPRoute().link("del", ifname="dum0") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/pr2modules/iproute/linux.py", line 1489, in link ret = self.nlm_request(msg, msg_type=command, msg_flags=msg_flags) File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 401, in nlm_request return tuple(self._genlm_request(*argv, **kwarg)) File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 906, in nlm_request for msg in self.get( File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 404, in get return tuple(self._genlm_get(*argv, **kwarg)) File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 732, in get raise msg['header']['error'] pr2modules.netlink.exceptions.NetlinkError: (95, 'Operation not supported') ProblemType: Bug DistroRelease: Ubuntu 22.10 Package: python3-pyroute2 0.6.7-3 ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7 Uname: Linux 5.19.0-23-generic x86_64 ApportVersion: 2.23.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Wed Nov 2 10:44:29 2022 InstallationDate: Installed on 2021-08-18 (440 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) PackageArchitecture: all SourcePackage: pyroute2 UpgradeStatus: Upgraded to kinetic on 2022-10-23 (9 days ago) [Impact] Because of this bug upstream https://github.com/svinota/pyroute2/issues/923, in the versions of pyroute2 prior to 0.6.10, all delete operations (address, link, route, ...) fail with 'Operation not supported'. This is related to the kernel commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a6cec0bcd34264be8887791594be793b3f12719f Pyroute package has to be upgraded to a version 0.6.10 or later as long as the distro comes with the kernel that contains the above commit. Reproducer: $ sudo python3 Python 3.10.7 (main, Sep 8 2022, 14:34:29) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from pyroute2 import IPRoute >>> IPRoute().link("add", ifname="dum0", kind="dummy") ({'header': {'length': 36, 'type': 2, 'flags': 256, 'sequence_number': 255, 'pid': 4993, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}, 'event': 'NLMSG_ERROR'},) >>> IPRoute().link_lookup(ifname="dum0") [10] >>> IPRoute().link("del", ifname="dum0") Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/usr/lib/python3/dist-packages/pr2modules/iproute/linux.py", line 1489, in link     ret = self.nlm_request(msg, msg_type=command, msg_flags=msg_flags)   File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 401, in nlm_request     return tuple(self._genlm_request(*argv, **kwarg))   File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 906, in nlm_request     for msg in self.get(   File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 404, in get     return tuple(self._genlm_get(*argv, **kwarg))   File "/usr/lib/python3/dist-packages/pr2modules/netlink/nlsocket.py", line 732, in get     raise msg['header']['error'] pr2modules.netlink.exceptions.NetlinkError: (95, 'Operation not supported') ProblemType: Bug DistroRelease: Ubuntu 22.10 Package: python3-pyroute2 0.6.7-3 ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7 Uname: Linux 5.19.0-23-generic x86_64 ApportVersion: 2.23.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Wed Nov 2 10:44:29 2022 InstallationDate: Installed on 2021-08-18 (440 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) PackageArchitecture: all SourcePackage: pyroute2 UpgradeStatus: Upgraded to kinetic on 2022-10-23 (9 days ago) [Test Case] There is a small reproducer above that Eugene included in the bug report. Additionally we can use the standard charm-deployed regression test suite to test kinetic-zed support. nova-compute units can be inspected to see if the 'Operation not supported' errors are no longer produced in /var/log/neutron/neutron-ovn-metadata-agent.log. [Regression Potential] The patch has already landed in releases of pyroute2 0.6.10 and above. Since pyroute2 is also backported to the zed cloud archive (which is on jammy) we'll need to ensure that this patch behaves as expected with jammy-zed deploys as well.
2022-11-23 20:40:16 Corey Bryant bug task added cloud-archive
2022-11-23 20:40:23 Corey Bryant nominated for series cloud-archive/zed
2022-11-23 20:40:23 Corey Bryant bug task added cloud-archive/zed
2022-11-23 20:40:30 Corey Bryant cloud-archive: status New Fix Released
2022-11-23 20:40:32 Corey Bryant cloud-archive/zed: status New Triaged
2022-11-23 20:40:34 Corey Bryant cloud-archive/zed: importance Undecided High
2022-11-23 20:47:38 Corey Bryant bug added subscriber Ubuntu Stable Release Updates Team
2022-11-24 14:35:47 Felipe Reyes bug added subscriber Felipe Reyes
2022-11-30 22:41:53 Brian Murray pyroute2 (Ubuntu Kinetic): status Triaged Fix Committed
2022-11-30 22:41:56 Brian Murray bug added subscriber SRU Verification
2022-11-30 22:42:02 Brian Murray tags amd64 apport-bug kinetic wayland-session amd64 apport-bug kinetic verification-needed verification-needed-kinetic wayland-session
2022-12-01 08:39:50 Eugene Crosser tags amd64 apport-bug kinetic verification-needed verification-needed-kinetic wayland-session amd64 apport-bug kinetic verification-done-kinetic verification-needed wayland-session
2022-12-01 15:51:41 Corey Bryant cloud-archive: status Fix Released Fix Committed
2022-12-01 15:51:43 Corey Bryant cloud-archive/zed: status Triaged Fix Committed
2022-12-13 00:13:27 Launchpad Janitor pyroute2 (Ubuntu Kinetic): status Fix Committed Fix Released
2022-12-13 00:13:32 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2023-01-09 14:14:14 Corey Bryant tags amd64 apport-bug kinetic verification-done-kinetic verification-needed wayland-session amd64 apport-bug kinetic verification-done verification-done-kinetic wayland-session
2023-01-09 14:14:18 Corey Bryant cloud-archive: status Fix Committed Fix Released
2023-01-09 14:15:11 Corey Bryant cloud-archive/zed: status Fix Committed Fix Released
2023-02-20 02:18:01 Nobuto Murata bug added subscriber Nobuto Murata
2023-02-20 06:57:27 DUFOUR Olivier bug added subscriber Canonical Field Critical
2023-02-20 09:47:29 James Page nominated for series Ubuntu Jammy
2023-02-20 09:47:29 James Page bug task added pyroute2 (Ubuntu Jammy)
2023-02-20 09:47:35 James Page pyroute2 (Ubuntu Jammy): status New Triaged
2023-02-20 09:47:38 James Page pyroute2 (Ubuntu Jammy): importance Undecided High
2023-02-20 09:58:48 James Page pyroute2 (Ubuntu Jammy): status Triaged In Progress
2023-02-20 10:08:20 James Page bug added subscriber Ubuntu Stable Release Updates Team
2023-02-20 10:22:23 DUFOUR Olivier bug added subscriber DUFOUR Olivier
2023-03-30 13:51:07 Robie Basak pyroute2 (Ubuntu Jammy): status In Progress Fix Committed
2023-03-30 13:51:13 Robie Basak tags amd64 apport-bug kinetic verification-done verification-done-kinetic wayland-session amd64 apport-bug kinetic verification-done-kinetic verification-needed verification-needed-jammy wayland-session
2023-05-17 14:21:21 James Page tags amd64 apport-bug kinetic verification-done-kinetic verification-needed verification-needed-jammy wayland-session amd64 apport-bug kinetic verification-done verification-done-jammy verification-done-kinetic wayland-session
2023-05-17 17:57:46 Guillaume Boutry bug added subscriber Guillaume Boutry
2023-05-18 17:47:12 Launchpad Janitor pyroute2 (Ubuntu Jammy): status Fix Committed Fix Released
2024-03-27 10:28:59 Maksim Malchuk bug added subscriber Maksim Malchuk