chartmuseum icon indicating copy to clipboard operation
chartmuseum copied to clipboard

/api/charts?force": EOF response on parallel pushes

Open s7an-it opened this issue 3 years ago • 2 comments

  • helm cm-push --force --timeout 300 service-example-abc-0.1.0-develop-160-760e568.tgz chartmuseum [Pipeline] sh + cat /tmp/shellOutput [Pipeline] echo Debug: helmOutput -> Pushing service-example-abc-0.1.0-160-760e568.tgz to chartmuseum... Error: Post "http://chartmuseum.chartmuseum:8080/api/charts?force": EOF

So running around 100+ pushes in 5 min distance, if I remove force and timeout 300 flags I get often 30 sec context exceeded error which I retry, the second time I get chart already exists which results in chart stored in gcp but never reflected in the index.yaml after for some reason hence I go with the force flag, I tried going above 30 sec to evade this madness and I hit this EOF error which probably the continuation of the context error.

Chart version 3.4.0. Caching enabled and storage is GCP bucket with 15k charts.

s7an-it avatar Dec 28 '21 11:12 s7an-it

This might be related to https://github.com/helm/chartmuseum/issues/546. 🤔

cbuto avatar Mar 05 '22 12:03 cbuto

@s7an-it can you share more info about your ChartMuseum configuration? Thanks!

cbuto avatar Apr 09 '22 13:04 cbuto