-
Notifications
You must be signed in to change notification settings - Fork 76
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
Incorrect service status for rsyslog if syslog-ng enables #8027
Comments
@Roushan45 Thank you for bringing this to our attention. We will add it to our task list and address it based on our priorities. |
Hey @Roushan45 |
Environment info
Actual behavior
[root@s3test-11 ~]# systemctl show -p ActiveState --value syslog-ng
active
[root@s3test-11 ~]# systemctl show -p ActiveState --value rsyslog
inactive
from above syslog-ng is active but rsyslog is inactive but in health command
/usr/local/noobaa-core/bin/node /usr/local/noobaa-core/src/cmd/health --check_syslog_ng
it showing RSYSLOG_SERVICE_FAILED even syslog-ng is active (up & running){"service_name":"noobaa","status":"NOTOK","memory":"313.7M","error":{"error_code":"RSYSLOG_SERVICE_FAILED","error_message":"RSYSLOG service is not started properly, Please verify the service with status command."},"checks":{"services":[{"name":"noobaa","service_status":"active","pid":"1172983","error_type":"PERSISTENT"},{"name":"rsyslog","service_status":"inactive","pid":"0","error_type":"PERSISTENT"},{"name":"syslog-ng","service_status":"active","pid":"1006808","error_type":"PERSISTENT"}],"endpoint":{"endpoint_state":{"response":{"response_code":"RUNNING","response_message":"Endpoint running successfuly."},"total_fork_count":2,"running_workers":[2,1]},"error_type":"TEMPORARY"}}}
Expected behavior
it should not report rsyslog as error
Steps to reproduce
/usr/local/noobaa-core/bin/node /usr/local/noobaa-core/src/cmd/health --check_syslog_ng
More information - Screenshots / Logs / Other output
The text was updated successfully, but these errors were encountered: