Skip to content

NO-MERGE: Test fix ovnk flag release 4.21#7100

Open
copejon wants to merge 2 commits into
openshift:release-4.21from
copejon:test-fix-ovnk-flag-release-4.21
Open

NO-MERGE: Test fix ovnk flag release 4.21#7100
copejon wants to merge 2 commits into
openshift:release-4.21from
copejon:test-fix-ovnk-flag-release-4.21

Conversation

@copejon

@copejon copejon commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

It looks like #7093 may require cherry-picking #6829 and #7052. I'm testing a version of #7093 with the cherry-picks in this PR.

cc @pacevedom

pmtk and others added 2 commits July 24, 2026 12:51
The upstream OVN-K binary removed the --nb-address/--sb-address flags,
changing the connection model from TCP to unix sockets. With TCP, each
connection attempt was fresh and a missing SBDB caused a clean retry.
With unix sockets on a shared hostPath, the socket file persists between
container restarts. If ovn-controller connects to a leftover socket from
a previous SBDB instance, it caches a stale raft commit index. When the
new SBDB starts fresh, ovn-controller sees the lower index as "stale
data" and enters an infinite reconnect loop, blocking all pod networking.

Fix this with a two-part approach:
- SBDB/NBDB containers remove stale sockets before starting ovsdb-server,
  which then creates fresh ones.
- ovn-controller waits for the fresh SBDB socket to appear before
  connecting, ensuring it never grabs a leftover socket.

Applied to both single-node and multi-node DaemonSets.
@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: bd8a9613-412f-4639-973c-3ce58caab415

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

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.

@copejon copejon changed the title Test fix ovnk flag release 4.21 NO-MERGE: Test fix ovnk flag release 4.21 Jul 24, 2026
@openshift-ci
openshift-ci Bot requested review from agullon and kasturinarra July 24, 2026 17:55
@openshift-ci

openshift-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: copejon

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

The pull request process is described 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 openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 24, 2026
@copejon

copejon commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

/test ocp-full-conformance-serial-rhel-eus

@openshift-ci

openshift-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@copejon: 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/e2e-aws-tests-bootc 0d9f9a9 link true /test e2e-aws-tests-bootc

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

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants