Closed
Description
There have been several build failures in the past few days where the whole FollowIndexSecurityIT
suite fails with connection errors:
java.net.ConnectException: Connection refused
at __randomizedtesting.SeedInfo.seed([D5A8084EC9E25925:E6A6A837ACA01A02]:0)
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:918)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:299)
Some interesting errors in logs:
[2022-02-14T23:30:20,568][WARN ][o.e.t.TcpTransport ] [follow-cluster-0] exception caught on transport layer [Netty4TcpChannel{localAddress=/127.0.0.1:41444, remoteAddress=127.0.0.1/127.0.0.1:38375, profile=default}], closing connection
» org.elasticsearch.ElasticsearchSecurityException: action [indices:admin/seq_no/renew_retention_lease] is unauthorized for user [test_ccr] with roles [ccruser], this action is granted by the index privileges [manage,all]
» at org.elasticsearch.xpack.core.security.support.Exceptions.authorizationError(Exceptions.java:36) ~[?:?]
» at org.elasticsearch.xpack.security.authz.AuthorizationService.denialException(AuthorizationService.java:919) ~[?:?]
» at org.elasticsearch.xpack.security.authz.AuthorizationService$AuthorizationResultListener.handleFailure(AuthorizationService.java:978) ~[?:?]
» at org.elasticsearch.xpack.security.authz.AuthorizationService$AuthorizationResultListener.onResponse(AuthorizationService.java:963) ~[?:?]
Examples: