harinirajendran opened a new issue #12343: URL: https://github.com/apache/druid/issues/12343
Indexer `status/selfDiscoverd` returns 503 even if Indexer is up and running ### Affected Version 0.22.1 ### Description After bringing up the Indexer pods, even if they show up in Druid UI and start executing tasks, the `status/selfDiscovered` API yet returns 503. We use this as the readiness probe in our k8s deployment, so the indexer pods are never considered ready by our k8s because of this issue. I have port-forwarded localhost:8091 to Indexer power 8091 as follows. ``` hrajendran@harini-rajendran docker % docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3997566dbfcc apache/druid:0.21.0 "/druid.sh indexer" 2 minutes ago Up 2 minutes 0.0.0.0:8091->8091/tcp, 0.0.0.0:8106-8110->8106-8110/tcp indexer ``` **Version 0.21.0 [Working as expected]** ``` hrajendran@harini-rajendran docker % curl http://localhost:8091/status/selfDiscovered/status {"selfDiscovered":true}% hrajendran@harini-rajendran docker % curl -v http://localhost:8091/status/selfDiscovered * Trying ::1... * TCP_NODELAY set * Connected to localhost (::1) port 8091 (#0) > GET /status/selfDiscovered HTTP/1.1 > Host: localhost:8091 > User-Agent: curl/7.64.1 > Accept: */* > < HTTP/1.1 200 OK < Date: Thu, 17 Mar 2022 17:27:08 GMT < Content-Type: application/json < Vary: Accept-Encoding, User-Agent < Content-Length: 0 < * Connection #0 to host localhost left intact * Closing connection 0 ``` **Version 0.22.1 [Broken]** ``` hrajendran@harini-rajendran docker % curl http://localhost:8091/status/selfDiscovered/status {"selfDiscovered":false}% hrajendran@harini-rajendran docker % curl -v http://localhost:8091/status/selfDiscovered * Trying ::1... * TCP_NODELAY set * Connected to localhost (::1) port 8091 (#0) > GET /status/selfDiscovered HTTP/1.1 > Host: localhost:8091 > User-Agent: curl/7.64.1 > Accept: */* > < HTTP/1.1 503 Service Unavailable < Date: Thu, 17 Mar 2022 17:24:48 GMT < Content-Type: application/json < Content-Length: 0 < * Connection #0 to host localhost left intact * Closing connection 0 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
