-
Notifications
You must be signed in to change notification settings - Fork 714
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
failed weave interactions are logged as errors, even though it's normal operation #1599
Comments
ditto for
Removing would be a bad idea because if you are running weave then these messages are noteworthy. |
We talked a bit about this in person and agreed that:
|
Would be good to bump the priority on this one. Basically everyone trying to troubleshoot a Scope issue hits this and gets confused. |
What changed to make this fail? It never used to fail. Would be good to understand what changed. |
Are you saying that scope never used to log an error when it cannot talk to weave / weaveDNS? That's not my recollection. |
I cannot reproduce the I do get the I also see
with our without weave installed. |
There are 4 integration points with weave:
In 1, 2 & 4 we use a "backoff", which will log errors until it hits max backoff and then silence itself. In 3 we don't log errors. For 2, we are logging errors inside the weave ps 'client' - https://github.com/weaveworks/scope/blob/master/common/weave/client.go#L137. We should rejig the code so the error is propagated up to the backoff. |
No, I'm saying weave ps never used to fail irrespective of wether weave was running or not. |
It doesn't now either. Except for the mysterious weaveworks/weave#2388 I don't think adding a backoff to 3, and fixing that weave issue fully addresses the problem here. The errors in the logs are distracting even with a backoff. |
Dupe of #1008? |
it's a 1/3rd dupe :) |
e.g.
It's confusing to use "ERROR" for things that are part of normal operation. This should either be a warning, or just removed from the logs completely.
The text was updated successfully, but these errors were encountered: