Question: How do we terminate a hung pipeline
Answer:
a) Try rehydrating the cache: https://spinnaker.io/docs/guides/runbooks/orca-zombie-executions/#rehydrate-the-queue
Issue this command inside the orca pod.
curl -XPOST https://localhost:8083/admin/queue/hydrate?executionId=01JGXSE4MY5KMJ54VE256ED65R&dryRun=false
If that does not work, force terminate:
b) Issue this command inside the orca pod. The executionId can be found from the URL in the browser once you click on the offending pipeline execution.
curl -XPUT http://localhost:8083/admin/forceCancelExecution?executionId=01JGXSJ9A0J153V5R2S4H21Y61\&executionType=PIPELINE