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

[Bug]: Netclient Deamon : WireGuard interfaces keep being enabled/disabled #554

Open
1 task done
LucaOonk opened this issue Feb 27, 2023 · 2 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@LucaOonk
Copy link

Contact Details

No response

What happened?

In the current version of netclient it wil constantly try to connect to the Broker. And if this fails it wil restart the entire daemon, and as a consequence it wil also disable and renable the WireGuard interfaces. Which can cause an temporary outage.

Would it be possible to only disable/reenable these interfaces when new changes need to be applied. Meaning:
If the deamon restarts, the WireGuard interfaces already exists and the config is correct, the deamon won't touch the WireGuard interfaces.

I would love to know if this could be implemented, this would help immensely in an environment where mqtt/WS-connections can be weird

Version

v0.16.3

What OS are you using?

Linux

Relevant log output

No response

Contributing guidelines

  • Yes, I did.
@LucaOonk LucaOonk added the bug Something isn't working label Feb 27, 2023
@mattkasun mattkasun transferred this issue from gravitl/netmaker Aug 22, 2023
@mattkasun
Copy link
Contributor

#548 fixes. Wireguard interface will only be recreated on hard reset of daemon (ie systemctl restart netclient)

@mattkasun mattkasun added the Fixed Fixed label Aug 22, 2023
@mattkasun mattkasun removed the Fixed Fixed label Sep 1, 2023
@mattkasun
Copy link
Contributor

#548 has been reverted. additional work required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants