monogon-dev / monogon

The Monogon Monorepo. May contain traces of peanuts and a ✨pure Go Linux userland✨. Work in progress!
https://monogon.tech
Apache License 2.0
378 stars 9 forks source link

node: dont spam resolver failures on startup #227

Closed fionera closed 1 year ago

fionera commented 1 year ago

Currently the nodes spam the serial with failed leader requests

        resolver I WATCHLEADER: failed to retrieve current leader from -:7835: rpc error: code =
                 | Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp
                 | -:7835: connect: connection refused"
lorenz commented 1 year ago

Problem is actually that the cluster directory does not contain a marker for control plane nodes, meaning that it tries to connect to 100s of nodes which do not run a curator

q3k commented 1 year ago

Fixed in https://review.monogon.dev/c/monogon/+/1840 .