magento / magento/magento-cloud-docker
OpenSearch docker images broken
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 277
- Forks
- 187
- PR merge metrics
- No merged PRs in 30d
Description
### Preconditions
Magento Cloud Docker - local development with latest 1.3.2 package
### Steps to reproduce
1. Create .magento.docker.yml file
2. Specify elasticsearch service with:
- image: "magento/magento-cloud-docker-opensearch"
- version: "1.2"
3. Generate docker-compose.yml file
4. Attempt to bring up services
### Expected result
Local Magento environment with OpenSearch
### Actual result
OpenSearch container fails healthcheck. Upon review, OS_HOST is used for both the URL and port, unlike the Elasticsearch image which correctly uses ES_HOST and ES_PORT. However, even when fixing this issue, the healthcheck still fails.
We use the docker dev setup quite extensively, historically with ES. We are exploring OS, but are blocked on this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the .magento.docker.yml service definition and the generated docker-compose.yml, then inspect the OpenSearch image healthcheck and compare its OS_HOST/OS_PORT handling with the Elasticsearch image. Reproduce the failure using OpenSearch version 1.2; done means the container healthcheck passes and the local Magento environment starts with OpenSearch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100