-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Bug]: podman-compose show etcd Unhealthy #40372
Comments
Hey @liangbug! I'm here to help you with any bugs and questions you have. Let's work together to solve this issue. The issue you're experiencing with the To resolve this discrepancy, you should modify the command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd to: command: etcd -advertise-client-urls=http://etcd:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd This change ensures that the etcd service is correctly advertised to other components in the Milvus deployment, which should resolve the health status discrepancy [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Hi @dosu |
Ensure that the health check command in your podman-compose file is targeting the correct endpoint. Modify the health check command to explicitly specify the endpoint as follows: healthcheck:
test: ["CMD", "etcdctl", "--endpoints=http://localhost:2379", "endpoint", "health"]
interval: 30s
timeout: 20s
retries: 3 This change ensures that the health check command is using the correct endpoint within the container [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Is there an existing issue for this?
Environment
Current Behavior
Similar issue like #39417, but

podman ps
shows etcd is unhealthy.However exec
etcdctl endpoint health
show healthy.Below are my podman installation
Below are my podman compose file which is the same as
https://github.com/milvus-io/milvus/releases/download/v2.5.5/milvus-standalone-docker-compose.yml:
Expected Behavior
No response
Steps To Reproduce
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: