Comment 2 for bug 1962608

Revision history for this message
Lajos Katona (lajos-katona) wrote :

The exception raised (TypeError: __init__() takes 1 positional argument but 3 were given ) coming from here: https://github.com/svinota/pyroute2/blob/0.6.7/pyroute2.core/pr2modules/netlink/exceptions.py#L61-L67

The exception NetlinkDumpInterrupted was introduced by [1] & [2].

The exception NetlinkDumpInterrupted can be handled in [3], in my env it is quite frequent, so have to think about how to handle it.

[1]: https://github.com/svinota/pyroute2/commit/4a0c42f8a6b4668957bc231ff90a5016c94f3aa4
[2]: https://github.com/svinota/pyroute2/commit/25266ab1689488d96c6697c4dbe2cca1038c559d
[3]: https://opendev.org/openstack/neutron/src/branch/master/neutron/privileged/agent/linux/ip_lib.py#L564-L575