← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1750121] Re: Dynamic routing: adding speaker to agent fails

 

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

commit fd497a491afec89d4a15cf061b5d5610fb7ad6d2
Author: Jens Harbott <j.harbott@xxxxxxxx>
Date:   Mon Feb 19 10:53:04 2018 +0100

    Fix failure when adding a speaker to an agent
    
    When get_bgp_speaker_with_advertised_routes() collects the data for BGP
    peers, it needs to include the auth_type field, otherwise adding the
    speaker to an agent will fail.
    
    Change-Id: I668397be4a531ba5c0628eb23df9a84d0de8c28c
    Closes-Bug: 1750121


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  Dynamic routing: adding speaker to agent fails

Status in neutron:
  Fix Released

Bug description:
  When following https://docs.openstack.org/neutron-dynamic-
  routing/latest/contributor/testing.html everything works fine because
  the speaker is scheduled to the agent automatically (in contrast to
  what the docs say). But if I remove the speaker from the agent and add
  it again with

  $ neutron bgp-dragent-speaker-remove 0159fc0a-22de-4995-8fad-8fb8835a4d86 bgp-speaker
  $ neutron bgp-dragent-speaker-add 0159fc0a-22de-4995-8fad-8fb8835a4d86 bgp-speaker

  the following error is seen in the log:

  Feb 17 10:56:30 test-node01 neutron-bgp-dragent[18999]: ERROR
  neutron_dynamic_routing.services.bgp.agent.bgp_dragent [None req-
  da9a22ae-52a2-4be7-a3e8-2dc2dc970fdd admin admin] Call to driver for
  BGP Speaker d2aa5935-30c2-4369-83ee-b3a0ff77cc49 add_bgp_peer has
  failed with exception 'auth_type'.

  The same thing happens when there are multiple agents and one tries to
  add the speaker to one of the other agents.

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


References