Page MenuHomePhabricator
Paste P6801

pybal 1.15.0 crash in lvs5003
ActivePublic

Authored by Vgutierrez on Mar 6 2018, 3:08 PM.
Mar 06 15:02:57 lvs5003 pybal[11775]: [bgp.BGPFactory@0x7f71b2ba47e8] INFO: Connection received from 103.102.166.129
Mar 06 15:02:57 lvs5003 pybal[11775]: [bgp.FSM@0x7f71b4919b10 peer 103.102.166.129] INFO: State is now: CONNECT
Mar 06 15:02:57 lvs5003 pybal[11775]: [bgp.FSM@0x7f71b2a61950 peer (none)] INFO: State is now: ACTIVE
Mar 06 15:02:57 lvs5003 pybal[11775]: [bgp.FSM@0x7f71b2a61950 peer 103.102.166.129:57230] INFO: State is now: OPENSENT
Mar 06 15:02:57 lvs5003 pybal[11775]: [bgp.BGP@0x7f71b4917d88 peer 103.102.166.129:57230] INFO: OPEN: version: 4 ASN: 14907 hold time: 30 id: 1734780545
Mar 06 15:02:57 lvs5003 pybal[11775]: [bgp.BGP@0x7f71b4917d88 peer 103.102.166.129:57230] INFO: Hold time: 30 Keepalive time: 10
Mar 06 15:02:57 lvs5003 pybal[11775]: [bgp.FSM@0x7f71b2a61950 peer 103.102.166.129:57230] INFO: State is now: OPENCONFIRM
Mar 06 15:02:57 lvs5003 pybal[11775]: [bgp.FSM@0x7f71b2a61950 peer 103.102.166.129:57230] INFO: State is now: ESTABLISHED
Mar 06 15:02:57 lvs5003 pybal[11775]: [bgp.BGPFactory@0x7f71b2ba4488] INFO: BGP session established for ASN 64600 peer 103.102.166.129
Mar 06 15:02:57 lvs5003 pybal[11775]: Unhandled error in Deferred:
Mar 06 15:02:57 lvs5003 pybal[11775]: Unhandled Error
Mar 06 15:02:57 lvs5003 pybal[11775]: Traceback (most recent call last):
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/pybal/bgp/bgp.py", line 1773, in keepAliveReceived
Mar 06 15:02:57 lvs5003 pybal[11775]: self.fsm.keepAliveReceived()
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/pybal/bgp/bgp.py", line 1100, in keepAliveReceived
Mar 06 15:02:57 lvs5003 pybal[11775]: self.protocol.deferred.callback(self.protocol)
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 382, in callback
Mar 06 15:02:57 lvs5003 pybal[11775]: self._startRunCallbacks(result)
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 490, in _startRunCallbacks
Mar 06 15:02:57 lvs5003 pybal[11775]: self._runCallbacks()
Mar 06 15:02:57 lvs5003 pybal[11775]: --- <exception caught here> ---
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
Mar 06 15:02:57 lvs5003 pybal[11775]: current.result = callback(current.result, *args, **kw)
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/pybal/bgp/bgp.py", line 2202, in sessionEstablished
Mar 06 15:02:57 lvs5003 pybal[11775]: self.sendAdvertisements()
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/pybal/bgp/bgp.py", line 2370, in sendAdvertisements
Mar 06 15:02:57 lvs5003 pybal[11775]: self._sendUpdates(self.advertised, self.toAdvertise)
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/pybal/bgp/bgp.py", line 2420, in _sendUpdates
Mar 06 15:02:57 lvs5003 pybal[11775]: attributeMap.setdefault(advertisement.attributes, set()).add(advertisement)
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/pybal/bgp/bgp.py", line 790, in __hash__
Mar 06 15:02:57 lvs5003 pybal[11775]: return reduce(operator.xor, map(hash, self.itervalues()), 0)
Mar 06 15:02:57 lvs5003 pybal[11775]: File "/usr/lib/python2.7/dist-packages/pybal/bgp/bgp.py", line 655, in __hash__
Mar 06 15:02:57 lvs5003 pybal[11775]: return hash((self.value[0:3] + (frozenset(self.value[3]), )))
Mar 06 15:02:57 lvs5003 pybal[11775]: exceptions.IndexError: tuple index out of range