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

Chore: context-box restarts when it can't ping MongoDB #1325

Closed
JKBGIT1 opened this issue Apr 4, 2024 · 1 comment · Fixed by #1399
Closed

Chore: context-box restarts when it can't ping MongoDB #1325

JKBGIT1 opened this issue Apr 4, 2024 · 1 comment · Fixed by #1399
Assignees
Labels
chore A chore is updating dependencies, etc; no significant code changes groomed Task that everybody agrees to pass the gatekeeper

Comments

@JKBGIT1
Copy link
Contributor

JKBGIT1 commented Apr 4, 2024

Current Behaviour

If context-box can't ping MongoDB as part of its health check it restarts.

Expected Behaviour

Do we want to handle this problem this way? Why should restarting the context-box fix the connection to another party?

Steps To Reproduce

I experienced this when I deployed Claudie on a cluster without the required images. The context-box image got pulled before the Mongo one, therefore the pod with the context-box container was up before the pod with Mongo.
However, you can replicate it even when you prevent Mongo from scheduling.

@JKBGIT1 JKBGIT1 added the bug Something isn't working label Apr 4, 2024
@JKBGIT1 JKBGIT1 changed the title Bug: context-box restarts when it can't ping MongoDB Chore: context-box restarts when it can't ping MongoDB Apr 4, 2024
@JKBGIT1 JKBGIT1 added chore A chore is updating dependencies, etc; no significant code changes and removed bug Something isn't working labels Apr 4, 2024
@miroslavkohutik miroslavkohutik added the groomed Task that everybody agrees to pass the gatekeeper label Apr 12, 2024
@JKBGIT1
Copy link
Contributor Author

JKBGIT1 commented Apr 12, 2024

I think keeping the context-box not ready should be enough because the restart most probably doesn't fix the connection issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore A chore is updating dependencies, etc; no significant code changes groomed Task that everybody agrees to pass the gatekeeper
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants