-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
significant error log spam if a daemon is started before mgmtd
#17931
Comments
Given that none of our supported start up scripts start zebra before mgmtd, this feels more like a developer problem than a operator problem. |
Yes and no, for one I'm not sure we don't have a race condition here ( ( |
It is also a bit foolish to believe people won't muck with this. Things like OpenWRT and people using other service managers (runit, s6, dinit, etc.) exist, and some of them have integration requirements that flat out don't work with our init scripts (e.g. directly managing non-daemonized child processes). |
I'm with David here - it'd be better to have a clearer report, like "I can't find mgmtd, I'll keep trying." |
Starting
zebra
beforemgmtd
is up and running results in a whole lot of the following:Depending on the setup, the amount of log spam generated here can be significant.
⇒ it is unclear to me why this is an error to begin with, but also if it is intentional it should be reported only once for each "down" transition of the notification connection (i.e. sticky flag that this error was reported which is cleared when NB connection is successfully established). Also these error messages are unhelpful in identifying the actual issue (
mgmtd
not fully running yet)reproducer: just start
zebra
withoutmgmtd
The text was updated successfully, but these errors were encountered: