-
Notifications
You must be signed in to change notification settings - Fork 79
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
rpm install in a syslog-ng environment #8408
Comments
this would also become a problem when we do rpm upgrade in the syslog-ng environment. |
@rkomandu why is that a NooBaa related issue? An easy fix for example would be to restart it in the Scale upgrade process after updating the PRM |
@nimrod-becker , the way when rpm is installed the underlying service should be started. Given that we are trying to address other logging mechanism (syslog-ng/some other) , atleast there should be a message that restart the respective logging since rsyslog is not enabled in the cluster. Scale upgrade process doesn't touch these things (just like what was done with rsyslog today) since rpm post script is restarting the daemon -- Also if customer for efix they can't use the Toolkit upgrade, for them the service has to be restarted. There are few different ways of upgrade is what am trying to say. |
For efix, they would get instructions, which can include a comment to restart this. I am not sure other services when deployed on linux are restarting logging services, that would sound intrusive to me... |
@nimrod-becker @rkomandu @guymguym @naveenpaul1 @tangledbytes
https://github.com/noobaa/noobaa-core/blob/master/src/deploy/RPM_build/noobaa.spec |
@romayalon I think we should keep this, because we anyway shipping rsyslog config with RPM, If we remove restart there is no point in keeping rsyslog configuration |
@madhuthorat @rkomandu due to the fact that you change the default to LOG_TO_SYSLOG_ENABLED=true, I think we should keep the restart, WDYT? |
Environment info
Noobaa 5.17.0-20240921 d/s build
Actual behavior
When we install a noobaa rpm with the default rsyslog enabled in the system, it restarts which is good. However if we have the
syslog-ng enabled in the cluster there is no message in the stdout and the syslog-ng is not restarted. I think we need to have this check in the system
Expected behavior
IMO, based on the underlying service (rsyslog, syslog-ng), it should be restarted. Otherwise it should display that please start your logging service etc.
Steps to reproduce
Posted above
More information - Screenshots / Logs / Other output
The text was updated successfully, but these errors were encountered: