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 bug when delete waypoint, dont update bpf kmesh_service map #422

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

bfforever
Copy link
Member

What type of PR is this?
/kind bug

What this PR does / why we need it:
In istio 1.22.1, when delete a waypoint, which proxy for a certain k8s service, the workload_processor don't update kmesh_service bpf map, end up to still route to the old waypoint.

Which issue(s) this PR fixes:
Fixes #406

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@kmesh-bot kmesh-bot added the kind/bug Something isn't working label Jun 6, 2024
bfforever and others added 2 commits June 6, 2024 22:37
* Fix bpf map not updated when service waypoint address not updated

Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>

* Fix service update incompletely

Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>

---------

Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
Co-authored-by: Zhonghu Xu <xuzhonghu@huawei.com>
Signed-off-by: kangmingfa <1640528278@qq.com>
Signed-off-by: kangmingfa <1640528278@qq.com>
Copy link
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

/lgtm

It would be better if we can add some tests

@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu

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

@kmesh-bot kmesh-bot merged commit e9a64d1 into kmesh-net:main Jun 7, 2024
3 checks passed
@bfforever bfforever deleted the kemsh-bugfix branch June 7, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

After delete waypoint the traffic is still routed to waypoint
3 participants