bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.97k stars 9.2k forks source link

New mongos healthcheck fails in mongodb-sharded chart #26360

Closed taivama closed 4 months ago

taivama commented 5 months ago

Name and Version

bitnami/mongodb-sharded:8.2.1

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. Install the helm chart
  2. Mongos enters to crashloop due to failed heathcheck
  3. Login to mongos command line
  4. Try to run pegrep
  5. Command not found

What do you see instead?

Liveness probe failed: OCI runtime exec failed: exec failed: unable to start container process: exec: "pegrep": executable file not found in $PATH: unknown

Additional information

Mongodb-sharded images do not support the new pegrep based healthcheck. The image does not contain the needed binary tool.

migruiz4 commented 4 months ago

Thank your for reporting this issue and I'm sorry for the inconvenience.

I have submitted this PR fixing this issue #26566