You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure whether this is bug, but I want fluent-plugin-opensearch to refresh @_aws_credentials at the next refresh_credentials_interval. I guess AssumeRoleCredentials.new() failes if a network is unstable. If this happens, fluent-plugin-opensearch stops sending logs. I'm not happy with this.
(check apply)
Steps to replicate
There is no reliable steps to replicate.
When it failed to refresh
@_aws_credentials
like the following error log:It stopped to refresh with dumping the following log:
Therefore, it will fail to flush the buffer with
The security token included in the request is expired
error message in the future.FYI: The following is my config, but I don't think this depends on config.
Expected Behavior or What you need to ask
I'm not sure whether this is bug, but I want fluent-plugin-opensearch to refresh
@_aws_credentials
at the nextrefresh_credentials_interval
. I guessAssumeRoleCredentials.new()
failes if a network is unstable. If this happens, fluent-plugin-opensearch stops sending logs. I'm not happy with this.The reason why fluent-plugin-opensearch stops to refresh
@_aws_credentials
is thattimer_execute()
removes the timer if its block raises an exeption.https://github.com/fluent/fluentd/blob/2b4ca5d2927b706c3bdc98ffd0a0b66232bc0b65/lib/fluent/plugin_helper/timer.rb#L84-L85
Using Fluentd and OpenSearch plugin versions
The text was updated successfully, but these errors were encountered: