Closed mikasaari closed 6 years ago
Hi @mikasaari, can you please provide more of the s3 logs? The error you are showing is irrelevant. It is just showing the error our in-memory metadata is returning when we check to see if there are acl's on the object you are putting (you would expect a 404 on a new object).
Hi. Here is zerobin link to the longer log: https://zerobin.net/?54f2b623d8d6d334#RrfH7svvh/5e3WnubKeIwgyPPM0SnfiPJ3f+YZ5DRH0=
Nothing helpful jumps out to me in the logs. It is odd that there is a NoSuchBucket error after there has already been successful requests handled. As an experiment, instead of using the mem backend, will you try file? Just don't set the "-e S3BACKEND=mem".
Hi. I have tried mounting data and metadata directories to LVM volume. All data directories are created but exactly same problems occur. I assume file would be exactly the same, but will test it tomorrow.
Hi. Removed the S3BACKEND flag started, created bucket and tried tagging ang pushing to the registry, but unfortunately still exactly the same problem. Will test something else.
Please let us know if the issue still persists.
Description
When using s3 as a backend for the docker registry with docker swarm enabled (latest docker engine used), the docker push kinda works but it loops the push process infinitely. After the push for a layer is done, it retries a few seconds and then pushes the layer again.
Highly possible I have misconfigured something.
Steps to reproduce the issue
I assume the docker swarm is up and running at this point. Also even in swarm mode, I will use constraint to force the container to run in one node, just to easy the debugging task.
Actual result
Docker push, pushes all the layers again and again
Registry debug from stdout (only error part added)
s3server logs, errors only
Expected result
Docker push would push the layers only once
Additional information: (Node.js version, Docker version, etc)
Docker Name : docker-ce Version : 17.10.0.ce Release : 1.el7.centos
Additional information
registry.yml