New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create client connection to Elasticsearch #1614
Comments
How did you install Curator? I'm guessing a Also, Curator's most recent release is 5.8.4. Curator 5.7 is rather old, and may not support the 7.x releases of Elasticsearch very well. |
We can ascertain what the error messages mean. What response do you get if you submit a
The response will likely look something like:
|
Yes @untergeek, I am using pip to install curator. I saw the version compatibly matrix - https://www.elastic.co/guide/en/elasticsearch/client/curator/current/version-compatibility.html It says curator 5.7+ supports elasticsearch 7.x. Does the latest curator version solves this problem? While searching found this - elastic/elasticsearch-py#1623 Is this issue related to this? |
Also I am able to get the response from elasticsearch
|
After using the elasticsearch client < 7.14. it's working fine. Thanks @untergeek for your response. |
Having the same issue here
Curator
Message
|
Same issue here. ES version is 7.6.1 Unable to connect to Elasticsearch cluster. Error: The client noticed that the server is not a supported distribution of Elasticsearch Any suggestions? |
Use Curator 5.8.3 or older, or if installing via source, change the dependency to use the ES client library older than 7.14. |
@untergeek, thanks for your reply, as you can see I'm using the latest version of curator for today. I'm installing it via pip (apk add py3-pip && |
Force override the dependency on the elasticsearch 7.14.0 by If you re-install Curator 5.8.4, it will attempt to install the elasticsearch python module at 7.14.0 again, but doing this after the fact should work. |
Thanks, will try this trick but the only problem is I'm creating a brand new docker image based on alpine:3.15.0 and with only commands:
so there shouldn't be any previous version of python libs. But I'll try to do next:
Hope it'll work |
Remove the last line, the second instance of
`pip install -U elasticsearch-curator==5.8.4`
If you do not, I guarantee it will not work because it will overwrite the manual replacement of ELasticsearch 7.1.0
…--
Aaron Mildenstein
On Mar 11, 2022, 5:26 AM -0700, Dmitriy ***@***.***>, wrote:
@untergeek
Thanks, will try this trick but the only problem is I'm creating a brand new docker image based on alpine:3.15.0 and with only commands:
apk add py3-pip && \
pip install --upgrade pip && \
pip install -U elasticsearch-curator==5.8.4
so there shouldn't be any previous version of python libs.
But I'll try to do next:
apk add py3-pip && \
pip install --upgrade pip && \
pip install -U elasticsearch-curator==5.8.4 && \
pip install -U elasticsearch==7.1.0 && \
pip install -U elasticsearch-curator==5.8.4
Hope it'll work
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Stale |
elasticsearch-curator==5.8.4 install elasticsearch-7.17.9 |
We have ElasticSearch 5.6.16. Worked using following version combination: Python 2.7 pip install voluptuous==0.11.7 |
I am using curator to rollover the elastic-search indices.
My curator version = 5.7
Elasticsearch version = 7.5.0
I am getting the below exception
The text was updated successfully, but these errors were encountered: