Skip to content
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

Add a setup script and according makefile target to upgrade ES keystore from older versions of ES #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BendingBender
Copy link
Contributor

@BendingBender BendingBender commented Dec 1, 2024

What does this implement/fix? Explain your changes.

When upgrading the stack from ES 8.13.x (and older) to newer versions of Elasticsearch, the generated keystore becomes incompatible. ES then tries to migrate the keystore automatically, but in the container the keystore is mounted via the secrets system and can't be moved or changed (a bind mount would experience the same problem). Elasticsearch then simply refuses to start.

This PR adds a setup script that manually runs the keystore migration in an independent container.

Does this close any currently open issues?

no

Any relevant logs, error output, etc?

no

Any other comments?

no

Where has this been tested?

locally

@BendingBender BendingBender changed the title Add a setup script and according makefile target to upgrade ES keystore from older versions of java Add a setup script and according makefile target to upgrade ES keystore from older versions of ES Dec 7, 2024
@BendingBender BendingBender force-pushed the add-setup-script-to-upgrade-keystore branch from 78715d8 to 302166d Compare December 8, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant