-
Notifications
You must be signed in to change notification settings - Fork 366
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
Cached stale Endpoints cannot be cleaned when Endpoints are filtered out by EndpointSlice conditions or TopologyAwareHints #4692
Labels
area/proxy
Issues or PRs related to proxy functions in Antrea
kind/bug
Categorizes issue or PR as related to a bug.
Comments
hongliangl
added
the
area/proxy
Issues or PRs related to proxy functions in Antrea
label
Mar 8, 2023
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 8, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 9, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 9, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 14, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 14, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 14, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 14, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 15, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 15, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 15, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
hongliangl
added a commit
to hongliangl/antrea
that referenced
this issue
Mar 15, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
tnqn
pushed a commit
that referenced
this issue
Mar 16, 2023
The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like #4681, #4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
jainpulkit22
pushed a commit
to urharshitha/antrea
that referenced
this issue
Apr 28, 2023
…io#4691) The main purpose of this PR is to avoid potential inconsistencies between the cached Endpoints and those installed in OVS, like antrea-io#4681, antrea-io#4692. This PR also updates: - Method UninstallEndpointFlows of ofClient, support deleting flows of multiple Endpoints. - Remove possible groups when a Service is deleted. - Log something when a group for a Service is not created. - Optimize and unify log. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/proxy
Issues or PRs related to proxy functions in Antrea
kind/bug
Categorizes issue or PR as related to a bug.
Describe the bug
Enabled EndpointSlice feature gate in Antrea, failed on Kubernetes sig-network e2e test
should create endpoints for unready pods
Root Cause
Assuming that there a Service whose PublishNotReadyAddresses is true, and there is a ready Endpoint of the Service.
antrea/pkg/agent/proxy/proxier.go
Line 720 in 3b224c4
antrea/pkg/agent/proxy/proxier.go
Line 630 in 3b224c4
antrea/pkg/agent/proxy/proxier.go
Line 418 in 3b224c4
clusterEndpoints
,localEndpoints
andallReachableEndpoints
are empty.antrea/pkg/agent/proxy/proxier.go
Line 503 in 3b224c4
allReachableEndpoints
is empty.p.endpointsMap
andp. endpointsInstalledMap
are the same, as a result, when callingantrea/pkg/agent/proxy/proxier.go
Line 246 in 3b224c4
p.endpointsMap
.The text was updated successfully, but these errors were encountered: