-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
"event not processed by enough 'sink' nodes" affecting audit requests #24376
Comments
Hi, I'm talking to the team to try to determine what the clarify the correct behavior here. This was something that we explicitly didn't change as part of #23871 because if the request context is canceled before the request can be audited, no state will have changed in Vault. |
Hi 👋, |
Quick update: as of Vault 1.15.4, a change was introduce to avoid this exact issue. A new context with a fresh timeout value of 5 seconds is used to publish the response audit log record to the Audit Devices, so Value should now exhibit the same behaviour as prior to 1.15.0 when the context deadline has been reached while processing a request, which is that the response audit log will be written and will show the error that was sent back to the client. |
I'm going to close this Issue since the undesirable behaviour has been addressed already in Vault 1.15.4. |
A partial fix in #23871 was made and landed in Vault 1.15.3, I'm not aware of any changes in 1.15.4 that fixes this.
Would it be possible to simply ignore the error and avoid incrementing the vault_audit_log_request_failure metric? It should be possible to use this metric to know when an audit device fails, however it is misleading here as the audit device is not failing. |
@marcboudreau Hi, |
1.15.5 The same issue with metric |
This issue is likely resolved since Vault 1.16.3 as per the notes on issue: #25549 & CHANGELOG.md notes:
|
A correction to the earlier comment:
Fixes were included up to version 1.16.10 (for other use cases) - however the best version to target that is likely to resolve all know occurrence is Vault 1.16.10 or higher |
Describe the bug
After upgrading to Vault 1.15.3 I am still observing "event not processed by enough 'sink' nodes" errors in our Vault log. #23871 has partially fixed the problem, however it only addresses audit responses and not audit requests. Is there a similar fix to apply for audit requests too?
To Reproduce
TBC - I'm going to see if I can reproduce it in a clean dev Vault install.
Expected behavior
No error message.
Environment:
vault status
): 1.15.3vault version
): 1.15.3The text was updated successfully, but these errors were encountered: