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 deletion of model in cases of ModeFailed and ScheduleFailed with server disconnects #4882

Merged
merged 4 commits into from
Jun 1, 2023
Merged

Fix deletion of model in cases of ModeFailed and ScheduleFailed with server disconnects #4882

merged 4 commits into from
Jun 1, 2023

Conversation

sakoush
Copy link
Member

@sakoush sakoush commented Jun 1, 2023

What this PR does / why we need it:
This PR fixes issues related to the user wanting to delete a model (using kubectl) in the following cases:

  • Delete ModelFailed models in the cases where the server replica disconnected. In this case we are going to force a reschedule to reconcile the model state.
  • Delete SechduleFailed models that transitioned from some other state (e.g. the model was loaded on a server then the server got disconnected and we could not now schedule the model). In this case the issue was that the model state had a server associated with it that caused issues. This PR clears this state.

These issues were all related to the finalizer.

Which issue(s) this PR fixes:

Special notes for your reviewer:

@sakoush sakoush requested a review from ukclivecox June 1, 2023 13:44
@sakoush sakoush added the v2 label Jun 1, 2023
@sakoush sakoush changed the title retry failed models on server disconnects Fix deletion of model in cases of ModeFailed and ScheduleFailed with server disconnects Jun 1, 2023
@sakoush sakoush merged commit 0e93243 into SeldonIO:v2 Jun 1, 2023
3 of 4 checks passed
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.

None yet

2 participants