[backend] persistence agent don't update pipeline run status after workflow deleted
See original GitHub issueEnvironment
- How did you deploy Kubeflow Pipelines (KFP)?
- KFP version: 1.5.0
- KFP SDK version:
Steps to reproduce
- launch a pipeline run, and observe the status of nodes in the run as expected from UI.
- use command
kubectl delete workflow xxx
to delete the workflow corresponding to the pipeline run, then the unfinished nodes in the pipeline run stay running, and never been updated. - the
delete workflow
may happen when we delete the scheduledworkflow, and then the workflow without the parent scheduledworkflow got GC
Expected result
The running nodes in the pipeline run been marked as terminated
Materials and Reference
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
cc @Jeffwan
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Persistence Agent keep trying to delete workflows that do not ...
I suspect the workqueue is filled with workflows that have already been deleted, so it cannot move forward with others. The Fix. KFP...
Read more >Troubleshooting CI/CD - GitLab Docs
GitLab provides several tools to help make troubleshooting your pipelines easier. This guide also lists common issues and possible solutions.
Read more >Retention policies for builds, releases, and test - Azure Pipelines
Go to the gear icon Settings tab of your project's settings. · Select Settings or Release retention under Pipelines or Retention under Test....
Read more >Updating a Deployment - Google Cloud
Prepare your update · Remove the dependencies for the resource you want to replace, either by removing the dependsOn clause, or by removing...
Read more >Jenkins User Handbook
Creating Pipelines for GitHub Repositories. ... Pipeline Run Status . ... If you do not specify this option, then the running Docker log...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
An alternative could be persistent agent watches workflow changes and if there’s a delete workflow event, check running state of associated run and update DB. I prefer to choose the way which can reduce apiserver pressure. 😄
Maybe just list runs which have not been updated/reported for a certain time, it should be a few runs.