← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1820293] [NEW] Error disassociating bgpspeaker from BGP dr-agent

 

Public bug reported:

I've been noticing the scenario jobs in neutron-dynamic-routing (non-
voting) failing intermittently. Upon further investigation, it appears
these failures are happening when attempting to disassociate a
bgpspeaker from an agent.

2019-02-26 13:08:57.781145 | primary | ==============================
2019-02-26 13:08:57.781222 | primary | Failed 1 tests - output below:
2019-02-26 13:08:57.781292 | primary | ==============================
2019-02-26 13:08:57.781317 | primary |
2019-02-26 13:08:57.781574 | primary | neutron_dynamic_routing.tests.tempest.scenario.basic.test_basic.BgpSpeakerBasicTest.test_remove_add_speaker_agent[id-aa6c565c-ded3-413b-8dc9-3928b3b0e38f]
2019-02-26 13:08:57.781840 | primary | ----------------------------------------------------------------------------------------------------------------------------------------------------------
2019-02-26 13:08:57.781865 | primary |
2019-02-26 13:08:57.781918 | primary | Captured traceback:
2019-02-26 13:08:57.781971 | primary | ~~~~~~~~~~~~~~~~~~~
2019-02-26 13:08:57.782053 | primary |     Traceback (most recent call last):
2019-02-26 13:08:57.782322 | primary |       File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/basic/test_basic.py", line 103, in test_remove_add_speaker_agent
2019-02-26 13:08:57.782456 | primary |         self.bgp_client.add_bgp_speaker_to_dragent(agent_id, speaker_id)
2019-02-26 13:08:57.782695 | primary |       File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/bgp_client.py", line 132, in add_bgp_speaker_to_dragent
2019-02-26 13:08:57.782793 | primary |         resp, body = self.post(uri, update_body)
2019-02-26 13:08:57.782914 | primary |       File "tempest/lib/common/rest_client.py", line 280, in post
2019-02-26 13:08:57.783056 | primary |         return self.request('POST', url, extra_headers, headers, body, chunked)
2019-02-26 13:08:57.783183 | primary |       File "tempest/lib/common/rest_client.py", line 676, in request
2019-02-26 13:08:57.783298 | primary |         self._error_checker(resp, resp_body)
2019-02-26 13:08:57.783440 | primary |       File "tempest/lib/common/rest_client.py", line 797, in _error_checker
2019-02-26 13:08:57.783572 | primary |         raise exceptions.Conflict(resp_body, resp=resp)
2019-02-26 13:08:57.783714 | primary |     tempest.lib.exceptions.Conflict: Conflict with state of target resource
2019-02-26 13:08:57.783993 | primary |     Details: {u'message': u'BgpDrAgent f67420d5-6b3b-4635-8a26-32347b188638 is already associated to a BGP speaker.', u'detail': u'', u'type': u'DrAgentAssociationError'}

This should be cleaned up so that these jobs can eventually become
voting jobs, and so that a potential user-facing issue is addressed.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Error disassociating bgpspeaker from BGP dr-agent

Status in neutron:
  New

Bug description:
  I've been noticing the scenario jobs in neutron-dynamic-routing (non-
  voting) failing intermittently. Upon further investigation, it appears
  these failures are happening when attempting to disassociate a
  bgpspeaker from an agent.

  2019-02-26 13:08:57.781145 | primary | ==============================
  2019-02-26 13:08:57.781222 | primary | Failed 1 tests - output below:
  2019-02-26 13:08:57.781292 | primary | ==============================
  2019-02-26 13:08:57.781317 | primary |
  2019-02-26 13:08:57.781574 | primary | neutron_dynamic_routing.tests.tempest.scenario.basic.test_basic.BgpSpeakerBasicTest.test_remove_add_speaker_agent[id-aa6c565c-ded3-413b-8dc9-3928b3b0e38f]
  2019-02-26 13:08:57.781840 | primary | ----------------------------------------------------------------------------------------------------------------------------------------------------------
  2019-02-26 13:08:57.781865 | primary |
  2019-02-26 13:08:57.781918 | primary | Captured traceback:
  2019-02-26 13:08:57.781971 | primary | ~~~~~~~~~~~~~~~~~~~
  2019-02-26 13:08:57.782053 | primary |     Traceback (most recent call last):
  2019-02-26 13:08:57.782322 | primary |       File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/basic/test_basic.py", line 103, in test_remove_add_speaker_agent
  2019-02-26 13:08:57.782456 | primary |         self.bgp_client.add_bgp_speaker_to_dragent(agent_id, speaker_id)
  2019-02-26 13:08:57.782695 | primary |       File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/bgp_client.py", line 132, in add_bgp_speaker_to_dragent
  2019-02-26 13:08:57.782793 | primary |         resp, body = self.post(uri, update_body)
  2019-02-26 13:08:57.782914 | primary |       File "tempest/lib/common/rest_client.py", line 280, in post
  2019-02-26 13:08:57.783056 | primary |         return self.request('POST', url, extra_headers, headers, body, chunked)
  2019-02-26 13:08:57.783183 | primary |       File "tempest/lib/common/rest_client.py", line 676, in request
  2019-02-26 13:08:57.783298 | primary |         self._error_checker(resp, resp_body)
  2019-02-26 13:08:57.783440 | primary |       File "tempest/lib/common/rest_client.py", line 797, in _error_checker
  2019-02-26 13:08:57.783572 | primary |         raise exceptions.Conflict(resp_body, resp=resp)
  2019-02-26 13:08:57.783714 | primary |     tempest.lib.exceptions.Conflict: Conflict with state of target resource
  2019-02-26 13:08:57.783993 | primary |     Details: {u'message': u'BgpDrAgent f67420d5-6b3b-4635-8a26-32347b188638 is already associated to a BGP speaker.', u'detail': u'', u'type': u'DrAgentAssociationError'}

  This should be cleaned up so that these jobs can eventually become
  voting jobs, and so that a potential user-facing issue is addressed.

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


Follow ups