Skip to content

feat: Introduce count thresholds for unrecoverable pod events #795

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

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

amisevsk
Copy link
Collaborator

What does this PR do?

Adds threshold count value to unrecoverable events, so that we can hopefully not fail on FailedMount events that will automatically resolve after a while.

What issues does this PR fix or reference?

Hopefully (:crossed_fingers:) fixes the various different instances #778 that pop up every now and then.

Is it tested? How?

I can't actually test this PR as I cannot reliably trigger the reported FailedMount events. Out of a hundred recent workspace starts in the dogfooding cluster, the FailedMount issue happened only 7 times.

PR Checklist

  • E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)
    • v8-devworkspace-operator-e2e: DevWorkspace e2e test
    • v8-che-happy-path: Happy path for verification integration with Che

Enable more fine-grained management of unrecoverable pod events during
workspace startup by having different thresholds for how many times an
event can be seen before it is considered fatal.

Signed-off-by: Angel Misevski <[email protected]>
@amisevsk amisevsk requested a review from ibuziuk as a code owner March 16, 2022 20:12
@openshift-ci
Copy link

openshift-ci bot commented Mar 17, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amisevsk, ibuziuk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@amisevsk amisevsk merged commit 21fe7f2 into devfile:main Mar 17, 2022
@amisevsk amisevsk deleted the unrecoverable-events-threshold branch March 17, 2022 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants