How to manually release a lock due to synchronization #6332
-
Hi, I have set synchronization to 1 for a cronworkflow. I deleted a running workflow of that cron but it didnt release a lock. Now the workflow of that cron is in pending state
If I check controller logs, this is what I see
yaml file apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
name: wf-joe-v-cost
namespace: argo
spec:
schedule: '{{ .Values.schedule }}'
timezone: "America/Chicago"
workflowSpec:
entrypoint: wf-joe-v-cost-steps
synchronization:
semaphore:
configMapKeyRef:
name: wf-joe-v-cost-config-map
key: workflow
serviceAccountName: argo-s3-service-account
templates:
# ... How to manually release a lock without restarting the controller? |
Beta Was this translation helpful? Give feedback.
Answered by
sarabala1979
Jul 13, 2021
Replies: 1 comment 2 replies
-
Workflow deletion/stop/terminate should release the lock. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
agilgur5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Workflow deletion/stop/terminate should release the lock.