os_vif error: [Errno 24] Too many open files
Bug #1807949 reported by
sean mooney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-vif |
Fix Released
|
High
|
Rodolfo Alonso |
Bug Description
There is a possible file handel leak in pyroute2
This is a generic tracking bug for this error.
pyroute 2 has fixed several such leaks in the past and they are mostly due to python 2 issues
it is possible that these leaks only affect some releases as such we should consider blacklistig
the effected relase until we move to python3 only. the root casuse of these leak normally has been
a defect in how the low level python2 libs that pyroute2 cleanup the os sockets which is change in python3 and nolonger causes these issue but that is not always the case.
To post a comment you must log in.
In case a concrete example is desired:
Dec 11 15:07:13.963832 ubuntu- xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif [None req-6075af98- f76b-4f27- a69e-73a4f99788 5a tempest- AttachInterface sTestJSON- 492002961 tempest- AttachInterface sTestJSON- 492002961] Failed to plug vif VIFBridge( active= False,address= fa:16:3e: df:e9:11, bridge_ name='qbr6d01fb 20-16', has_traffic_ filtering= True,id= 6d01fb20- 1652-4706- b8c3-d4d7de6a44 cd,network= Network( 9365e488- 0327-45e7- baa3-594ba64535 b4),plugin= 'ovs',port_ profile= VIFPortProfileO penVSwitch, preserve_ on_delete= True,vif_ name='tap6d01fb 20-16') : OSError: [Errno 24] Too many open files xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif Traceback (most recent call last): xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif File "/usr/local/ lib/python2. 7/dist- packages/ os_vif/ __init_ _.py", line 77, in plug xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif plugin.plug(vif, instance_info) xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif File "/usr/local/ lib/python2. 7/dist- packages/ vif_plug_ ovs/ovs. py", line 263, in plug xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif self._plug_ bridge( vif, instance_info) xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif File "/usr/local/ lib/python2. 7/dist- packages/ vif_plug_ ovs/ovs. py", line 210, in _plug_bridge xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif linux_net. ensure_ bridge( vif.bridge_ name) xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif File "/usr/local/ lib/python2. 7/dist- packages/ oslo_privsep/ priv_context. py", line 207, in _wrap xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif return self.channel. remote_ call(name, args, kwargs) xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif File "/usr/local/ lib/python2. 7/dist- packages/ oslo_privsep/ daemon. py", line 202, in remote_call xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif raise exc_type( *result[ 2]) xenial- rax-iad- 0001126348 nova-compute[ 31767]: ERROR os_vif OSError: [Errno 24] Too many open files
Dec 11 15:07:13.964416 ubuntu-
Dec 11 15:07:13.964680 ubuntu-
Dec 11 15:07:13.964926 ubuntu-
Dec 11 15:07:13.965169 ubuntu-
Dec 11 15:07:13.965401 ubuntu-
Dec 11 15:07:13.965647 ubuntu-
Dec 11 15:07:13.965897 ubuntu-
Dec 11 15:07:13.966138 ubuntu-
Dec 11 15:07:13.966379 ubuntu-
Dec 11 15:07:13.970795 ubuntu-
Dec 11 15:07:13.971240 ubuntu-
Dec 11 15:07:13.971602 ubuntu-
citation: http:// logs.openstack. org/75/ 623275/ 10/check/ neutron- tempest- iptables_ hybrid/ e1ae127/ logs/screen- n-cpu.txt. gz?level= ERROR#_ Dec_11_ 15_07_13_ 963832