-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Terminating workflow with running exit-handler leaves stepGroup of the exit-handler in Running phase #13052
Open
3 of 4 tasks
Labels
Comments
I could reproduce it I can have a look. |
miltalex
added a commit
to miltalex/argo-workflows
that referenced
this issue
May 30, 2024
…ixes argoproj#13052 Signed-off-by: Miltiadis Alexis <[email protected]>
miltalex
added a commit
to miltalex/argo-workflows
that referenced
this issue
May 30, 2024
…ixes argoproj#13052 Signed-off-by: Miltiadis Alexis <[email protected]>
miltalex
added a commit
to miltalex/argo-workflows
that referenced
this issue
May 31, 2024
…ixes argoproj#13052 Signed-off-by: Miltiadis Alexis <[email protected]>
tczhao
changed the title
Terminating workflow with running exit-handler leaves some nodes to Running phase
Terminating workflow with running exit-handler leaves stepGroup of the exit-handler in Running phase
May 31, 2024
Verify in the example logs "test-workflow-kqxvv-113404891": {
"boundaryID": "test-workflow-kqxvv-3314254127",
"children": [
"test-workflow-kqxvv-1105926477"
],
"displayName": "[0]",
"finishedAt": null,
"id": "test-workflow-kqxvv-113404891",
"name": "test-workflow-kqxvv.onExit[0]",
"nodeFlag": {},
"phase": "Running",
"progress": "0/1",
"startedAt": "2024-05-14T13:04:43Z",
"templateScope": "local/test-workflow-kqxvv",
"type": "StepGroup"
}, StepGroup |
@tczhao I was able to reproduce it and opened an MR with a possible solution |
miltalex
added a commit
to miltalex/argo-workflows
that referenced
this issue
May 31, 2024
…ixes argoproj#13052 Signed-off-by: Miltiadis Alexis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pre-requisites
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.What happened/what did you expect to happen?
Created a workflow with exit-handler. When exit-handler was running I terminated the workflow with
argo terminate -n <namespace> <workflow>
command. My expectation was that after termination all exit handler nodes would be in "Failed" phase. However the "StepGroup" and "Steps" type nodes were still in "Running" phase.Version
v3.5.6
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: