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: do not return early in the node informer when there is no change… #108149

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

nilo19
Copy link
Member

@nilo19 nilo19 commented Feb 16, 2022

… of the topology label.

What type of PR is this?

/kind bug

What this PR does / why we need it:

The node cache will not be updated if there is no change of the topology label, which is not expected.

Which issue(s) this PR fixes:

Fixes #108112

Special notes for your reviewer:

Does this PR introduce a user-facing change?

fix a 1.23 regression: do not return early in the node informer when there is no change of the topology label.

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. area/cloudprovider labels Feb 16, 2022
@k8s-ci-robot k8s-ci-robot added sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Feb 16, 2022
@nilo19
Copy link
Member Author

nilo19 commented Feb 16, 2022

/assign @feiskyer

@nilo19
Copy link
Member Author

nilo19 commented Feb 16, 2022

/assign @andyzhangx

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 16, 2022
@nilo19
Copy link
Member Author

nilo19 commented Feb 16, 2022

/sig cloud-provider
/triage accepted
/priority critical-urgent

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Feb 16, 2022
Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

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

/lgtm

Thanks for the fix. We need cherrypick this to 1.22/1.23 as well.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 16, 2022
@nilo19
Copy link
Member Author

nilo19 commented Feb 16, 2022

/assign @andrewsykim

Copy link
Member

@andrewsykim andrewsykim left a comment

Choose a reason for hiding this comment

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

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andrewsykim, feiskyer, nilo19

The full list of commands accepted by this bot can be found here.

The pull request process is described 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 16, 2022
@ricky-rav
Copy link
Contributor

That's great, @feiskyer, thanks a lot!

Could you also backport it all the way to 1.20 (except for 1.21...I see that, for some reason, there is no check against topology labels in 1.21)? Thanks!

@nilo19
Copy link
Member Author

nilo19 commented Feb 17, 2022

/cherrypick release-1.23

@feiskyer
Copy link
Member

@ricky-rav 1.20 is not active now per https://kubernetes.io/releases/patch-releases/, but we should cherry-pick to other active branches.

k8s-ci-robot added a commit that referenced this pull request Mar 3, 2022
…49-upstream-release-1.23

Automated cherry pick of #108149: fix: do not return early in the node informer when there is
k8s-ci-robot added a commit that referenced this pull request Mar 3, 2022
…49-upstream-release-1.22

Automated cherry pick of #108149: fix: do not return early in the node informer when there is
@liggitt liggitt added the kind/regression Categorizes issue or PR as related to a regression from a prior release. label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/cloudprovider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. kind/regression Categorizes issue or PR as related to a regression from a prior release. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Addition service load balancer disruption on azure while upgrading from 1.23 to 1.23
7 participants