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

stderr from new docker compose v2.25 will mess up creation of OpenSearch keystore #452

Closed
mmguero opened this issue Mar 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working docker Relating to docker and docker-compose as used by Malcolm
Milestone

Comments

@mmguero
Copy link
Collaborator

mmguero commented Mar 21, 2024

As of Docker Compose v2.25 a warning message about the version tag being deprecated from docker-compose.yml is shown. This is not generally fatal, but the code that is used to determine if OpenSearch is running or not is misinterpreting the output, which would cause the keystore file not to be created and for Docker to create an empty bind-mounted directory in its place instead.

This commit (mmguero-dev/Malcolm@2bc9214) fixes the problem by ignoring STDERR.

@mmguero mmguero added bug Something isn't working docker Relating to docker and docker-compose as used by Malcolm labels Mar 21, 2024
@mmguero mmguero self-assigned this Mar 21, 2024
@mmguero mmguero closed this as completed Mar 21, 2024
@mmguero mmguero added this to the v24.03.1 milestone Mar 21, 2024
This was referenced Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker Relating to docker and docker-compose as used by Malcolm
Projects
Status: Released
Development

No branches or pull requests

1 participant