-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(backend) fix run retry for argo #11585
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @ntny. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@ntny: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
fc5a33c
to
07c24c2
Compare
Signed-off-by: arpechenin <[email protected]>
/retest |
@ntny: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Related to kubeflow/manifests#2952 |
/retest |
@kubeflow/release-team tracked as Kubeflow regression and for Kubeflow 1.10 in kubeflow/manifests#2952 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Fix Argo Workflow v3.4.16 Retry
Argo Workflow upgrade to v3.4.16 broke the Run Retry
Long story short: there is deviation between retry specs generated via Argo v3.4.16 and kfp generated retry spec.
Argo still use node id instead of node name here. As a result incompatibility of specs
I attached according files:
Details are below:
From upgrade descriotion: Argo 3.4.16 upgrade introduces a breaking change with inconsistent node.ID vs
node.Name
However as you can see by link v3.4.16 of Argo still operates nodes by ID during retry.
Also i added the missing logic(fix node.Children/node.OutboundNodes) from the Argo Workflow retry
Using the node name instead of the ID caused Argo to fail to identify the task that needed to be retried. As a result, it would restart the entire workflow from the beginning, attempt to recreate the pod for the -system-dag-driver-, fail at this step (since such a pod already existed), It makes the workflow stuck in 'Running'.
according logs from the argo workflow-controller
level=info msg="Failed pod debug-component-pipeline-d6wjn.root-driver (debug-component-pipeline-d6wjn-system-dag-driver-2907082658) creation: already exists" namespace=arpechenin workflow=debug-component-pipeline-d6wjn
This MR is based on the assumption that when using KFP 2.3.0 & Argo 3.4.16, retries do not work on any installation, not just for some users. It has fixed Run retry on my installation.
close #11329