Upgrade to Docker Distribution 2.6.1 broke AWS S3 uploads
After deploying 9.2RC3, users complained that pushes to the registry stopped working:
- https://gitlab.com/gitlab-org/gitlab-ce/issues/32458
- https://gitlab.com/gitlab-org/gitlab-ce/issues/32457
The registry logs show:
s3aws: NotImplemented: A header you provided implies functionality that is not implemented\n\tstatus code: 501
Once we reverted the /opt/gitlab/embedded/bin/registry
binary from 2.6.1 to 2.4.1, things worked:
Other references: https://github.com/openshift/docker-distribution/blob/master/docs/storage-drivers/s3.md
/cc: @ayufan, @northrup, @rspeicher