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

[teraslice] fix multi-job deletion bug in force job stop #3751

Merged
merged 12 commits into from
Sep 19, 2024

Conversation

busma13
Copy link
Contributor

@busma13 busma13 commented Sep 12, 2024

This PR makes the following changes:

  • Ensure that K8s._deleteObjByExId() contains an object in objList.items[] before calling K8s.deleted().
  • Throw if K8s.delete() receives a name argument that is undefined or an empty string.
  • Refactor K8s._deleteObjByExId() to delete multiple objects and not handle force logic
  • Refactor k8s.deleteExecution() to handle forcelogic by callingK8s._deleteObjByExId()` on multiple resources.
  • bump teraslice from version 2.3.1 to 2.3.2
  • pin the kind image used by k8s to: kindest/node:v1.28.12@sha256:fa0e48b1e83bb8688a5724aa7eebffbd6337abd7909ad089a2700bf08c30c6ea. Note that the version in the image tag refers to the kubernetes server version that will be used. We should keep this in sync with prod.

ref: #3750

@busma13 busma13 marked this pull request as ready for review September 14, 2024 00:00
@godber
Copy link
Member

godber commented Sep 18, 2024

This will require rebasing and discussion.

@busma13 busma13 requested review from sotojn and godber September 18, 2024 14:35
@busma13 busma13 changed the title Force stop bug fix [Teraslice] Force stop bug fix Sep 18, 2024
@busma13 busma13 changed the title [Teraslice] Force stop bug fix [teraslice] Force stop bug fix Sep 18, 2024
@godber godber changed the title [teraslice] Force stop bug fix [teraslice] fix bug in force job stop Sep 18, 2024
@godber godber changed the title [teraslice] fix bug in force job stop [teraslice] fix multi-job deletion bug in force job stop Sep 18, 2024
@godber godber merged commit 2f1f453 into master Sep 19, 2024
67 checks passed
@godber godber deleted the force-stop-bug-fix branch September 19, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants