NoFilterFound for neutron-keepalived-state-change

Bug #1435971 reported by Baodong (Robert) Li
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

Bug Description

When run neutron HA with devstack, neutron-keepalived-state-change failed to spawn due to the error NoFilterMatched
Traceback (most recent call last):
  File "/opt/stack/neutron/neutron/agent/l3/agent.py", line 757, in _process_router_update
    self._process_router_if_compatible(router)
  File "/opt/stack/neutron/neutron/agent/l3/agent.py", line 705, in _process_router_if_compatible
    self._process_added_router(router)
  File "/opt/stack/neutron/neutron/agent/l3/agent.py", line 711, in _process_added_router
    self._router_added(router['id'], router)
  File "/opt/stack/neutron/neutron/agent/l3/agent.py", line 310, in _router_added
    self.process_ha_router_added(ri)
  File "/opt/stack/neutron/neutron/agent/l3/ha.py", line 169, in process_ha_router_added
    ri.spawn_state_change_monitor(self.process_monitor)
  File "/opt/stack/neutron/neutron/agent/l3/ha_router.py", line 310, in spawn_state_change_monitor
    pm.enable()
  File "/opt/stack/neutron/neutron/agent/linux/external_process.py", line 89, in enable
    ip_wrapper.netns.execute(cmd, addl_env=self.cmd_addl_env)
  File "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 576, in execute
    extra_ok_codes=extra_ok_codes, **kwargs)
  File "/opt/stack/neutron/neutron/agent/linux/utils.py", line 109, in execute
    execute_rootwrap_daemon(cmd, process_input, addl_env))
  File "/opt/stack/neutron/neutron/agent/linux/utils.py", line 100, in execute_rootwrap_daemon
    return client.execute(cmd, process_input)
  File "/usr/local/lib/python2.7/dist-packages/oslo_rootwrap/client.py", line 135, in execute
    res = proxy.run_one_command(cmd, stdin)
  File "<string>", line 2, in run_one_command
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 774, in _callmethod
    raise convert_to_error(kind, result)
NoFilterMatched

Changed in neutron:
assignee: nobody → Baodong (Robert) Li (baoli)
description: updated
Changed in neutron:
status: New → In Progress
Revision history for this message
Sridhar Gaddam (sridhargaddam) wrote :

Following is the link to the patch - https://review.openstack.org/#/c/167339/

Revision history for this message
Maru Newby (maru) wrote :

Repeating my comment from the change in question:

I'd like to see all rootwrap filters with a command path prefix of /usr/local/bin removed and devstack updated to rewrite exec_dirs of the deployed rootwrap.conf in the same way we already update filters_path:

https://github.com/openstack-dev/devstack/blob/master/lib/neutron-legacy#L1147

So something like the following

 sudo sed -e 's:^exec_dirs=\(.*\)$:exec_dirs=\1,/usr/local/bin:' $Q_RR_CONF_FILE

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Baodong (Robert) Li (<email address hidden>) on branch: master
Review: https://review.openstack.org/167339
Reason: Refer to change in devstack to address this issue.
https://review.openstack.org/176041

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

This bug is > 365 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in neutron:
assignee: Baodong (Robert) Li (baoli) → nobody
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
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.