rsyslog_remote - exists deprecated
Seeing error in rsyslog, not sure how long it's been going on, server is getting hammered:
remote-syslog: /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/remote_syslog-1.6.15/lib/remote_syslog/cli.rb:54:in `is_file_writable?': undefined method `exists?' for File:Class (NoMethodError)
remote-syslog: (File.directory?(directory) && File.writable?(directory) && !File.exists?(file)) || File.writable?(file)
remote-syslog: Did you mean? exist?
Cursory google search says ruby deprecated "exists" for "exist" at some point.
remote-syslog: #011from /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/remote_syslog-1.6.15/lib/remote_syslog/cli.rb:59:in block in default_pid_file'`
Status
Blocked by Replace remote_syslog with remote_syslog2 (omnibus-gitlab#7343 - closed), which should include an investigation to consider whether it's worth migrating to it. If it's deemed not worth it, we'll patch the existing gem and create a spike to find another long term solution.
Edited by João Alexandre Cunha