-
Notifications
You must be signed in to change notification settings - Fork 512
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
Fix Persistence/IndexDAO config #359
Conversation
…nfigs which are using es7 (like our docker/docker-compose.yaml)
volumes: | ||
- esdata-conductor:/usr/share/opensearch/data | ||
- osdata-conductor:/usr/share/opensearch/data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a different volume to avoid conflicts with ES data. This was recently added. If anyone was using it, they can copy the data to this volume.
@@ -55,8 +55,9 @@ services: | |||
- node.name=conductor-opensearch # Name the node that will run in this container | |||
- discovery.seed_hosts=conductor-opensearch # Nodes to look for when discovering the cluster | |||
- cluster.initial_cluster_manager_nodes=conductor-opensearch # Nodes eligible to serve as cluster manager | |||
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=P4zzW)rd>>123_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix this issue on docker compose up
conductor-opensearch-1 | Detected OpenSearch Version: 2.18.0
conductor-opensearch-1 | Detected OpenSearch Security Version: 2.18.0.0
conductor-opensearch-1 | No custom admin password found. Please provide a password via the environment variable OPENSEARCH_INITIAL_ADMIN_PASSWORD.
conductor-opensearch-1 exited with code 1
Gracefully stopping... (press Ctrl+C again to force)
dependency failed to start: container docker-conductor-opensearch-1 exited (1)
Pull Request type
Changes in this PR
conductor-es7-persistence
to fix issues with existing configs which are using es7 (likedocker/docker-compose.yaml
).docker/docker-compose-redis-os.yaml
NOTES
This is the cause of this error when running
docker compose -f docker/docker-compose.yaml up
indexing is enabled with es7 config but since was removed no
IndexDAO
implementation is loaded in the context.