fgjensen
(Flemming G. Jensen)
May 2, 2025, 8:50am
1
Hi all;
I have a single node Elasticsearch running in Docker which I have upgrade from version 8.17 to 8.18.
I have noticed this warning in the logs at startup time.:
[WARN ][o.e.x.i.s.e.a.ElasticInferenceServiceAuthorizationHandler] [elasticsearch] Failed to revoke access to default inference endpoint IDs: [rainbow-sprinkles], error: org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
It is only logged one time at startup time, but I would like to get rid of any warnings or errors.
I have searched the Elasticsearch documentation for the rainbos-sprinkles endpoint but does not find any hits.
The elaticsearch.yml configuration file is very simple and does not enable any modules except the default ones.
Any suggestions?
Best regards
Flemming
RainTown
(Kevin Maguire)
May 3, 2025, 10:12pm
2
same log for me on MacOS, elasticsearch 9.0.0.
Thanks for raising @fgjensen . I assume you haven't created an inference endpoint with that ID/ name in your cluster?
@RainTown are you also having exactly the same error (including reference to rainbow sprinkles)?
RainTown
(Kevin Maguire)
May 6, 2025, 5:38pm
4
Yes, same error in my log. I didn't create an inference endpoint (at least not deliberately). I now notice error was first seen under 8.18.0 which I had on my system for very short time after upgrading from 8.17.2 and before upgrading to 9.0.0, which I am still running.
FYI this is my own toy single-node system, but I use it almost every day and it's working otherwise fine AFAIK.
$ zegrep -h "Copyright|rainbow-sprinkles" elasticsearch-2025*log.gz
...
[2025-03-16T21:38:00,103][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [M1MacMini.fritz.box] [controller/11016] [Main.cc@123] controller (64 bit): Version 8.17.2 (Build 002b4653bd15a4) Copyright (c) 2025 Elasticsearch BV
[2025-04-18T22:45:24,751][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [06ff2aeb-82f0-4531-a24d-82d8c2f55ab6.fritz.box] [controller/23790] [Main.cc@123] controller (64 bit): Version 8.18.0 (Build bb9698bdfac3f0) Copyright (c) 2025 Elasticsearch BV
[2025-04-18T22:45:27,623][WARN ][o.e.x.i.s.e.a.ElasticInferenceServiceAuthorizationHandler] [06ff2aeb-82f0-4531-a24d-82d8c2f55ab6.fritz.box] Failed to revoke access to default inference endpoint IDs: [rainbow-sprinkles], error: org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
[2025-04-18T23:04:21,596][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [06ff2aeb-82f0-4531-a24d-82d8c2f55ab6.fritz.box] [controller/26471] [Main.cc@123] controller (64 bit): Version 9.0.0 (Build 3e38bae6bc09bf) Copyright (c) 2025 Elasticsearch BV
[2025-04-18T23:04:24,395][WARN ][o.e.x.i.s.e.a.ElasticInferenceServiceAuthorizationHandler] [06ff2aeb-82f0-4531-a24d-82d8c2f55ab6.fritz.box] Failed to revoke access to default inference endpoint IDs: [rainbow-sprinkles], error: org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
[2025-04-27T13:42:44,077][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [M1MacMini.fritz.box] [controller/4100] [Main.cc@123] controller (64 bit): Version 9.0.0 (Build 3e38bae6bc09bf) Copyright (c) 2025 Elasticsearch BV
[2025-04-27T13:42:47,044][WARN ][o.e.x.i.s.e.a.ElasticInferenceServiceAuthorizationHandler] [M1MacMini.fritz.box] Failed to revoke access to default inference endpoint IDs: [rainbow-sprinkles], error: org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
[2025-04-27T14:10:31,274][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [M1MacMini.fritz.box] [controller/2021] [Main.cc@123] controller (64 bit): Version 9.0.0 (Build 3e38bae6bc09bf) Copyright (c) 2025 Elasticsearch BV
[2025-04-27T14:10:34,094][WARN ][o.e.x.i.s.e.a.ElasticInferenceServiceAuthorizationHandler] [M1MacMini.fritz.box] Failed to revoke access to default inference endpoint IDs: [rainbow-sprinkles], error: org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
[2025-05-04T00:05:51,742][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [M1MacMini.fritz.box] [controller/60435] [Main.cc@123] controller (64 bit): Version 9.0.0 (Build 3e38bae6bc09bf) Copyright (c) 2025 Elasticsearch BV
[2025-05-04T00:05:55,400][WARN ][o.e.x.i.s.e.a.ElasticInferenceServiceAuthorizationHandler] [M1MacMini.fritz.box] Failed to revoke access to default inference endpoint IDs: [rainbow-sprinkles], error: org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
Thanks for confirming. I can't rule out a bug on this one if you haven't created an endpoint.
Do you mind raising a GitHub issue on the Elasticsearch repo for this one for our engineers to investigate? Let me know if you need help with this.
fgjensen
(Flemming G. Jensen)
May 7, 2025, 8:08pm
6
Hi @carly.richmond
No, I have not inference endpoints with that name. The Elasticsearch node is configured as-is with 3 index-templates collecting logs from an application. The warning is logged each time the node starts
BR Flemming
Thanks for confirming @fgjensen . If you have already I would definitely recommend raising a GitHub issue for it. Let me know if you need any help doing that.