Using the following script [1] and adding debug log messages in the pyroute2 library, I found that the method [2] tends to block the execution, not returning anything and blocking other threads, as seen in several log reports.
A possible solution could be to declare just once this variable in the priv_lib module and the passing it to the create and delete methods.
Hello:
Using the following script [1] and adding debug log messages in the pyroute2 library, I found that the method [2] tends to block the execution, not returning anything and blocking other threads, as seen in several log reports.
A possible solution could be to declare just once this variable in the priv_lib module and the passing it to the create and delete methods.
I'll propose a patch for this.
[1] http:// paste.openstack .org/show/ 787322/ /github. com/svinota/ pyroute2/ blob/master/ pyroute2/ netns/_ _init__ .py#L209
[2] https:/