question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[backend] persistence agent don't update pipeline run status after workflow deleted

See original GitHub issue

Environment

  • How did you deploy Kubeflow Pipelines (KFP)?
  • KFP version: 1.5.0
  • KFP SDK version:

Steps to reproduce

  1. launch a pipeline run, and observe the status of nodes in the run as expected from UI.
  2. 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.
  3. 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:open
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Jeffwancommented, May 27, 2021

My rough idea to improve would be that, persistence agent should also periodically list all runs from KFP API that are still in running state, if any of the runs do not have a corresponding argo workflow. We should update the DB record to maybe a special state called “WORKFLOW_DELETED” etc.

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. 😄

1reaction
DaleSincommented, May 27, 2021

Maybe just list runs which have not been updated/reported for a certain time, it should be a few runs.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found