Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Megalos problem retrieving log files from Quagga BGP router #336

Closed
MOG-22 opened this issue Jan 24, 2025 · 2 comments
Closed

Megalos problem retrieving log files from Quagga BGP router #336

MOG-22 opened this issue Jan 24, 2025 · 2 comments
Assignees

Comments

@MOG-22
Copy link

MOG-22 commented Jan 24, 2025

Hi Kathará / Megalos Team,

I'm new to Kathará / Megalos and I'm currently working on measuring various performance / convergence criteria of a BGP topology running on a Kubernetes cluster using Megalos.
The setup is working fine so far, and the Quagga BGP routers are producing the logs I need for my work. But I am having trouble extracting them efficiently from Megalos.

What I have tried so far:

  • I configure the Quagga BGP router in "zebra.conf" and "bgpd.config" to log to stdout, i.e. "log stdout". But the Loki Stack / Grafana can't find the log stream (with the BGP update messages / keepalives etc.), only these general logs (see below)

Image

Do you know how I could solve this problem or can thing of a better way to retrieve these logs? Is there a way to copy log files between the container running in Kubernetes in the cloud and my remote machine?

Thanks in advance for your help!

@tcaiazzi
Copy link
Member

tcaiazzi commented Jan 28, 2025

Dear @MOG-22,

Apologies for the delayed response, and thanks for reaching out!

I'm not entirely sure I understand your issue, but if you need to copy files from containers to your host, you can use Kubernetes commands.

Probably we should implement something to make this process more straightforward.

Let me know if this helps or if you need further assistance.

P.S. I recommend using FRR instead of Quagga, as Quagga is no longer maintained. Switching to FRR might also simplify your integration with Loki/Grafana.

Thanks!

@MOG-22
Copy link
Author

MOG-22 commented Feb 1, 2025

Dear @tcaiazzi,

Thanks for your reply!

Getting the log files with kathara exec and cat works great for me. Thanks for the tip!

@MOG-22 MOG-22 closed this as completed Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants