-
Notifications
You must be signed in to change notification settings - Fork 330
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
got unrecoverable error in primary and no secondary error_class=ArgumentError error="wrong number of arguments (given 4, expected 3)" #1716
Comments
@kefiras this error message alone doesn't tell much about the original problem
|
Debug is already enabled bad chunk
I haven't checked receiving side but I doubt anything is send |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! |
We encountered the same error. Is it possible to open this issue again? |
@liz-86 can you add some details to this? do you see this error with the latest image versions as well? |
Yes, we tested our configuration (much the same as the above mentioned but with tcp transport and not tls) with the latest fluentd image (kube-logging/fluentd-images:v1.16-full). apiVersion: logging.banzaicloud.io/v1beta1
kind: ClusterOutput
metadata:
name: syslog
namespace: logging
spec:
syslog:
buffer:
flush_thread_count: 16
timekey: 1m
timekey_use_utc: true
timekey_wait: 30s
format:
type: json
host: syslog.example.net
insecure: true
port: 5056
transport: tcp The created fluentd.conf is the following (from k8s secret loggging-operator-logging-fluentd-app):
|
Same issue here. Provider: RKE2 |
What are your fluentd and fluentbit image versions? |
It seems I totally misunderstood the issue originally. I've looked at it once again and it seems that the ruby3 upgrade broke the syslog plugin because of the deprecation and removal of https://blog.saeloun.com/2019/10/07/ruby-2-7-keyword-arguments-redesign/ I've made a change here: pepov/fluent-plugin-syslog_rfc5424@6404b61 Then applied on my fork of the fluentd image here: kube-logging/fluentd-images@main...pepov:fluentd-images:main I didn't have the time to test it with a syslog receiver, could you please give it a try with |
Thanks for looking into the issue. I can confirm that with the new image there are no more errors in the fluentd. I need to talk to another team to see if there are getting the desired logs. But it looks good at the moment. Thanks again! EDIT: All seems to be working perfectly. The other team's are getting logs. :) |
thx for the confirmation, I'm making the PRs to have the fix released asap |
The images have been updated with the fix with the 148th build: For logging operator 4.8: |
Describe the bug:
Error when using syslog output
Expected behaviour:
Logs should be sent to defined syslog cluster output
Steps to reproduce the bug:
Configure below resource
Additional context:
Fluentd throws errors:
Environment details:
/kind bug
The text was updated successfully, but these errors were encountered: