gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.52k stars 552 forks source link

[Bug]: Nodes turn red (ERROR) after upgrading to v0.16.0 #1593

Closed Exchizz closed 2 years ago

Exchizz commented 2 years ago

Contact Details

github@mneerup.dk

What happened?

After upgrading netclient/netmaker/netmaker-ui from v0.15.2 to v0.16.0, all nodes turn red with text ERROR. If I restart netclient on a node, then it becomes green with text HEALTHY but after some time (5-10 mins or so), the nodes becomes yellow and then red again. It happens to all my nodes.

Version

v0.16.0

What OS are you using?

Linux

Relevant log output

From netmaker:

[netmaker] 2022-09-21 21:35:13 error reading database  no result found
[netmaker] 2022-09-21 21:36:13 mq-ping error getting node:  no result found
[netmaker] 2022-09-21 21:36:13 error reading database  no result found
[netmaker] 2022-09-21 21:37:13 mq-ping error getting node:  no result found
[netmaker] 2022-09-21 21:37:13 error reading database  no result found
[netmaker] 2022-09-21 21:38:14 mq-ping error getting node:  no result found
[netmaker] 2022-09-21 21:38:14 error reading database  no result found
[netmaker] 2022-09-21 21:39:14 mq-ping error getting node:  no result found
[netmaker] 2022-09-21 21:39:14 error reading database  no result found
[netmaker] 2022-09-21 21:40:14 mq-ping error getting node:  no result found
[netmaker] 2022-09-21 21:40:14 error reading database  no result found

From netclient:

Sep 21 13:58:46 Node-hostname netclient[72605]: [netclient] 2022-09-21 13:58:46 [mqpublish.go-159] Hello(): checkin for link-name complete
Sep 21 13:59:11 Node-hostname netclient[72605]: [netclient] 2022-09-21 13:59:11 [mqpublish.go-56] checkin(): checkin with server(s) for all networks
Sep 21 13:59:11 Node-hostname netclient[72605]: [netclient] 2022-09-21 13:59:11 [mqpublish.go-159] Hello(): checkin for link-name complete
Sep 21 14:00:11 Node-hostname netclient[72605]: [netclient] 2022-09-21 14:00:11 [mqpublish.go-56] checkin(): checkin with server(s) for all networks
Sep 21 14:00:11 Node-hostname netclient[72605]: [netclient] 2022-09-21 14:00:11 [mqpublish.go-159] Hello(): checkin for link-name complete
Sep 21 14:01:11 Node-hostname netclient[72605]: [netclient] 2022-09-21 14:01:11 [mqpublish.go-56] checkin(): checkin with server(s) for all networks
Sep 21 14:01:11 Node-hostname netclient[72605]: [netclient] 2022-09-21 14:01:11 [mqpublish.go-159] Hello(): checkin for link-name complete
Sep 21 14:02:11 Node-hostname netclient[72605]: [netclient] 2022-09-21 14:02:11 [mqpublish.go-56] checkin(): checkin with server(s) for all networks
Sep 21 14:02:11 Node-hostname netclient[72605]: [netclient] 2022-09-21 14:02:11 [mqpublish.go-159] Hello(): checkin for link-name complete

Contributing guidelines

mattkasun commented 2 years ago

Hotfix for netclient released today. Update netclient to eliminate.

MatthewReed303 commented 2 years ago

How do we update docker netclient? Is it just v0.16.1?

Exchizz commented 2 years ago

@mattkasun Thanks, it works now :) Though I would have wished you had tagget the fix a new version (I wouldn't have needed to create the issue and bothered you)

@MatthewReed303 I just reinstalled the most resent version (in my case sudo apt update && sudo apt upgrade)

afeiszli commented 2 years ago

@MatthewReed303 docker netclient is same version, so you would just run a "docker pull" to get the new one