From this second approach, the Kibana logs show the following:
[2024-11-26T23:41:45.573+00:00][ERROR][plugins.console] Error: Client request timeout
at Timeout._onTimeout (/usr/share/kibana/node_modules/@kbn/console-plugin/server/lib/proxy_request.js:91:37)
at listOnTimeout (node:internal/timers:573:17)
at processTimers (node:internal/timers:514:7)
[2024-11-26T23:41:45.574+00:00][WARN ][plugins.console] Could not connect to any configured ES node [https://eck-observabilidad-test-es-http.eck8-ob-test.svc:9200]
On the Elasticsearch side, I don't see any logs. What I understand is that Kibana is not managing to connect to Elasticsearch, which is strange because I can see everything in Elasticsearch from Kibana.My questions are:
Is any additional configuration required for Kibana to connect to Elasticsearch when I want to download ELSER?
Extra detail:
From the Kibana pod, using curl to https://eck-observabilidad-test-es-http.eck8-ob-test.svc:9200, I connect without any issues, and it returns the Elasticsearch JSON response.
3.1 Initially, the proxy didn’t allow me to connect from the pod. However, after changing the proxy settings, I was able to download files. For example, I successfully downloaded the metadata file here without any issues (from the pod, to clarify).
3.2 With 3.1 resolved, I decided to download the model using the file-based access method. Currently, the model files are stored on my pod (on all three nodes) at the path ${path.home}/config/models/.
Repeat step 2 and step 3 on all master-eligible nodes.
Restart the master-eligible nodes one by one.
Navigate to the Trained Models page from the main menu or use the global search field in Kibana. ELSER can be found in the list of trained models.
Click the "Add trained model" button, select the ELSER model version you downloaded in step 1 and want to deploy, and click "Download." The selected model will be downloaded from the model directory where you placed it in step 2.
( Points 4 and 5 were not necessary since they are already covered by the deployment of the StatefulSet.)
This is the issue I’m currently facing.
In point 7, I am encountering problems. Kibana tries to connect to Elasticsearch but fails, resulting in a 502 error, which I can find in the Kibana logs. I assume this is a Kibana-related issue because the Elasticsearch logs don’t mention anything about it.
This is the configuration that Kibana has, provided by the ECK operator.
My suggestion is since you have a valid Enterprise license is to open a support ticket. They'd probably be able to diagnose this fairly quick. I don't see anything obvious at this moment.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.