-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Uploading image with large layers fails after push #15719
Comments
|
can you try the same scenario with the native distribution? Or probably we can just replace the binary with latest distribution and rebuild the harbor-regsitry image. I know there were some fixes on s3 in distribution main, I'll go through them then. |
|
@wy65701436 thanks for your reply. Can you clarify what you mean by 'native distribution'? |
|
Hi, to verify that it was an S3 issue, I had change the harbor storage's values from to this test works fine, we can upload large image with large layers, but our storage goal is S3 I then modified storage values to S3 and tested the last harbor release 2.4.0-rc1 and had the same issue (level=error msg="response completed with error" auth.user.name="harbor_registry_user" err.code="blob upload invalid" and level=error msg="upload resumed at wrong offest: 10485760000 != 12912793630") what do you suggest ? Sylvain |
|
any chance there is an update here or further information @wy65701436 ? |
|
Actually, it's a bug of docker registry. More details here Fixes max layer size of 10GB bug The temporary solution is to build a registry image with the patch. |
How can we help you?
We have an issue pushing a 15GB+ container with a maximum single layer size of 13.5GB.
We are running an instance of Harbor on ec2 via a
t3a.smallinstance type:The system works fine with all containers to-date, and we also have several that are large than 15GB in total size. Today we tried to push an image with a maximum single-layer size of 13.5GB, and it failed repeatedly. On the client side we only see:
We are not running any additional proxy, and we have the harbor nginx config set as recommended:
We are running an instance of
clair, for which I know you are removing support, and it seems to be quitting intermittently, but it does not seem to be an issue for any other push/pull activities.NOTE: again the
pushactivity actually completes, but the client side error only appears afterwards. I do see the following error in theregistry.log:Any thoughts or advice will be very welcomed; perhaps there are other experiencing similar issues with very-large-layers.
I think it is possible this is related to:
Possibly unrelated, but the spelling error in the error message lead me to the following; the current release we have for harbor is using an older version of distribution:
perhaps it has been fixed in more recent versions of
distribution.The text was updated successfully, but these errors were encountered: