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

Fix NEG endpoint attachment for L4 NEGs. #1979

Closed
wants to merge 1 commit into from

Conversation

mmamczur
Copy link
Contributor

The L4 EndpointCalculators do not compute pod endpoints data. It always failed checks in CheckEndpointInfo but the failure was ignored. Now the code returns upon failure after changes from ff4751f. This change skips the checks for calculators that don't return the pods data as these checks compare it with endpoints from slices.

The L4 EndpointCalculators do not compute pod endpoints data. It always failed checks in CheckEndpointInfo but the failure was ignored. Now the code returns upon failure after changes from ff4751f. This change skips the checks for calculators that don't return the pods data as these checks compare it with endpoints from slices.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 28, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @mmamczur. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 28, 2023
@mmamczur
Copy link
Contributor Author

/assign sawsa307

@k8s-ci-robot
Copy link
Contributor

@mmamczur: GitHub didn't allow me to assign the following users: sawsa307.

Note that only kubernetes members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign sawsa307

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/test-infra repository.

@aojea
Copy link
Member

aojea commented Feb 28, 2023

/ok-to-test
/assign @swetharepakula
@sawsa307

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Feb 28, 2023
@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 28, 2023
@sawsa307
Copy link
Contributor

sawsa307 commented Feb 28, 2023

lgtm. Thanks!

@k8s-ci-robot
Copy link
Contributor

@sawsa307: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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/test-infra repository.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mmamczur, sawsa307
Once this PR has been reviewed and has the lgtm label, please ask for approval from swetharepakula. 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

@swetharepakula
Copy link
Member

I do think this fixes the issue for L4 but it is adding another layer of complexity to an already complicated piece of code. I would prefer to revert the original metrics PR instead.

cc/ @sawsa307

@aojea
Copy link
Member

aojea commented Feb 28, 2023

/hold

the original PR was reverted in #1980

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 28, 2023
@sawsa307
Copy link
Contributor

/hold

the original PR was reverted in #1980

#1982 is the actual revert. #1980 is a PR dependent on #1982 so it is reverted as well.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 28, 2023
@k8s-ci-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/test-infra repository.

@mmamczur mmamczur closed this Mar 1, 2023
@mmamczur mmamczur deleted the fix-ilb-neg-attachment branch April 10, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants