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

Better error message when output parameters are too large #765

Closed
jessesuen opened this issue Feb 23, 2018 · 4 comments
Closed

Better error message when output parameters are too large #765

jessesuen opened this issue Feb 23, 2018 · 4 comments

Comments

@jessesuen
Copy link
Member

Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT

What happened:

There is an obtuse error message when an an output parameter is too large:

time="2018-02-23T21:13:51Z" level=info msg="Successfully saved output parameter: subdomains"
time="2018-02-23T21:13:51Z" level=info msg="Annotating pod with output"
time="2018-02-23T21:13:55Z" level=info msg="Alloc=5368 TotalAlloc=36926 Sys=15646 NumGC=14 Goroutines=6"
time="2018-02-23T21:13:55Z" level=fatal msg="Pod \"argosubdomainworker-g4mvc-645094894\" is invalid: metadata.annotations: Too long: must have at most 262144 characters"

What you expected to happen:

A nicer error message

How to reproduce it (as minimally and precisely as possible):

Use a very large file as an output parameter

Anything else we need to know?:

Environment:

  • Argo version: v2.1.0-alpha1
@crenshaw-dev
Copy link
Contributor

For folks landing here from Google, I wrote up a workaround for the size limit: https://stackoverflow.com/questions/62537126/how-can-i-work-around-argo-output-parameter-size-limit/62537127

@simster7
Copy link
Member

@mac9416 this is great! Would you like to submit your example in a PR as well?

@crenshaw-dev
Copy link
Contributor

Done! #3276

icecoffee531 pushed a commit to icecoffee531/argo-workflows that referenced this issue Jan 5, 2022
* Create main.yml

* Update and rename main.yml to deploy.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants