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
[dev.icinga.com #10931] Exception stack trace on icinga2 client when the master reloads the configuration #3816
Comments
Updated by mfriedrich on 2016-01-11 13:13:14 +00:00
It is fairly normal that a reload of the Icinga 2 master closes the tcp connections causing the client to log an error message. It might be helpful to hide the stack trace in such cases though it sometimes contains valuable information. |
Updated by tgelf on 2016-01-20 12:24:15 +00:00
Might be related to this code snippet (or something similar):
Icinga should not try to process available data if there is no such, especially when it already decided to destroy the socket. I'll reset priority to normal, I guess this could be easy to fix. Those exceptions are pretty disturbing as you get a lot of them in larger setups, they are disturbing/confusing if in case you are looking for problems in your logs. Cheers, |
Updated by mfriedrich on 2016-01-25 10:32:05 +00:00
|
Updated by ziaunys on 2016-01-26 18:57:22 +00:00 I'm not sure if this is related, but I constantly see this exception in the logs of all my Icinga2 (2.4.1) agents: I don't know if this actually causes problems because I don't understand the error. |
Updated by mfriedrich on 2016-01-27 13:19:59 +00:00
|
Updated by gbeutner on 2016-02-04 12:02:10 +00:00 Can you retest this with the latest snapshot? |
Updated by mfriedrich on 2016-02-04 15:21:52 +00:00 I haven't seen this so far with the latest snapshot packages. |
Updated by mfriedrich on 2016-02-04 15:22:13 +00:00
|
Updated by gbeutner on 2016-02-10 07:03:57 +00:00 I'm fairly certain this is fixed in the master branch. |
Updated by seferovic on 2016-02-11 12:05:41 +00:00 Sorry for the late feedback. I just installed latest snapshot and unfortunately I run into a "endless restart loop" due to configuration changes. This is probably closed, but I will review it once more after resolving the actual problem at hand. |
Updated by gbeutner on 2016-02-23 09:59:36 +00:00
|
Updated by gbeutner on 2016-02-23 09:59:53 +00:00
|
'apt install chrony' on master, satellite and client hosts solve the issue "Error while reading JSON-RPC message for identity 'example.com': Error: stream truncated" for me. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10931
Created by seferovic on 2016-01-05 13:04:53 +00:00
Assignee: seferovic
Status: Resolved (closed on 2016-02-23 09:59:36 +00:00)
Target Version: 2.4.2
Last Update: 2016-02-23 09:59:53 +00:00 (in Redmine)
In my test environment I have a master server which sends commands to icinga2 agents. On reload of the master server the connection to the agent is being destroyed (?!) and the icinga2 agent logs following
I am not sure if this should be considered a bug, but I don't expect to see such exceptions in main log only because the master reloaded the config... but I might be wrong, so please excuse the newbie ;)
Thx!
Relations:
The text was updated successfully, but these errors were encountered: