Skip to content

[18.0-fr3] Change liveness and readiness probes for the ovn-northd POD #463

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

Open
wants to merge 1 commit into
base: 18.0-fr3
Choose a base branch
from

Conversation

openshift-cherrypick-robot
Copy link

@openshift-cherrypick-robot openshift-cherrypick-robot commented Jul 24, 2025

This is an automated cherry-pick of #456

/assign slawqo
Related-Issue: #OSPRH-8042

Before this patch liveness and readiness probes for the ovn-northd POD
were just checking PID of the ovn-northd process.

This patch changes it to use custom script which checks status of the
connection of ovn-northd container to the NB and SB databases.

The reason why that was choosen instead of simply checking ovn-northd
status is the fact that status shows `standby` in case if ovn-northd is
actually not connected to the DB but also if there is more than one
ovn-northd PODs, only one can be active and all others are always in
`standby` which is completely normal thing.

Kuttl test modifications in this patch were done with help of
claude-4-sonnet LLM.

Closes: #OSPRH-8042
Signed-off-by: Slawek Kaplonski <[email protected]>
@karelyatin
Copy link
Contributor

/lgtm

Copy link
Contributor

openshift-ci bot commented Jul 25, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: karelyatin, openshift-cherrypick-robot

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

Copy link
Contributor

openshift-ci bot commented Jul 25, 2025

@openshift-cherrypick-robot: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/ovn-operator-build-deploy-kuttl 803d237 link unknown /test ovn-operator-build-deploy-kuttl

Full PR test history. Your PR dashboard.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants