← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1828406] [NEW] neutron-dynamic-routing bgp ryu hold timer expired but never tried to recover

 

Public bug reported:

Lost connection to the peer and the hold timer expired but it never
tried to recover.

2019-05-09 13:26:24.921 2461284 INFO bgpspeaker.speaker [-] Negotiated hold time 40 expired.
2019-05-09 13:26:24.922 2461284 INFO bgpspeaker.peer [-] Connection to peer <censored peer ip> lost, reason: failed to write to socket Resetting retry connect loop: False
2019-05-09 13:26:24.922 2461284 ERROR ryu.lib.hub [-] hub: uncaught exception: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ryu/lib/hub.py", line 80, in _launch
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/utils/evtlet.py", line 63, in __call__
    self._funct(*self._args, **self._kwargs)
  File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 542, in _expired
    self.send_notification(code, subcode)
  File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 374, in send_notification
    self._send_with_lock(notification)
  File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 386, in _send_with_lock
    self.connection_lost('failed to write to socket')
  File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 596, in connection_lost
    self._peer.connection_lost(reason)
  File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/peer.py", line 2323, in connection_lost
    self._protocol.stop()
  File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 405, in stop
    Activity.stop(self)
  File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/base.py", line 314, in stop
    raise ActivityException(desc='Cannot call stop when activity is '
ActivityException: 100.1 - Cannot call stop when activity is not started or has been stopped already.
: ActivityException: 100.1 - Cannot call stop when activity is not started or has been stopped already.

** 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/1828406

Title:
  neutron-dynamic-routing bgp ryu hold timer expired but never tried to
  recover

Status in neutron:
  New

Bug description:
  Lost connection to the peer and the hold timer expired but it never
  tried to recover.

  2019-05-09 13:26:24.921 2461284 INFO bgpspeaker.speaker [-] Negotiated hold time 40 expired.
  2019-05-09 13:26:24.922 2461284 INFO bgpspeaker.peer [-] Connection to peer <censored peer ip> lost, reason: failed to write to socket Resetting retry connect loop: False
  2019-05-09 13:26:24.922 2461284 ERROR ryu.lib.hub [-] hub: uncaught exception: Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/ryu/lib/hub.py", line 80, in _launch
      return func(*args, **kwargs)
    File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/utils/evtlet.py", line 63, in __call__
      self._funct(*self._args, **self._kwargs)
    File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 542, in _expired
      self.send_notification(code, subcode)
    File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 374, in send_notification
      self._send_with_lock(notification)
    File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 386, in _send_with_lock
      self.connection_lost('failed to write to socket')
    File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 596, in connection_lost
      self._peer.connection_lost(reason)
    File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/peer.py", line 2323, in connection_lost
      self._protocol.stop()
    File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/speaker.py", line 405, in stop
      Activity.stop(self)
    File "/usr/lib/python2.7/site-packages/ryu/services/protocols/bgp/base.py", line 314, in stop
      raise ActivityException(desc='Cannot call stop when activity is '
  ActivityException: 100.1 - Cannot call stop when activity is not started or has been stopped already.
  : ActivityException: 100.1 - Cannot call stop when activity is not started or has been stopped already.

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


Follow ups