Bug #12196
closedNodes not sending compliance reports
Description
Hi,
I recently installed and configured rudder-agent on some machines and 5 of them strictly refuse to send compliance reports. They're the exact same machines than the others, with the same specs and configuration.
Commands rudder-agent check outputs nothing wrong. Hostnames are correctly configured in /etc/hosts file. I'm running out of ideas. I tried augmenting the agent run scheduled thinking these machines were slower than the other but nothing change. Whatever I try, these machines won't send compliance reports and therefore won't apply Rules.
Server and nodes are all running CentOS 7 and version 4.2.4.
Thnaks for your help
Files
Updated by Rémi Padrona about 6 years ago
Updated by Rémi Padrona about 6 years ago
I also don't have any error when running rudder agent update or rudder agent run
Updated by Nicolas CHARLES about 6 years ago
Hi Rémi,
If rudder agent update and rudder agent run don't output any issue, then it might be a syslog issue, or network related to syslogTo troubleshoot this issue, can you check if
- Is syslog running on the offending node ? Does restarting syslog on one of them, then running rudder agent run solves the issue ?
- Do you have port 514 UDP open between the nodes and the server ?
- If you go to Technical Logs, on the node detail, do you have any reports for these nodes ?
Updated by Rémi Padrona about 6 years ago
Restarting rsyslog then running rudder agent run doesn't solve the probleme.
The port is correctly congifured.
Technical logs are empty for the 5 mentioned nodes.
Updated by Rémi Padrona about 6 years ago
Rémi Padrona wrote:
Restarting rsyslog then running rudder agent run doesn't solve the problem.
The port is correctly configured.
Technical logs are empty for the 5 mentioned nodes.
Updated by Rémi Padrona about 6 years ago
I solved the issue by updating rsyslog. Everything now works as expected. Thanks for your help.
Updated by Rémi Padrona about 6 years ago
Rémi Padrona wrote:
I solved the issue by updating rsyslog. Everything now works as expected. Thanks for your help.
It seems that I spoke too fast. It made some of the nodes reporting again, but two of them still don't send any reports.
Updated by Rémi Padrona about 6 years ago
Issue resolved. Last node was corrected by changing the server's ip by its DNS name in file /etc/rsyslog.d/rudder-agent.conf. All our nodes are now correctly sending compliance reportss.
Updated by François ARMAND about 6 years ago
- Status changed from New to Rejected
Great!
I'm closing the issue (it says "rejected", but it's only because no code modification was needed). Free to reopen if needed.