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

cni: do not exit if the sysctl variable does not exist or can not be set #4828

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

zhangzujian
Copy link
Member

Pull Request

What type of this PR

Examples of user facing changes:

  • Features
  • Bug fixes
  • Docs
  • Tests

Which issue(s) this PR fixes

Fixes #(issue-number)

@zhangzujian zhangzujian added need backport bug Something isn't working labels Dec 13, 2024
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12308156494

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 22.084%

Totals Coverage Status
Change from base Build 12308058851: 0.0%
Covered Lines: 10267
Relevant Lines: 46491

💛 - Coveralls

@zhangzujian zhangzujian marked this pull request as ready for review December 13, 2024 04:16
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 13, 2024
@dosubot dosubot bot added the go Pull requests that update Go code label Dec 13, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 13, 2024
@zhangzujian zhangzujian merged commit e2e6dd7 into kubeovn:master Dec 13, 2024
68 checks passed
@zhangzujian zhangzujian deleted the fix-ipv6 branch December 13, 2024 06:01
zhangzujian added a commit that referenced this pull request Dec 13, 2024
…set (#4828)

Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
@patriziobassi
Copy link

@zhangzujian shouldn't we add a log entry too when error occurs?

@zhangzujian
Copy link
Member Author

zhangzujian commented Dec 13, 2024

@zhangzujian shouldn't we add a log entry too when error occurs?

It's executed in the CNI plugin, not in kube-ovn-cni. Any logging will NOT passed to kubelet if the CNI command succeeds. We need a new mechanism to store the logging to a file on the host, or to pass it to kube-ovn-cni.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working go Pull requests that update Go code lgtm This PR has been approved by a maintainer need backport size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] sysctlEnableIPv6 in cmd/cni/cni.go broke kube-ovn on non-ipv6 servers
4 participants