Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Unable to do remote debugging of mongodb-datastore due to liveness-probe #2536

Closed
1 task
warber opened this issue Oct 14, 2020 · 1 comment · Fixed by #2700
Closed
1 task

Unable to do remote debugging of mongodb-datastore due to liveness-probe #2536

warber opened this issue Oct 14, 2020 · 1 comment · Fixed by #2700
Assignees
Labels
help wanted Extra attention is needed type:chore Provides value to the (dev) team
Milestone

Comments

@warber
Copy link
Contributor

warber commented Oct 14, 2020

Since the introduction of the livenessProbe for the mongodb-datstore and the distributor it is not possible to remotely debug the mongodb-datastore. The problem at hand is, that while sitting at a breakpoint inside the mongodb-datastore, the liveness-probe inside the cluster fails which causes the pod to be restarted by kubernetes. Hence, the debugging connection breaks.

Affected Component

  • Datastore

Note, that other components might suffer from this issue too.

To Reproduce

  1. Set a breakpoint in mongodb-datastore.
  2. Deploy the mongodb-datastore with remote debugging.
  3. While the execution stops at the breakpoint, observe that in kubernetes a "Liveness probe failed" event gets triggered and the debugging connection breaks.

Expected behavior
Pausing the execution of the process does not affect the lifecycle of the pod in the cluster.

Current behavior
The pod is restarted because liveness checks fail

@warber warber added the type:bug Something is not working as intended/documented label Oct 14, 2020
@christian-kreuzberger-dtx christian-kreuzberger-dtx added the type:chore Provides value to the (dev) team label Oct 28, 2020
@christian-kreuzberger-dtx christian-kreuzberger-dtx added this to the 0.8.0 milestone Oct 28, 2020
@christian-kreuzberger-dtx christian-kreuzberger-dtx changed the title Unable to do remote debugging of mongodb-datastore Unable to do remote debugging of mongodb-datastore due to liveness-probe of distributor Oct 28, 2020
@christian-kreuzberger-dtx christian-kreuzberger-dtx changed the title Unable to do remote debugging of mongodb-datastore due to liveness-probe of distributor Unable to do remote debugging of mongodb-datastore due to liveness-probe Oct 28, 2020
@christian-kreuzberger-dtx christian-kreuzberger-dtx added help wanted Extra attention is needed and removed type:bug Something is not working as intended/documented labels Oct 28, 2020
@johannes-b johannes-b added the next-sprint Items that should be discussed and implemented in the next sprint label Oct 28, 2020
@johannes-b
Copy link
Member

  • It needs to be figured out whether the liveness and/or the readiness probe is the blocker.
  • Are there other services affected?

@bacherfl bacherfl self-assigned this Nov 18, 2020
@johannes-b johannes-b removed the next-sprint Items that should be discussed and implemented in the next sprint label Nov 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed type:chore Provides value to the (dev) team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants