alice-lg / birdwatcher

A JSON API for BIRD
BSD 3-Clause "New" or "Revised" License
68 stars 41 forks source link

Bird Unreachable errors after route server migration #55

Closed shashankw5 closed 8 months ago

shashankw5 commented 8 months ago

Hello,

Recently one of our route servers crashed and we had to do a migration to another server. We have set up everything correctly and in the process upgraded Bird to 2.14 from 1.6.8 . We have the IXP Manager internal looking glass working fine but somehow Alice-LG does not seem to connect to the new installation. Birdwatcher cannot find bird on the new server and so shows "Bird Uncreachable" errors all the time. We have tried multiple birdwatcher versions and also trying to use previously working versions without success.. Anyway to debug what the issue is?

Logs as below:

root@ip-172-31-14-139:~# curl http://172.17.139.81:29184/status {"error":"bird unreachable"}

root@rs1:~# service birdwatcher status ● birdwatcher.service - birdwatcher Loaded: loaded (/etc/systemd/system/birdwatcher.service; disabled; vendor preset: enabled) Active: active (running) since Mon 2024-02-12 17:06:27 IST; 5h 13min ago Main PID: 8210 (birdwatcher) Tasks: 8 (limit: 17841) Memory: 2.9M CPU: 4.172s CGroup: /system.slice/birdwatcher.service └─8210 /usr/sbin/birdwatcher -config /usr/local/etc/birdwatcher.conf

Feb 12 22:11:28 rs1 birdwatcher[8210]: Housekeeping started Feb 12 22:11:28 rs1 birdwatcher[8210]: Expiring MemoryCache Feb 12 22:11:28 rs1 birdwatcher[8210]: Expired 0 entries (MemoryCache) Feb 12 22:11:28 rs1 birdwatcher[8210]: Freeing memory Feb 12 22:16:28 rs1 birdwatcher[8210]: Housekeeping started Feb 12 22:16:28 rs1 birdwatcher[8210]: Expiring MemoryCache Feb 12 22:16:28 rs1 birdwatcher[8210]: Expired 0 entries (MemoryCache) Feb 12 22:16:28 rs1 birdwatcher[8210]: Freeing memory Feb 12 22:20:21 rs1 birdwatcher[8210]: 172.31.14.139 - - [12/Feb/2024:22:20:21 +0530] "GET /status HTTP/1.1" 500 28 Feb 12 22:20:23 rs1 birdwatcher[8210]: 172.31.14.139 - - [12/Feb/2024:22:20:23 +0530] "GET /status HTTP/1.1" 500 28

Any help will be appreciated. Birdwatcher is latest.

shashankw5 commented 8 months ago

Hello,

I have managed to resolve the issue. Thank you.