neutron-l3-agent failing to start with rootwrap error

Bug #1272816 reported by Robert Collins
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Erik Colnick

Bug Description

2014-01-25 23:01:50.774 9092 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2014-01-25 23:01:50.867 9092 CRITICAL neutron [req-fa963a49-8b87-4b3e-9068-f7d1db7936a0 None]
Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'kill', '-9', '4957']
Exit code: 99
Stdout: ''
Stderr: '/usr/bin/neutron-rootwrap: Unauthorized command: kill -9 4957 (no filter matched)\n'

One undesirable workaround is to use sudo without rootwrap.

Revision history for this message
Robert Collins (lifeless) wrote :

This doesn't show up on initial deploy, just after some situation where a prior agent is running/expected/something.

description: updated
Revision history for this message
Erik Colnick (erikcolnick) wrote :

This issue also affects the ability of the l3-agent to kill ns-metadata-proxy processes when routers are deleted, and as a result qrouter namespaces won't be cleaned up even if the agent is configured to delete router namespaces. It appears that the problem is due to the fact that the l3.filters file sets the kill filters to expect that the processes are running python from /usr/bin/python when, in fact, python is running from /opt/stack/venvs/neutron/bin/python.

Changed in tripleo:
assignee: nobody → Erik Colnick (erikcolnick)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-image-elements (master)

Fix proposed to branch: master
Review: https://review.openstack.org/97887

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-image-elements (master)

Reviewed: https://review.openstack.org/97887
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=6a2f87c1694392258f574562ac609cd0ee70fde7
Submitter: Jenkins
Branch: master

commit 6a2f87c1694392258f574562ac609cd0ee70fde7
Author: Erik Colnick <email address hidden>
Date: Wed Jun 4 13:27:53 2014 -0600

    Fix l3.filters and dhcp.filters file for tripleo installations

    This change addresses a rootwrap filter issue specific to the l3-agent
    and dhcp-agent in a tripleo deployment. The location of the python
    executable used in starting processes within a tripleo deployment
    may be different than the /usr/bin/python location that is used
    for the KillFilter in l3.filters and dhcp.filters.

    Closes-Bug: #1272816

    Change-Id: I4c78b074e298f49eae559c7ca451fa7f9fec5970

Changed in tripleo:
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
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.