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

underlay: fix NetworkManager operation #3147

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Conversation

zhangzujian
Copy link
Member

@zhangzujian zhangzujian commented Aug 17, 2023

What type of this PR

  • Bug fixes

Which issue(s) this PR fixes:

Fixes #(issue-number)

WHAT

🤖 Generated by Copilot at 32250b4

This pull request updates the golang.org/x/mod module, improves the NetworkManager integration and device management in the daemon package, and fixes a connectivity issue when switching devices in ovs_linux.go.

🤖 Generated by Copilot at 32250b4

NetworkManager
Semver, vlan, DNS
Winter of changes

HOW

🤖 Generated by Copilot at 32250b4

  • Update golang.org/x/mod dependency to v0.12.0 and remove indirect dependency on v0.10.0 (link, link)
  • Import golang.org/x/mod/semver package in pkg/daemon/nm_linux.go to compare NetworkManager versions (link)
  • Refactor SetManaged function in pkg/daemon/nm_linux.go to improve logic of checking vlan and DNS settings, and add special case for NetworkManager v1.18.x bug (link)
  • Set preferred and valid lifetimes of addresses to zero in pkg/daemon/ovs_linux.go to prevent expiration when switching devices (link)

@zhangzujian zhangzujian added bug Something isn't working need backport labels Aug 17, 2023
@zhangzujian zhangzujian marked this pull request as ready for review August 17, 2023 03:07
@zhangzujian zhangzujian merged commit a5c8510 into kubeovn:master Aug 23, 2023
58 of 59 checks passed
@zhangzujian zhangzujian deleted the fix-nm branch August 23, 2023 03:50
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Aug 23, 2023
* underlay: fix NetworkManager operation
* underlay: clear address lifetime

---------

Signed-off-by: 张祖建 <[email protected]>
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Aug 23, 2023
* underlay: fix NetworkManager operation
* underlay: clear address lifetime

---------

Signed-off-by: 张祖建 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants