-
Notifications
You must be signed in to change notification settings - Fork 63
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
Unable to push to docker repo using DigitalOcean Spaces (S3-compatible) #1456
Comments
|
lukezbihlyj
changed the title
Unable to push to docker repository backed by DigitalOcean Spaces (S3-compatible), but debian + file repositories work fine
Unable to push to docker repo using DigitalOcean Spaces (S3-compatible)
May 11, 2024
To simplify reproing the issue I created a simple repo that runs artipie in docker and a small script that makes requests the same way that pushing an image works. It repros 100% of the time in my testing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unable to
docker push
to adocker
repository backed by DigitalOcean Spaces storage (S3-compatible), fails with an errorDigest is not yet calculated
.Uploading to a
file
repository type works perfectly fine using the same S3 storage configuration. Uploading to adebian
repository also seems to work correctly as well. Swapping thedocker
repository to use local filesystem storage makes it work correctly, so it is specifically an issue only with thedocker repo type + s3 storage layer
combination.One strange thing I noticed is that some of the image layer uploads do succeed, but others fail. This behaviour is consistent - the same two layers always succeed, the other two always fail. When I empty the storage bucket and try the upload again I see the exact same behaviour every time, with the same two layers succeding.
Seems like potentially a similar issue to this previously reported issue: #1369 - the only thing I noticed that is different in configuration in this issue is they're using
layout: flat
in the repository config which I tried adding but that didn't change anything.I created a repo with simple code to run an environment that replicates the issue: https://github.com/lukezbihlyj/artipie-docker-s3-repro
Tried Versions
Setup
/var/artipie/security/users/jenkins.yaml
/var/artipie/repo/_storages.yaml
/var/artipie/repo/docker.yaml
/etc/artipie/artipie.yaml
/etc/nginx/conf.d/docker.conf
Command
Logs
Posting the logs as replies because of Github's character limit
The text was updated successfully, but these errors were encountered: