-
Notifications
You must be signed in to change notification settings - Fork 71
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
auditbeat ERROR: get status request failed:failed to get audit status reply: no reply received #125
Comments
We could define the error returned by |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
I have the same behavior on GetRules.
10 times EAGAIN returns. |
It's possible this was fixed in 8.16: elastic/beats#41207. |
I don't use elastic/beats. I have floating problems with this code:
|
original issue: elastic/beats#33258
long story short: we run
auditbeat
as DaemonSet on GKE clusters with slightly different versions, some nodes rundocker
, other nodes runcontainerd
.it runs with all permissions it needs,
journald
already unregistered by an initContainer soauditbeat
can get audit events.Problem is that some random
auditbeat
pods keep outputting this error until we restart them:and if we restart a totally fine
auditbeat
pod, it might start outputting that error too.it doesn't however stop writing audit logs to elasticsearch. we get audit logs from the pods that are outputting the error as much as the other pods.
I traced down the error to this block of code:
go-libaudit/audit.go
Lines 496 to 498 in 6fba496
Wouldn't it be okay if
msgs
was empty? At this point we already got through this without any error:go-libaudit/audit.go
Lines 480 to 494 in 6fba496
and
func (c *NetlinkClient) Receive()
already got the appropriate error checks here:go-libaudit/netlink.go
Lines 152 to 190 in 6fba496
Shouldn't
len(msgs) == 0
be reported as a warning instead of an error?The text was updated successfully, but these errors were encountered: