yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60070
[Bug 1652157] Re: privsep configuration is invalid
Reviewed: https://review.openstack.org/414611
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=45ef8997e81c2648c6f8f10aafe427abe7b5730a
Submitter: Jenkins
Branch: master
commit 45ef8997e81c2648c6f8f10aafe427abe7b5730a
Author: Davanum Srinivas <davanum@xxxxxxxxx>
Date: Fri Dec 23 10:12:00 2016 -0500
Remove Duplicate line in privsep.filters
Only one line is picked up by configparser, so we should just
have one in the default privsep.filters file. This was found when
a stricter configparser kicked in for a python3.5 test.
Closes-Bug: #1652157
Change-Id: Ib7d9aa0e0b74a936002e0eea0b3af05102b06a62
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1652157
Title:
privsep configuration is invalid
Status in neutron:
Fix Released
Status in oslo.rootwrap:
In Progress
Bug description:
http://logs.openstack.org/76/414176/6/check/gate-devstack-dsvm-py35
-updown-ubuntu-xenial-
nv/e100b7f/logs/devstacklog.txt.gz#_2016-12-22_19_44_56_941
2016-12-22 19:44:56.941 | 2016-12-22 19:44:56.940 24861 ERROR neutron.agent.ovsdb.impl_vsctl [-] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--id=@manager', 'create', 'Manager', 'target="ptcp:6640:127.0.0.1"', '--', 'add', 'Open_vSwitch', '.', 'manager_options', '@manager']. Exception: Failed to spawn rootwrap process.
2016-12-22 19:44:56.941 | stderr:
2016-12-22 19:44:56.941 | b'Traceback (most recent call last):\n File "/usr/local/bin/neutron-rootwrap-daemon", line 10, in <module>\n sys.exit(daemon())\n File "/usr/local/lib/python3.5/dist-packages/oslo_rootwrap/cmd.py", line 57, in daemon\n return main(run_daemon=True)\n File "/usr/local/lib/python3.5/dist-packages/oslo_rootwrap/cmd.py", line 91, in main\n filters = wrapper.load_filters(config.filters_path)\n File "/usr/local/lib/python3.5/dist-packages/oslo_rootwrap/wrapper.py", line 120, in load_filters\n filterconfig.read(os.path.join(filterdir, filterfile))\n File "/usr/lib/python3.5/configparser.py", line 696, in read\n self._read(fp, filename)\n File "/usr/lib/python3.5/configparser.py", line 1089, in _read\n fpname, lineno)\nconfigparser.DuplicateOptionError: While reading from \'/etc/neutron/rootwrap.d/privsep.filters\' [line 32]: option \'privsep\' in section \'Filters\' already exists\n'
https://github.com/openstack/neutron/blob/master/etc/neutron/rootwrap.d/privsep.filters#L32-L36
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1652157/+subscriptions
References