get_connector_properties: exception FailedToDropPrivileges

Bug #1849610 reported by Imran Ansari
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
New
Undecided
Unassigned

Bug Description

Hi,
We are using os-brick in our Docker volume plugin and on one of our customer's setup, the plugin runs fine for few hours and then it starts failing while trying to execute privsep-helper with the import error.

Would really appreciate any help/hints on this.

2019-09-17 14:05:04,490 [DEBUG] os_brick.utils [140667073555176] PoolThread-twisted.internet.reactor-0 ==> get_connector_properties: call "{'root_helper': 'sudo', 'my_ip': 'xxx.xxx.xxx.xxx', 'multipath': True, 'enforce_multipath': True, 'host': None, 'execute': None}"
2019-09-17 14:05:04,491 [INFO] oslo.privsep.daemon [140667073555176] PoolThread-twisted.internet.reactor-0 Running privsep helper: ['sudo', 'privsep-helper', '--config-file', '/etc/hpedockerplugin/hpe.conf', '--privsep_context', 'os_brick.privileged.default', '--privsep_sock_path', '/tmp/tmp1bxcn9_h/privsep.sock']
2019-09-17 14:05:04,665 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: Traceback (most recent call last):
2019-09-17 14:05:04,666 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: File "/usr/bin/privsep-helper", line 6, in <module>
2019-09-17 14:05:04,666 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: from pkg_resources import load_entry_point
2019-09-17 14:05:04,666 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 77, in <module>
2019-09-17 14:05:04,667 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: __import__('pkg_resources.extern.packaging.requirements')
2019-09-17 14:05:04,667 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: File "/usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 9, in <module>
2019-09-17 14:05:04,667 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: from pkg_resources.extern.pyparsing import stringStart, stringEnd, originalTextFor, ParseException
2019-09-17 14:05:04,667 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: File "/usr/lib/python3.6/site-packages/pkg_resources/extern/__init__.py", line 61, in load_module
2019-09-17 14:05:04,668 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: "distribution.".format(**locals())
2019-09-17 14:05:04,668 [WARNING] oslo.privsep.daemon [140667071171304] fd_logger privsep log: ImportError: The 'pyparsing' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.
2019-09-17 14:05:04,677 [CRITICAL] oslo.privsep.daemon [140667073555176] PoolThread-twisted.internet.reactor-0 privsep helper command exited non-zero (1)
2019-09-17 14:05:04,677 [DEBUG] os_brick.utils [140667073555176] PoolThread-twisted.internet.reactor-0 <== get_connector_properties: exception (187ms) FailedToDropPrivileges('privsep helper command exited non-zero (1)',)

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.