You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@s3test-11 bin]# systemctl show -p ActiveState --value syslog-ng
inactive
[root@s3test-11 bin]# systemctl show -p ActiveState --value rsyslog
inactive
both are inactive but in health command /usr/local/noobaa-core/bin/node /usr/local/noobaa-core/src/cmd/health --check_syslog_ng output error code of showing only for rsyslog, what if customer using syslog-ng then it should report syslog-ng as error. How does noobaa knows which logger service being used for noobaa services?
{"service_name":"noobaa","status":"NOTOK","memory":"340.1M","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":"inactive","pid":"0","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
error code should be as per logger service which is being used as default for noobaa
Hey @Roushan45
I created a PR in which the status of rsyslog/syslog_ng won't affect the overall status. WDYT?
syslog_ng status is still available on the checks.services - {"name":"syslog-ng","service_status":"inactive","pid":"0","error_type":"PERSISTENT"}
Environment info
Actual behavior
inactive
[root@s3test-11 bin]# systemctl show -p ActiveState --value rsyslog
inactive
both are inactive but in health command
/usr/local/noobaa-core/bin/node /usr/local/noobaa-core/src/cmd/health --check_syslog_ng
output error code of showing only for rsyslog, what if customer using syslog-ng then it should report syslog-ng as error. How does noobaa knows which logger service being used for noobaa services?{"service_name":"noobaa","status":"NOTOK","memory":"340.1M","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":"inactive","pid":"0","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
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: