Comment 2 for bug 1673832

Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Here's another bit of logs, that look interesting:

2017-03-24 12:52:14.386 23097 INFO oslo.privsep.daemon [-] Running privsep helper: ['sudo', 'privsep-helper', '--config-file', u'/etc/kuryr/kuryr.conf', '--privsep_context', 'vif_plug_ovs.privsep.vif_plug
', '--privsep_sock_path', '/tmp/tmpRuY61M/privsep.sock']
2017-03-24 12:52:14.392 23097 WARNING oslo.privsep.daemon [-] privsep log: root is not in the sudoers file. This incident will be reported.
2017-03-24 12:52:14.393 23097 CRITICAL oslo.privsep.daemon [-] privsep helper command exited non-zero (1)
2017-03-24 12:52:14.393 23097 ERROR os_vif [-] Failed to plug vif VIFOpenVSwitch(active=True,address=fa:16:3e:81:81:a5,bridge_name='br-int',has_traffic_filtering=True,id=718f89b7-3882-4ff5-91b8-d280c8fe28
aa,network=Network(b6cf0aff-0f35-4cb3-9d19-66a8960fa471),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap718f89b7-38')
2017-03-24 12:52:14.393 23097 ERROR os_vif Traceback (most recent call last):
2017-03-24 12:52:14.393 23097 ERROR os_vif File "/usr/local/lib/python2.7/dist-packages/os_vif/__init__.py", line 80, in plug
2017-03-24 12:52:14.393 23097 ERROR os_vif plugin.plug(vif, instance_info)
2017-03-24 12:52:14.393 23097 ERROR os_vif File "/usr/local/lib/python2.7/dist-packages/vif_plug_ovs/ovs.py", line 165, in plug
2017-03-24 12:52:14.393 23097 ERROR os_vif constants.OVS_DATAPATH_SYSTEM)
2017-03-24 12:52:14.393 23097 ERROR os_vif File "/usr/local/lib/python2.7/dist-packages/oslo_privsep/priv_context.py", line 204, in _wrap
2017-03-24 12:52:14.393 23097 ERROR os_vif self.start()
2017-03-24 12:52:14.393 23097 ERROR os_vif File "/usr/local/lib/python2.7/dist-packages/oslo_privsep/priv_context.py", line 215, in start
2017-03-24 12:52:14.393 23097 ERROR os_vif channel = daemon.RootwrapClientChannel(context=self)
2017-03-24 12:52:14.393 23097 ERROR os_vif File "/usr/local/lib/python2.7/dist-packages/oslo_privsep/daemon.py", line 328, in __init__
2017-03-24 12:52:14.393 23097 ERROR os_vif raise FailedToDropPrivileges(msg)
2017-03-24 12:52:14.393 23097 ERROR os_vif FailedToDropPrivileges: privsep helper command exited non-zero (1)
2017-03-24 12:52:14.393 23097 ERROR os_vif

the most interesting bit here is "root is not in the sudoers file. This incident will be reported". After adding root to sudoers file the issue is half-gone for me. (I still get stacktraces Irena mentions).