-
-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: 'NoneType' object is not subscriptable #1305
Comments
Thanks for the debug info, it would be hard to find otherwise. Investigating |
Looks like the error comes either from https://opendev.org/openstack/oslo.privsep/src/commit/959f01e9996873ffb863285d968faba68709d1ac/oslo_privsep/daemon.py#L480 , or from https://opendev.org/openstack/oslo.privsep/src/commit/959f01e9996873ffb863285d968faba68709d1ac/oslo_privsep/daemon.py#L508 Either way Ok, I'll try to see what can come from pyroute2:s |
@ralonsoh , can we run the CI against a custom pyroute2 branch? |
Hi @svinota. We can use https://review.opendev.org/c/openstack/neutron/+/942859, for example. In the script |
This error is randomly happening in the Neutron functional CI (e.g.: [1]). The problem is that I'm not sure exactly where in the code is this problem because the pyroute2 calls are done via a root privileged daemon that only returns the error, not the trace. I've tried to reproduce this issue locally not calling pryoute2 library inside a privsep context (that calls the method remotely via this daemon) but I was not able.
This issue started happening on Feb 21 [2], so I've tried using different patches since this day. I've identified the culprit: 264c80c. When using this patch, the issue starts appearing in our CI.
[1]https://8011428c57c656673612-eb8cb59c110a9d33c33aa832e5c84dda.ssl.cf5.rackcdn.com/942859/5/check/neutron-functional-with-pyroute2-master-5/c8cbaf5/testr_results.html
[2]https://bugs.launchpad.net/neutron/+bug/2100261
The text was updated successfully, but these errors were encountered: