Skip to content
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

[18.0.0-proposed] [ovsdb-server] Move db initialization to an init container #343

Conversation

openshift-cherrypick-robot
Copy link

@openshift-cherrypick-robot openshift-cherrypick-robot commented Aug 21, 2024

This is an automated cherry-pick of #341
Resolves: OSPRH-637

/assign karelyatin

There is a potential race condition where ovs-vswitchd containers
can run ovs db commands and fails while ovsdb-server stops and restarts
after db initialization. This makes ovs-vswitchd container to fail
and restart and it eventually recovers and it's better to avoid this.

This patch moves the db initialization part to init container to
avoid this race.

Resolves: OSPRH-637
@karelyatin
Copy link
Contributor

/test ovn-operator-build-deploy-kuttl

@booxter
Copy link
Contributor

booxter commented Aug 26, 2024

/lgtm

@averdagu
Copy link
Contributor

/lgtm jira is set to 18.0.1

Copy link
Contributor

openshift-ci bot commented Aug 27, 2024

[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

@openshift-merge-bot openshift-merge-bot bot merged commit a7655ff into openstack-k8s-operators:18.0.0-proposed Aug 27, 2024
7 checks passed
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.

4 participants