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

[CNIServer] Remove stale OVS interfaces in reconcile if the original Pod interface is disconnected #6919

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

wenyingd
Copy link
Contributor

No description provided.

pkg/agent/cniserver/pod_configuration.go Outdated Show resolved Hide resolved
pkg/agent/cniserver/pod_configuration.go Show resolved Hide resolved
}

// This should only happen on Windows because it is already satisfy the condition "isStaleInterface" on Linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the first sentence:

This should only happen on Windows Nodes because if this condition (OFPort is -1) is satisfied on Linux, the call to isStaleInterface above will return true, the interface will be removed, and this code will not be executed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

pkg/agent/cniserver/pod_configuration_linux.go Outdated Show resolved Hide resolved
@wenyingd wenyingd force-pushed the reconcile_enhancement branch 3 times, most recently from 82a29d6 to 5fa81a7 Compare January 14, 2025 03:33
@wenyingd
Copy link
Contributor Author

/test-all
/test-windows-all

@wenyingd wenyingd requested a review from antoninbas January 14, 2025 07:06
antoninbas
antoninbas previously approved these changes Jan 14, 2025
Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, @jianjuns do you want to take a look?

@wenyingd
Copy link
Contributor Author

@antoninbas I have addressed your comments, could you help take another look if possible?

jianjuns
jianjuns previously approved these changes Jan 15, 2025
pkg/agent/cniserver/pod_configuration.go Outdated Show resolved Hide resolved
pkg/agent/cniserver/pod_configuration.go Outdated Show resolved Hide resolved
…Pod interface is disconnected

Signed-off-by: Wenying Dong <[email protected]>
@wenyingd wenyingd dismissed stale reviews from jianjuns and antoninbas via 5f15b8b January 16, 2025 01:59
@wenyingd wenyingd force-pushed the reconcile_enhancement branch from 5fa81a7 to 5f15b8b Compare January 16, 2025 01:59
@wenyingd
Copy link
Contributor Author

/test-all
/test-windows-all

@antoninbas
Copy link
Contributor

/test-windows-e2e

@wenyingd
Copy link
Contributor Author

The failure (http://10.164.243.223/job/antrea-windows-e2e-for-pull-request/70/console) in windows-e2e is tracked by issue #6891

--- FAIL: TestFQDNCacheMinTTL (251.27s)
    --- FAIL: TestFQDNCacheMinTTL/minTTLUnset (145.74s)
    --- FAIL: TestFQDNCacheMinTTL/minTTL20s (105.53s)

@antoninbas antoninbas merged commit 77eb2e4 into antrea-io:main Jan 17, 2025
61 of 62 checks passed
@antoninbas antoninbas added the action/release-note Indicates a PR that should be included in release notes. label Jan 17, 2025
wenyingd added a commit to wenyingd/antrea that referenced this pull request Jan 20, 2025
antoninbas pushed a commit that referenced this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/release-note Indicates a PR that should be included in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants