question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not receiving BGP updates over bgpstreamkafka

See original GitHub issue

Hi,

I’m running Artemis v1.5.0 in kubernetes, deployed via the provided helm chart. I have setup openbmp-collector and openbmp-kafka running on an external VM (using openbmp-kafka as the kafka FQDN and I have created an entry in the artemis-monitor hosts file to map openbmp-kafka to the ip of the VM).

I am publishing data to the collector using mrt2bmp and I can subscribe to the kafka topics from within the monitor container (using the kafka cli) but no route updates are ingested into Artemis. With appropriate use of print statements 😃 it looks like the kafka provider hangs on rec = stream.get_next_record() in bgpstreamkafka.py: https://github.com/FORTH-ICS-INSPIRE/artemis/blob/88626b7e2f1e1835b0f9e93f33adb928d2c9215d/monitor/core/taps/bgpstreamkafka.py#L95

Artemis Monitor Logs:

messaging - 2020-07-20 16:08:36,198 - INFO @ _receive_callback: Initiating monitor...
messaging - 2020-07-20 16:08:36,198 - INFO @ _receive_callback: Starting building monitor prefix tree...
messaging - 2020-07-20 16:08:36,199 - INFO @ _receive_callback: 3 prefixes integrated in monitor prefix tree in total
messaging - 2020-07-20 16:08:36,199 - INFO @ _receive_callback: Finished building monitor prefix tree.
messaging - 2020-07-20 16:08:36,199 - INFO @ _receive_callback: Calculating monitored prefixes for monitor to supervise...
messaging - 2020-07-20 16:08:36,199 - INFO @ _receive_callback: Calculated monitored prefixes for monitor to supervise.
messaging - 2020-07-20 16:08:36,199 - INFO @ _receive_callback: Initiating configured monitoring instances....
messaging - 2020-07-20 16:08:36,206 - INFO @ _receive_callback: All configured monitoring instances initiated.
messaging - 2020-07-20 16:08:36,206 - INFO @ _receive_callback: Monitor initiated, configured and running.
<string> - 2020-07-20 16:08:36,211 - INFO @ <module>: started
<frozen importlib - 2020-07-20 16:08:36,471 - INFO @ _call_with_frames_removed: Loaded configuration from /etc/artemis/logging.yaml
<frozen importlib - 2020-07-20 16:08:36,475 - INFO @ _call_with_frames_removed: Loaded configuration from /etc/artemis/logging.yaml
exabgp_client - 2020-07-20 16:08:36,481 - INFO @ <module>: Loaded configuration from /etc/artemis/logging.yaml
exabgp_client - 2020-07-20 16:08:36,484 - INFO @ <module>: Starting ExaBGP on 10.254.5.34:5000 for /root/monitor_prefixes.json (auto-conf: False)
bgpstreamkafka - 2020-07-20 16:08:36,489 - INFO @ <module>: Loaded configuration from /etc/artemis/logging.yaml
2020-07-20 16:08:37,491 INFO success: monitor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Artemis Bgpstreamkafka config:

prefixes:
  ...
monitors:
  ...
  bgpstreamkafka:
    host: 10.254.5.33
    port: 9092
    topic: openbmp.bmp_raw
asns:
  ...
rules:
  ...

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
vkotroniscommented, Jul 23, 2020

@slowr @MarkMckessock we leave this issue open until it is also solved on bgpstream’s side, correct?

0reactions
vkotroniscommented, Nov 23, 2020

Closing due to inactivity. Please re-open in case this issue is still relevant.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not getting BGP Updates - Cisco Community
My problem is two fold; the first is that on my primary & secondary (internet) routers I'm running HSRP t. We track the...
Read more >
Troubleshooting BGP Route Advertisement
This lesson helps to troubleshoot missing BGP routes or prefixes that don't get installed from the BGP table into the routing table.
Read more >
Problems with BGP. I am able to peer but do not receive any ...
I have done the configuration and I am able to peer with the router server but I cannot receive any routers. I confirmed...
Read more >
Troubleshoot BGP issues over Direct Connect - Amazon AWS
My Border Gateway Protocol (BGP) session doesn't establish a connection over the AWS Direct Connect link, or it's in an Idle state. How...
Read more >
Troubleshooting BGP Sessions | Junos OS - Juniper Networks
Verify That a Particular BGP Route Is Received on Your Router ... so any routes learned through IBGP are not distributed to other...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found