-
Notifications
You must be signed in to change notification settings - Fork 509
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
Readiness probe failed: panic: open /var/log/mongodb-mms-automation/healthstatus/agent-health-status.json: no such file or directory #1527
Comments
|
@laiminhtrung1997 Unfortunately, the readinessProbe still fails and pod goes in CrashLoopBackOff. Have provided
|
Dear @prachiwaghulkar |
@laiminhtrung1997 PFB the mdbc cr manifest.
|
The log of container mongodb-agent in mongodb-0 too, please. |
The log of mongodb-agent:
|
Hmmmm. My mdbc does not configure the TLS, and the MongoDB started without any errors. I have no idea. Sorry for cannot help you. |
@irajdeep Can anybody from the community take a look and be able to assist here? It is important for us to move to 5.0.26 |
@prachiwaghulkar can you please provide the agent logs and health logs as described here? Having said that |
@nammn I have used the following image: sha256:0172fb2a286d3dc9823f0e377587c0a545022bd330c817ed6b8bc231ea0643ad which is linux/amd64. We are updating from 5.0.24 to 5.0.26. 5.0.24 with amd worked fine for us. PFB the logs: Agent logs:
Health logs:
|
@nammn Were you able to check the issue? FYI, these are the mongo-agent, readinessprobe image that I am using.
|
Having the exact same issue here. Fresh new instance.
Describing the pod show the following errors :
The pod logs contains nothing revelent |
@prachiwaghulkar can you verify that the mongodb image you are using is indeed compatible and working? Looking at the agent log it seems that the agent seems to wait forever and mongod and the related service is not up and running.; can you somehow get a debug container running trying to access that service? I
|
Facing same issue mongodb instance readiness probe failing for mongodb-agent container
|
Ensure that your node has correct CPU model available. Mongo required AVX support. I didn't expose the CPU flag nor used the host CPU model passtrough, causing Mongo to not start. |
How can I ensure that node has correct CPU model available in openshift pod, is there any docs available or command which can help it supports? |
Any update on this I am facing the same issue |
In my case we had to pass host CPU model from Proxmox. Cloud providers should already pass the correct model. |
For those on this thread, @veebkolm was absolutely right that it was a CPU flag for me. I am working Proxmox. To fix this I shelled into the host and had to pass the CPU features through to Kubernetes Nodes. TO RESOLVE (For me): Now all is right in the mongo world. |
This issue is being marked stale because it has been open for 60 days with no activity. Please comment if this issue is still affecting you. If there is no change, this issue will be closed in 30 days. |
What did you do to encounter the bug?
Applied the mongodb CR using MongoDB image 5.0.26.
mongodb pod is in CrashLoopBackOff and mongodbcommunity is in Pending state.
Pod logs give the following error:
Describe on the pod gives below error in events:
What did you expect?
/var/log/mongodb-mms-automation/healthstatus/agent-health-status.json should exist and this error should not come.
What happened instead?
/var/log/mongodb-mms-automation/healthstatus/agent-health-status.json file doesn't exist and the error is thrown. mongodb pod is in crashloopbackoff.
Operator Information
If possible, please include:
The text was updated successfully, but these errors were encountered: