-
Notifications
You must be signed in to change notification settings - Fork 21
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
Document Elasticsearch for Arches 7 #295
Comments
This seems to be the correct configuration that we should put in the documentation: https://community.archesproject.org/t/elastic-user-authentication-fail/1700/8 |
@mradamcox it's worth noting that xpack security shouldn't be disabled if you're running elastic in a production setup. If you're running in development, it's fine to disable. A lot of this is covered in the 7.x release notes. It would be nice if we had a way to get the release notes into the documentation. But the elastic setup is more involved for production-worthy version of es (you need to set a password, setup SSL, etc). Elasticsearch (especially if it's exposed to the internet) is dangerous to run without security. We've seen it compromised on more than one occasion. |
@aarongundel thanks for the note about dev vs. production. As for release notes, completely agree. I mentioned that here #272, but probably we should just make a new ticket specifically for their inclusion in the docs. |
I wanted to revisit your comment about securing production deployments of Elastic. Do you have an example working config you can share that can be good guidance for making xpack (https) secured Elastic work? Perhaps in the context of a Docker deployment? I'm looking at fleshing out this point made in the release notes you referenced in the documentation:
|
@ekansa you need to set ELASTICSEARCH_HOSTS with connection info like this... I'm currently doing this locally with afs and it works OK, although python complains about not having an actual cert for ES quite a bit. This is pretty straightforward to correct using an actual (not a self signed) cert, but that's not something I've budgeted any time for in the dev setup, and is OK as far as a dev setup is concerned. |
describe the issue
Arches 7 upgrades to version 8 of Elasticsearch. I believe there are some significant changes to how people need to set up ES 8 as compared to past versions, so this really needs to be evaluated as soon as possible.
Here is a forum post with a little more detail on what users have encountered: https://community.archesproject.org/t/elastic-user-authentication-fail/1700
please add links to existing docs or code (if relevant)
Software dependencies:
https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#software-dependencies
Arches and Elasticsearch:
https://arches.readthedocs.io/en/stable/arches-and-elasticsearch/
It may be worth adding a section to the installation documentation... installing Elasticsearch for Arches hasn't really changed for years, so this may be a significant difference.
which release does this issue concern?
Arches >= 7
The text was updated successfully, but these errors were encountered: