sabre1041 / openshift-logforwarding-splunk

Demonstration of forwarding logs from OpenShift to Splunk
Apache License 2.0
31 stars 26 forks source link

Unable to get file status /etc/scl/conf/rh-ruby25: No such file or directory on newer RH-provided fluentd images #8

Closed wtmthethird closed 3 years ago

wtmthethird commented 3 years ago

This can likely be closed rather immediately as it is not an issue with the values in the current repo, but wanted to point out that 4.6 fluentd images are not including: /etc/scl/conf/rh-ruby25

so starting fluentd by scl enable rh-ruby25 -- fluentd will no longer function.

Thanks for all the work you do.

sabre1041 commented 3 years ago

It appears scl has been removed in 4.6. I will do further testing, but you can probably delete the following lines

https://github.com/sabre1041/openshift-logforwarding-splunk/blob/master/charts/openshift-logforwarding-splunk/templates/log-forwarding-splunk-statefulset.yaml#L110-L113

sabre1041 commented 3 years ago

@wtmthethird Updated to support 4.6 via 0af4145df6044c082f6c19bd1d3281c288b560ce

Can you retest?

wtmthethird commented 3 years ago

I can confirm that it works, and thank you!