argoproj / argo-workflows

Workflow Engine for Kubernetes
https://argo-workflows.readthedocs.io/
Apache License 2.0
15.12k stars 3.21k forks source link

v3.5.11 : Workflow stuck in running state even after successful completion of workflow #13949

Open shivani-cell opened 18 hours ago

shivani-cell commented 18 hours ago

Pre-requisites

What happened? What did you expect to happen?

It should mark workflow as succeeded state, but it is in running condition from past 6 days.

Version(s)

v3.5.11

Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.

We cannot produce the similar issue.

Logs from the workflow controller

kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

we redeployed workflow controller by attaching  workflowtaskresult to service account role.But it also didn't work successfully and able to mark workflow as completed

Logs from in your workflow's wait container

kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

It is showing no resources found in <namespace> namespace
 but using kubectl get wf <workflowname> -n <Namespace>
It is showing running state
blkperl commented 14 hours ago

hey @shivani-cell did you check to see if your issue is related to https://github.com/argoproj/argo-workflows/issues/13937?

Unfortunately, without a workflow that reproduces the issue no one can investigate or debug this. Please update the description with a workflow that reproduces the issue.