neutron.agent.l3_agent:Failed synchronizing routers in UT

Bug #1205085 reported by Eugene Nikanorov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Eugene Nikanorov

Bug Description

Sometimes full run of Unit Tests ends with the following output:
 ERROR:neutron.agent.l3_agent:Failed synchronizing routers
 Traceback (most recent call last):
   File "/home/jenkins/workspace/gate-neutron-python27/neutron/agent/l3_agent.py", line 685, in _rpc_loop
     self._process_router_delete()
   File "/home/jenkins/workspace/gate-neutron-python27/neutron/agent/l3_agent.py", line 693, in _process_router_delete
     self._router_removed(router_id)
   File "/home/jenkins/workspace/gate-neutron-python27/neutron/agent/l3_agent.py", line 289, in _router_removed
     ri = self.router_info[router_id]
 KeyError: '0393021f-e20b-4c93-8bf6-e4c5ecd9b06e'

Tests pass at the same time, so Jenkins is not catching issues.
First noticed afterfix for gate issue with floating ips was merged: https://review.openstack.org/#/c/36890/

Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

I believe this bug is a result of still existing race condition in l3_agent

Changed in neutron:
status: New → Confirmed
Changed in neutron:
assignee: nobody → Eugene Nikanorov (enikanorov)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/38703
Committed: http://github.com/openstack/neutron/commit/0f4f3150f4c2a2bba8712e3439a02337eb726a2b
Submitter: Jenkins
Branch: master

commit 0f4f3150f4c2a2bba8712e3439a02337eb726a2b
Author: Eugene Nikanorov <email address hidden>
Date: Fri Jul 26 00:45:10 2013 +0400

    Fix l3_agent unit tests

    Mock FixedIntervalLoopingCall in unit tests so
    _rpc_loop doesn't interfere with the tests

    fixes bug 1205085

    Change-Id: I54cc152890734afc7a5b86dd9ae4ea133bd7574b

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → havana-3
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-3 → 2013.2
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.