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

l2announcer: Fix delete entry if no origins left #32279

Merged
merged 1 commit into from
May 6, 2024

Conversation

wutz
Copy link
Contributor

@wutz wutz commented May 1, 2024

When enabling L2Announcer and using the sharedingkeys feature, deleting a service that uses the same requestIP will unexpectedly delete the allocated LB IP in the Cilium agent.

Fixes: #32115

@wutz wutz requested a review from a team as a code owner May 1, 2024 02:43
@wutz wutz requested a review from youngnick May 1, 2024 02:43
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 1, 2024
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label May 1, 2024
@maintainer-s-little-helper
Copy link

Commit 7865454 does not match "(?m)^Signed-off-by:".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label May 1, 2024
@wutz wutz force-pushed the fix-l2announcher-delete-entry branch from 7865454 to d956407 Compare May 1, 2024 03:46
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label May 1, 2024
@maintainer-s-little-helper
Copy link

Commit 11ab162 does not match "(?m)^Signed-off-by:".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label May 1, 2024
When enabling L2Announcer and using the sharedingkeys feature,
deleting a service that uses the same requestIP will unexpectedly
delete the allocated LB IP in the Cilium agent.

Fixes: cilium#32115

Signed-off-by: Taizeng Wu <wutaizeng@gmail.com>
@wutz wutz force-pushed the fix-l2announcher-delete-entry branch from 11ab162 to 8a0362e Compare May 1, 2024 03:54
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label May 1, 2024
@aanm aanm requested a review from dylandreimerink May 2, 2024 09:26
@aanm
Copy link
Member

aanm commented May 2, 2024

/test

Copy link
Member

@dylandreimerink dylandreimerink left a comment

Choose a reason for hiding this comment

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

Nice catch! Thanks

@aanm aanm added the release-note/misc This PR makes changes that have no direct user impact. label May 3, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 3, 2024
@aanm aanm enabled auto-merge May 3, 2024 08:20
@aanm aanm added this pull request to the merge queue May 6, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 6, 2024
Merged via the queue into cilium:main with commit 69e167a May 6, 2024
64 checks passed
@wutz wutz deleted the fix-l2announcher-delete-entry branch May 16, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/community-contribution This was a contribution made by a community member. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lb ip is deleted accidentally in statedb when l2announce, requestip and shardingkeys are used together
4 participants