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

SDN-4832: Fixing ovn-k config parameters. Part 1 #2405

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

npinaeva
Copy link
Member

@npinaeva npinaeva commented Jun 7, 2024

Trying to do little steps to make sure I don't break something.
We already have 2 config files for ovnkube-node: script-lib and config. script-lib is hashed in the ds and will cause a rollout on any pararmeter change, while config doesn't have the same effect. So the idea for the first step is to continue using this approach: put params that should not cause a restart to the config, and that should to the script-lib. But do that in a similar manner for ovnkube-node and control-plane. Also try to use every ENV variable either in config or in script-lib, but in not both.
FUPs:

  • enable-multi-networkpolicy is only used by the node now, figure out is we want to restart controlplane too
  • OVN_GATEWAY_MODE will cause node rollout, but not control-plane, double-check if that is correct
  • we still need to figure out our strategy for passing params to the control-plane and node separately

Move startup script with enabled flags from the spec.

Signed-off-by: Nadia Pinaeva <[email protected]>
This guarantees pods restart on feature gate enablement.

Signed-off-by: Nadia Pinaeva <[email protected]>
to control plane to ensure restart of both components.
Remove this flag from config.

Signed-off-by: Nadia Pinaeva <[email protected]>
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jun 7, 2024

@npinaeva: This pull request references SDN-4832 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.

In response to this:

Trying to do little steps to make sure I don't break something.
We already have 2 config files for ovnkube-node: script-lib and config. script-lib is hashed in the ds and will cause a rollout on any pararmeter change, while config doesn't have the same effect. So the idea for the first step is to continue using this approach: put params that should not cause a restart to the config, and that should to the script-lib. But do that in a similar manner for ovnkube-node and control-plane. Also try to use every ENV variable either in config or in script-lib, but in not both.
FUPs:

  • enable-multi-networkpolicy is only used by the node now, figure out is we want to restart controlplane too
  • OVN_GATEWAY_MODE will cause node rollout, but not control-plane, double-check if that is correct
  • we still need to figure out our strategy for passing params to the control-plane and node separately

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.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 7, 2024
@openshift-ci openshift-ci bot requested review from jcaamano and trozet June 7, 2024 10:41
Copy link
Contributor

openshift-ci bot commented Jun 7, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

The full list of commands accepted by this bot can be found 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-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 12, 2024
@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

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.

Copy link
Contributor

openshift-ci bot commented Aug 15, 2024

@npinaeva: The following tests 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-ovn-hypershift-conformance 2564b17 link true /test e2e-aws-ovn-hypershift-conformance
ci/prow/e2e-vsphere-ovn-dualstack 2564b17 link false /test e2e-vsphere-ovn-dualstack
ci/prow/4.16-upgrade-from-stable-4.15-e2e-gcp-ovn-upgrade 2564b17 link false /test 4.16-upgrade-from-stable-4.15-e2e-gcp-ovn-upgrade
ci/prow/unit 2564b17 link true /test unit
ci/prow/e2e-aws-hypershift-ovn-kubevirt 2564b17 link false /test e2e-aws-hypershift-ovn-kubevirt
ci/prow/e2e-aws-ovn-upgrade 2564b17 link true /test e2e-aws-ovn-upgrade
ci/prow/e2e-vsphere-ovn-dualstack-primaryv6 2564b17 link false /test e2e-vsphere-ovn-dualstack-primaryv6
ci/prow/security 2564b17 link false /test security
ci/prow/4.17-upgrade-from-stable-4.16-images 2564b17 link true /test 4.17-upgrade-from-stable-4.16-images
ci/prow/4.18-upgrade-from-stable-4.17-images 2564b17 link true /test 4.18-upgrade-from-stable-4.17-images

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
Labels
jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants