Skip to content

Comments

[release-4.18] OCPBUGS-76963: Extends the time for the extractor liveness probe#1234

Open
jmesnil wants to merge 1 commit intoopenshift:release-4.18from
jmesnil:OCPBUGS-76963_4.18
Open

[release-4.18] OCPBUGS-76963: Extends the time for the extractor liveness probe#1234
jmesnil wants to merge 1 commit intoopenshift:release-4.18from
jmesnil:OCPBUGS-76963_4.18

Conversation

@jmesnil
Copy link
Contributor

@jmesnil jmesnil commented Feb 17, 2026

Categories

  • Backporting

Before:

  • crictl info was timing out after 2 seconds
  • the command was executed every 10 seconds
  • 2 failures were making the container unhealthy
  • => 10 seconds of unavailability was making the pod crash

This was too constraining as there are occasions where crictl can be unavailable for a longer period of time (eg when the TLS CA bundle requires to restart some pods)

Now:

  • crictl info is timing out after 10 seconds
  • the command is executed every 30 seconds
  • 3 failures (default) are making the container unhealthy
  • => 1m30s of unaivailability is making the pod crash

Note: The liveness probe is used instead of the readiness probe as the container MUST crash if the crictl connection has been changed (eg following a TLS CA bundle update) and at this point, the pod must be recreated to be able to connect to cri-o socket with an updated TLS certificate.

This fixes https://issues.redhat.com/browse/OCPBUGS-76963
Upstream issue is https://issues.redhat.com/browse/OCPBUGS-66996

Before:
  * `crictl info` was timing out after 2 seconds
  * the command was executed every 10 seconds
  * 2 failures were making the container unhealthy
  * => 10 seconds of unavailability was making the pod crash

This was too constraining as there are occasions where `crictl` can be unavailable
for a longer period of time (eg when the TLS CA bundle requires to restart some pods)

Now:
  * `crictl info` is timing out after 10 seconds
  * the command is executed every 30 seconds
  * 3 failures (default) are making the container unhealthy
  * => 1m30s of unaivailability is making the pod crash

Note: The liveness probe is used instead of the readiness probe
as the container MUST crash if the crictl connection has been changed (eg
following a TLS CA bundle update) and at this point, the pod must be recreated
to be able to connect to cri-o socket with an updated TLS certificate.

This fixes https://issues.redhat.com/browse/OCPBUGS-76963
Upstream issue is https://issues.redhat.com/browse/OCPBUGS-66996

Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Feb 17, 2026
@openshift-ci-robot
Copy link
Contributor

@jmesnil: This pull request references Jira Issue OCPBUGS-76963, which is invalid:

  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
  • expected dependent Jira Issue OCPBUGS-76962 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is New instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Categories

  • Backporting

Before:

  • crictl info was timing out after 2 seconds
  • the command was executed every 10 seconds
  • 2 failures were making the container unhealthy
  • => 10 seconds of unavailability was making the pod crash

This was too constraining as there are occasions where crictl can be unavailable for a longer period of time (eg when the TLS CA bundle requires to restart some pods)

Now:

  • crictl info is timing out after 10 seconds
  • the command is executed every 30 seconds
  • 3 failures (default) are making the container unhealthy
  • => 1m30s of unaivailability is making the pod crash

Note: The liveness probe is used instead of the readiness probe as the container MUST crash if the crictl connection has been changed (eg following a TLS CA bundle update) and at this point, the pod must be recreated to be able to connect to cri-o socket with an updated TLS certificate.

This fixes https://issues.redhat.com/browse/OCPBUGS-76963
Upstream issue is https://issues.redhat.com/browse/OCPBUGS-66996

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai
Copy link

coderabbitai bot commented Feb 17, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • do-not-merge/work-in-progress

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot requested review from ncaak and tremes February 17, 2026 09:36
@openshift-ci
Copy link

openshift-ci bot commented Feb 17, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jmesnil
Once this PR has been reviewed and has the lgtm label, please assign ncaak for approval. For more information see the Code Review Process.

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

Details 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

@openshift-ci
Copy link

openshift-ci bot commented Feb 17, 2026

@jmesnil: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants