pipelines icon indicating copy to clipboard operation
pipelines copied to clipboard

feat!: Upgrade argo to v3.4.7

Open chensun opened this issue 1 year ago • 11 comments

Description of your changes: Fixes the following CVEs:

  • CVE-2023-27536
  • CVE-2022-42915
  • CVE-2022-23521
  • CVE-2022-41903
  • CVE-2022-32221
  • CVE-2022-37434
  • CVE-2023-23914

Breaking changes:

  • Argo 3.4 removed support for choosing container runtime executors, emissary is the only option left: https://argoproj.github.io/argo-workflows/workflow-executors/

Checklist:

chensun avatar May 03 '23 18:05 chensun

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from chensun. For more information see the Kubernetes Code Review Process.

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 /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

google-oss-prow[bot] avatar May 03 '23 18:05 google-oss-prow[bot]

/test kubeflow-pipeline-mkp-test

chensun avatar May 03 '23 22:05 chensun

/test kubeflow-pipeline-e2e-test

chensun avatar May 03 '23 23:05 chensun

/test kubeflow-pipeline-mkp-test

chensun avatar May 03 '23 23:05 chensun

/test kubeflow-pipeline-upgrade-test

chensun avatar May 03 '23 23:05 chensun

/retest

chensun avatar May 04 '23 04:05 chensun

/test kubeflow-pipeline-e2e-test

chensun avatar May 04 '23 20:05 chensun

@chensun: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
kubeflow-pipelines-samples-v2 d75a28c8786a28af786ae153e80d068243774d7e link false /test kubeflow-pipelines-samples-v2
kubeflow-pipeline-e2e-test d75a28c8786a28af786ae153e80d068243774d7e link true /test kubeflow-pipeline-e2e-test

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. I understand the commands that are listed here.

google-oss-prow[bot] avatar May 04 '23 20:05 google-oss-prow[bot]

Test failure is due to failed to retrieve the log. And this is due to a bug/breaking change from Argo side: https://github.com/argoproj/argo-workflows/issues/10107#issuecomment-1536113642

chensun avatar May 05 '23 11:05 chensun

Test failure is due to failed to retrieve the log

See also #8935 for an issue on logs in Argo v3.4.

I mentioned there that setting POD_NAMES=v1 will also revert back to the previous naming.

agilgur5 avatar Oct 02 '23 01:10 agilgur5

@chensun the current argo is woefully out of date and has not been patched since Nov 2022, and various CVE's have accumulated since then.

What do you think of using the work around as suggested by Terry here, and manually generating the pod name. Can this be something we could do to unblock this upgrade (is there a lot of overhead for this?). Or setting the POD_NAMES=v1 on the workflow controller. I personally think manually generating the name here is better, so we can remain a bit more agnostic to how Argo is being deployed by users.

There seems like there's a PR in transit right now that could resolve this issue for a less hacky fix in a later argo version that we can keep an eye on and create a tracker for.

HumairAK avatar Jan 31 '24 17:01 HumairAK

I think we don't need this PR opened as we have #10568 in progress. @chensun wdyt?

rimolive avatar Apr 11 '24 20:04 rimolive

/close

Superseded by #10568

rimolive avatar Apr 16 '24 17:04 rimolive

@rimolive: Closed this PR.

In response to this:

/close

Superseded by #10568

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.

google-oss-prow[bot] avatar Apr 16 '24 17:04 google-oss-prow[bot]