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

nexd: Excessive logging and restarts when device has no internet connection #1732

Open
russellb opened this issue Dec 7, 2023 · 1 comment
Labels
bug Something isn't working nexd Nexodus agent

Comments

@russellb
Copy link
Member

russellb commented Dec 7, 2023

I have a server running nexd that is currently disconnected from the internet. The logging is much more than necessary.

The behavior I see in a loop:

  1. systemd launches nexd
  2. some startup logs
  3. log message showing a stun error because it couldn't look up the stun server via DNS
  4. Four warning logs every 15 seconds showing a DNS lookup failure for the API server
  5. A fatal log message that the API DNS lookup has failed
  6. nexd exits
  7. systemd restarts nexd

I don't think exiting is necessary. I would expect nexd to start up just fine without an internet connection and go into its reconciliation loop. It should log the DNS lookup failures once and then log again when it works again. It should not exit because of this normal condition.

@russellb russellb added bug Something isn't working nexd Nexodus agent labels Dec 7, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Nexodus Board Dec 7, 2023
@chirino
Copy link
Member

chirino commented Dec 7, 2023

having that state machine might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working nexd Nexodus agent
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants