Skip to content
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

Argument list too long if step argument has a very long argument #3281

Open
dahuriner opened this issue Sep 12, 2024 · 2 comments
Open

Argument list too long if step argument has a very long argument #3281

dahuriner opened this issue Sep 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@dahuriner
Copy link

Describe the bug
We have some big workflows and we hit the following error:

exec /bin/argo-events: argument list too long

After digging a bit, we realized it's because our workflow is big. After deleting some tasks from the workflow, it started to work fine. I checked some issues on argo-workflows repo and I noticed that this issue(argoproj/argo-workflows#12190) has been reported before and then eventually fixed on argo-workflows. I was thinking we should fix it in argo-events too.

To Reproduce
Steps to reproduce the behavior:

  1. Create a big workflow. You can duplicate more than 50 tasks, so you can hit the limit.
  2. Publish it as a sensor.
  3. Check argo-events log for that sensor.
  4. You should see this error message: exec /bin/argo-events: argument list too long

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Kubernetes: v1.30.2+k3s1
  • Argo: v3.4.11
  • Argo Events: v1.7.6

Additional context
Add any other context about the problem here.


Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@dahuriner dahuriner added the bug Something isn't working label Sep 12, 2024
@whynowy
Copy link
Member

whynowy commented Sep 28, 2024

Is this a argoWorkflow trigger? we can bump up to the fixed version in next release.

@b-erdem
Copy link

b-erdem commented Oct 8, 2024

@whynowy Yes, we've argo workflows that gets triggered with events coming from argo-events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants