← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1738983] [NEW] Dynamic routing: invalid exception inputs leads to test exceptions

 

Public bug reported:

Unit tests have exceptions:

Exception encountered during bgp_speaker rescheduling.
Traceback (most recent call last):
  File "/home/gkotton/neutron-dynamic-routing/.tox/py27/src/neutron/neutron/db/agentschedulers_db.py", line 159, in reschedule_resources_from_down_agents
    reschedule_resource(context, binding_resource_id)
  File "neutron_dynamic_routing/db/bgp_dragentscheduler_db.py", line 174, in reschedule_bgp_speaker
    failure_reason="no eligible dr agent found")
TypeError: __init__() got an unexpected keyword argument 'failure_reason'
BgpDrAgent 84dfa040-c1d4-40b1-8a16-0502ffccbb5b is down

The tests pass but this will lead to extra failures in the real worl

** Affects: neutron
     Importance: Undecided
     Assignee: Gary Kotton (garyk)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1738983

Title:
  Dynamic routing: invalid exception inputs leads to test exceptions

Status in neutron:
  In Progress

Bug description:
  Unit tests have exceptions:

  Exception encountered during bgp_speaker rescheduling.
  Traceback (most recent call last):
    File "/home/gkotton/neutron-dynamic-routing/.tox/py27/src/neutron/neutron/db/agentschedulers_db.py", line 159, in reschedule_resources_from_down_agents
      reschedule_resource(context, binding_resource_id)
    File "neutron_dynamic_routing/db/bgp_dragentscheduler_db.py", line 174, in reschedule_bgp_speaker
      failure_reason="no eligible dr agent found")
  TypeError: __init__() got an unexpected keyword argument 'failure_reason'
  BgpDrAgent 84dfa040-c1d4-40b1-8a16-0502ffccbb5b is down

  The tests pass but this will lead to extra failures in the real worl

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1738983/+subscriptions


Follow ups