Dynamic routing: invalid exception inputs leads to test exceptions

Bug #1738983 reported by Gary Kotton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
YAMAMOTO Takashi

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

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

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

Changed in neutron:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Gary Kotton (garyk)
Changed in neutron:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in neutron:
assignee: Gary Kotton (garyk) → YAMAMOTO Takashi (yamamoto)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-dynamic-routing (master)

Change abandoned by garyk (<email address hidden>) on branch: master
Review: https://review.openstack.org/529007
Reason: Going with the other patch. Which is exactly the same. But lets at least resolve the issue

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

Reviewed: https://review.openstack.org/550000
Committed: https://git.openstack.org/cgit/openstack/neutron-dynamic-routing/commit/?id=39d9d0de9e13077431243f898022c1aa11b8ef64
Submitter: Zuul
Branch: master

commit 39d9d0de9e13077431243f898022c1aa11b8ef64
Author: YAMAMOTO Takashi <email address hidden>
Date: Tue Mar 6 19:14:38 2018 +0900

    Fix TypeError for BgpSpeakerRescheduleError

    Inherit Conflicts to be consistent with RouterReschedulingFailed.

    Closes-Bug: #1738983
    Change-Id: If2d6151c161d1b0848ecb28bdb823676249e1221

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-dynamic-routing 13.0.0.0b1

This issue was fixed in the openstack/neutron-dynamic-routing 13.0.0.0b1 development milestone.

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.