Skip to content

Instantly share code, notes, and snippets.

@martinisoft
Created January 23, 2015 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinisoft/b3b1031a449f8d0df75d to your computer and use it in GitHub Desktop.
Save martinisoft/b3b1031a449f8d0df75d to your computer and use it in GitHub Desktop.
ExaBGP trace
2015-01-23_18:43:49.70216 Fri, 23 Jan 2015 18:43:49 | INFO | 10374 | configuration | parsing | route | 'community' '[' '0' ']' ';'
2015-01-23_18:43:49.70251 Traceback (most recent call last):
2015-01-23_18:43:49.70266 File "/usr/local/bin/exabgp", line 11, in <module>
2015-01-23_18:43:49.70284 sys.exit(run_exabgp())
2015-01-23_18:43:49.70302 File "/usr/local/lib/python2.7/dist-packages/exabgp/application/__init__.py", line 11, in run_exabgp
2015-01-23_18:43:49.70319 main()
2015-01-23_18:43:49.70333 File "/usr/local/lib/python2.7/dist-packages/exabgp/application/bgp.py", line 215, in main
2015-01-23_18:43:49.70352 run(env,comment,configurations)
2015-01-23_18:43:49.70367 File "/usr/local/lib/python2.7/dist-packages/exabgp/application/bgp.py", line 253, in run
2015-01-23_18:43:49.70383 Reactor(configurations).run()
2015-01-23_18:43:49.70397 File "/usr/local/lib/python2.7/dist-packages/exabgp/reactor/__init__.py", line 139, in run
2015-01-23_18:43:49.70421 self.reload()
2015-01-23_18:43:49.70435 File "/usr/local/lib/python2.7/dist-packages/exabgp/reactor/__init__.py", line 295, in reload
2015-01-23_18:43:49.70450 reloaded = self.configuration.reload()
2015-01-23_18:43:49.70464 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 389, in reload
2015-01-23_18:43:49.70509 return self._reload()
2015-01-23_18:43:49.70526 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 430, in _reload
2015-01-23_18:43:49.70546 []
2015-01-23_18:43:49.70560 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 566, in _dispatch
2015-01-23_18:43:49.70574 return self._multi_line(scope,name,tokens[:-1],multi)
2015-01-23_18:43:49.70589 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 588, in _multi_line
2015-01-23_18:43:49.70603 if self._multi_neighbor(scope,tokens[1:]):
2015-01-23_18:43:49.70621 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 1415, in _multi_neighbor
2015-01-23_18:43:49.70647 'auto-flush','adj-rib-out'
2015-01-23_18:43:49.70662 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 566, in _dispatch
2015-01-23_18:43:49.70675 return self._multi_line(scope,name,tokens[:-1],multi)
2015-01-23_18:43:49.70690 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 612, in _multi_line
2015-01-23_18:43:49.70706 if command == 'static': return self._multi_static(scope,tokens[1:])
2015-01-23_18:43:49.70724 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 1537, in _multi_static
2015-01-23_18:43:49.70741 ['route',]
2015-01-23_18:43:49.70758 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 566, in _dispatch
2015-01-23_18:43:49.70772 return self._multi_line(scope,name,tokens[:-1],multi)
2015-01-23_18:43:49.70785 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 622, in _multi_line
2015-01-23_18:43:49.70800 if self._multi_static_route(scope,tokens[1:]):
2015-01-23_18:43:49.70814 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 1661, in _multi_static_route
2015-01-23_18:43:49.70818 'watchdog','withdraw'
2015-01-23_18:43:49.70836 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 568, in _dispatch
2015-01-23_18:43:49.70839 return self._single_line(scope,name,tokens[:-1],single)
2015-01-23_18:43:49.70842 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 671, in _single_line
2015-01-23_18:43:49.70845 return self._dispatch_route_cfg[command](scope,tokens[1:])
2015-01-23_18:43:49.70847 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 2045, in _route_community
2015-01-23_18:43:49.70850 communities.add(self._parse_community(scope,community))
2015-01-23_18:43:49.70852 File "/usr/local/lib/python2.7/dist-packages/exabgp/configuration/ancient.py", line 1988, in _parse_community
2015-01-23_18:43:49.70873 value = unpack('!L',data)[0]
2015-01-23_18:43:49.70878 error: unpack requires a string argument of length 4
2015-01-23_18:43:49.70887
2015-01-23_18:43:49.70907 ********************************************************************************
2015-01-23_18:43:49.70910 EXABGP CRASHED / HELP US FIX IT
2015-01-23_18:43:49.70911 ********************************************************************************
2015-01-23_18:43:49.70912
2015-01-23_18:43:49.70913 Sorry, you encountered a problem with ExaBGP and we could not keep the program
2015-01-23_18:43:49.70913 running.
2015-01-23_18:43:49.70914
2015-01-23_18:43:49.70915 There are a few things you can do to help us (and yourself):
2015-01-23_18:43:49.70916 - make sure you are running the latest version of the code available at
2015-01-23_18:43:49.70917 https://github.com/Exa-Networks/exabgp/releases/latest
2015-01-23_18:43:49.70918 - if so report the issue on https://github.com/Exa-Networks/exabgp/issues
2015-01-23_18:43:49.70919 so it can be fixed (github can be searched for similar reports)
2015-01-23_18:43:49.70919
2015-01-23_18:43:49.70920 PLEASE, when reporting, do include as much information as you can:
2015-01-23_18:43:49.70921 - do not obfuscate any data (feel free to send us a private email with the
2015-01-23_18:43:49.70922 extra information if your business policy is strict on information sharing)
2015-01-23_18:43:49.70923 https://github.com/Exa-Networks/exabgp/wiki/FAQ
2015-01-23_18:43:49.70924 - if you can reproduce the issue, run ExaBGP with the command line option -d
2015-01-23_18:43:49.70925 it provides us with much needed information to fix problems quickly
2015-01-23_18:43:49.70927 - include the information presented below
2015-01-23_18:43:49.70928
2015-01-23_18:43:49.70929 Should you not receive an acknowledgment of your issue on github (assignement,
2015-01-23_18:43:49.70930 comment, or similar) within a few hours, feel free to email us to make sure
2015-01-23_18:43:49.70930 it was not overlooked. (please keep in mind the authors are based in GMT/Europe)
2015-01-23_18:43:49.70931
2015-01-23_18:43:49.70932 ********************************************************************************
2015-01-23_18:43:49.70933 -- Please provide ALL the information below on :
2015-01-23_18:43:49.70934 -- https://github.com/Exa-Networks/exabgp/issues
2015-01-23_18:43:49.70935 ********************************************************************************
2015-01-23_18:43:49.70935
2015-01-23_18:43:49.70936 ExaBGP version : 3.4.7
2015-01-23_18:43:49.70937 Python version : 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2]
2015-01-23_18:43:49.70938 System Uname : #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014
2015-01-23_18:43:49.70939 System MaxInt : 9223372036854775807
2015-01-23_18:43:49.70940
2015-01-23_18:43:49.70940
2015-01-23_18:43:49.70941 -- Traceback
2015-01-23_18:43:49.70942
2015-01-23_18:43:49.70943
2015-01-23_18:43:49.70944
2015-01-23_18:43:49.70944
2015-01-23_18:43:49.70945 -- Configuration
2015-01-23_18:43:49.70946
2015-01-23_18:43:49.70947
2015-01-23_18:43:49.70948 neighbor 127.0.0.1 {
2015-01-23_18:43:49.70948 description "Upstream IPv4 provider";
2015-01-23_18:43:49.70949 router-id 10.0.2.15;
2015-01-23_18:43:49.70977 local-address 10.0.2.15;
2015-01-23_18:43:49.70979 local-as 0;
2015-01-23_18:43:49.70979 peer-as 0;
2015-01-23_18:43:49.70980 hold-time 20;
2015-01-23_18:43:49.70981 family {
2015-01-23_18:43:49.70982 ipv4 unicast;
2015-01-23_18:43:49.70983 }
2015-01-23_18:43:49.70984
2015-01-23_18:43:49.70984 process route_0 {
2015-01-23_18:43:49.70985 run /etc/exabgp/route_0_watchdog.sh;
2015-01-23_18:43:49.70987 }
2015-01-23_18:43:49.70988
2015-01-23_18:43:49.70988 static {
2015-01-23_18:43:49.70989 route 127.0.0.0/24 {
2015-01-23_18:43:49.70990 next-hop 10.0.2.15;
2015-01-23_18:43:49.70991 community [0];
2015-01-23_18:43:49.70992 }
2015-01-23_18:43:49.70992 }
2015-01-23_18:43:49.70993 }
2015-01-23_18:43:49.70994
2015-01-23_18:43:49.70995
2015-01-23_18:43:49.70996
2015-01-23_18:43:49.70997
2015-01-23_18:43:49.70997 -- Logging History
2015-01-23_18:43:49.70998
2015-01-23_18:43:49.70999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment