yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24038
[Bug 1384731] [NEW] missing neutron l3 filter causes Traceback
Public bug reported:
In Juno release /rootwrap.d/l3.filters missing filter, which enables to
kill any process with -9
At least neutron-l3-agent raises exception when I restart it.
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent self._destroy_namespace(ns)
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/l3_agent.py", line 642, in _destroy_namespace
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent self._destroy_metadata_proxy(ns[len(NS_PREFIX):], ns)
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/l3_agent.py", line 825, in _destroy_metadata_proxy
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent pm.disable()
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/linux/external_process.py", line 91, in disable
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent utils.execute(cmd, self.root_helper)
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 84, in execute
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent raise RuntimeError(m)
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent RuntimeError:
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Command: ['sudo', 'neutron-rootwrap', '/home/vb/etc/neutron/rootwrap.conf', 'kill', '-9', '2913']
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Exit code: 99
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Stdout: ''
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Stderr: '/usr/sbin/neutron-rootwrap: Unauthorized command: kill -9 2913 (no filter matched)\n'
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent
** Affects: neutron
Importance: Undecided
Status: New
** Description changed:
In Juno release /rootwrap.d/l3.filters missing filter, which enables to
kill any process with -9
At least neutron-l3-agent raises exception when I restart it.
- I added the following line and exception disappeared:
- kill_N: KillFilter, root, -9, -HUP
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent self._destroy_namespace(ns)
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/l3_agent.py", line 642, in _destroy_namespace
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent self._destroy_metadata_proxy(ns[len(NS_PREFIX):], ns)
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/l3_agent.py", line 825, in _destroy_metadata_proxy
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent pm.disable()
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/linux/external_process.py", line 91, in disable
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent utils.execute(cmd, self.root_helper)
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 84, in execute
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent raise RuntimeError(m)
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent RuntimeError:
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Command: ['sudo', 'neutron-rootwrap', '/home/vb/etc/neutron/rootwrap.conf', 'kill', '-9', '2913']
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Exit code: 99
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Stdout: ''
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Stderr: '/usr/sbin/neutron-rootwrap: Unauthorized command: kill -9 2913 (no filter matched)\n'
+ 2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent
** Project changed: nova => neutron
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1384731
Title:
missing neutron l3 filter causes Traceback
Status in OpenStack Neutron (virtual network service):
New
Bug description:
In Juno release /rootwrap.d/l3.filters missing filter, which enables
to kill any process with -9
At least neutron-l3-agent raises exception when I restart it.
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent self._destroy_namespace(ns)
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/l3_agent.py", line 642, in _destroy_namespace
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent self._destroy_metadata_proxy(ns[len(NS_PREFIX):], ns)
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/l3_agent.py", line 825, in _destroy_metadata_proxy
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent pm.disable()
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/linux/external_process.py", line 91, in disable
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent utils.execute(cmd, self.root_helper)
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent File "/home/vb/.virtualenvs/ecs/local/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 84, in execute
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent raise RuntimeError(m)
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent RuntimeError:
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Command: ['sudo', 'neutron-rootwrap', '/home/vb/etc/neutron/rootwrap.conf', 'kill', '-9', '2913']
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Exit code: 99
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Stdout: ''
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent Stderr: '/usr/sbin/neutron-rootwrap: Unauthorized command: kill -9 2913 (no filter matched)\n'
2014-10-23 15:01:47.664 11294 TRACE neutron.agent.l3_agent
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1384731/+subscriptions
Follow ups
References