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

MCS leaves orphaned work for endpoitslice sync when ns is deleted #5275

Open
grosser opened this issue Jul 29, 2024 · 5 comments
Open

MCS leaves orphaned work for endpoitslice sync when ns is deleted #5275

grosser opened this issue Jul 29, 2024 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@grosser
Copy link
Contributor

grosser commented Jul 29, 2024

What happened:

I have these work objects leftover after I deleted a namespace that had a MCS
(2 of them since it was going to 2 clusters)

  labels:
    multiclusterservice.karmada.io/name: workload-migration-integration
    multiclusterservice.karmada.io/namespace: workload-migration-integration-mgrosser

What you expected to happen:
work should be deleted

How to reproduce it (as minimally and precisely as possible):

  • create ns
  • add MCS to ns
  • delete ns
  • see that work is left over

Anything else we need to know?:

Environment:

  • Karmada version: 1.10
@grosser grosser added the kind/bug Categorizes issue or PR as related to a bug. label Jul 29, 2024
@grosser
Copy link
Contributor Author

grosser commented Jul 29, 2024

might have found a culprit, will reopen if that's not it ...

@grosser grosser closed this as completed Jul 29, 2024
@grosser grosser reopened this Jul 30, 2024
@grosser
Copy link
Contributor Author

grosser commented Jul 30, 2024

nope still unclear why this happens

@XiShanYongYe-Chang
Copy link
Member

Hi @grosser, thanks for your feedback.

Do you mean to delete the namespace where the MCS object exists? The MCS object will also be deleted at this time?

@grosser
Copy link
Contributor Author

grosser commented Jul 31, 2024

I deleted the ns which triggered deletion of the MCS object, the issue is that the deletion left behind the work for the endpointslices

@XiShanYongYe-Chang
Copy link
Member

Let me try it sometime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
Status: No status
Development

No branches or pull requests

2 participants