redhat-cop / must-gather-operator

An operator to simplify the creation and upload of cluster diagnostics from the must-gather tool
Apache License 2.0
10 stars 15 forks source link

Upload is failing for large clusters #36

Open mueroema opened 2 years ago

mueroema commented 2 years ago

If the must-gather are raising the upload size limit, the job is failing:

The attachment you are uploading is too big, it must be less than 1024 MB in lengthFailed to upload attachment must-gather-20220617_085626Z.tar.gz, case number ...

Would be nice, if the upload script is checking the size and split them up before upload.

younesehb commented 1 year ago

Same here, it's difficult to use this operator in a production environment since they're mostly generating must-gathers larger than 1 GB. We should opt for the sftp option similar to the openshift/must-gather-operator that is only used internally at Red Hat.

<error>
    <code>400</code>
    <detailMessage>The attachment you are uploading is too big, it must be less than 1024 MB in length</detailMessage>
    <message>Failed to upload attachment must-gather-20230704_142547Z.tar.gz, case number X</message>
</error>
Error: Upload to Red Hat Customer Portal did not return expected status code. Expected: 201. Actual: 400
linus78 commented 4 months ago

Same here. This is really blocking using the must-gather-operator for large clusters. Seems there is already a patch waiting in the pull requests. Please review and merge as soon as possible - thank you!