LFS Direct_Upload not working with Minio Azure Gateway
I have Gitlab 11.0.3 running as docker image behind an nginx proxy. I have another docker host with nginx as reverse proxy running Minio Azure Gateway. On Windows AND Ubuntu I tried to create a GIT Repo and sync it with my GitLab Server. On the local Repo I have "installed" Git LFS, added .gitattributes and tracked PNG files. I commited and pushed this almost empty repo to GitLab BEFORE I added a first PNG file. I have set DIRECT_UPLOAD for LFS storage! Executing "PUSH" faild with this error: > ==> /var/log/gitlab/gitlab-workhorse/current <== > 2018-07-09_06:38:46.04796 time="2018-07-09T06:38:46Z" level=error msg=error error="handleStoreLFSObject: copy body to tempfile: ETag mismatch. expected \"1d66a52f517ea5469f71f9eed0aa7e2c\" got \"0x8D5E5669F06B013-1\"" method=PUT uri=/dev/lfs-test4.git/gitlab-lfs/objects/a5804e8db7d9dd8e899333657c741c6d9081c67196ce78ef6941b01ef296895d/2218 > 2018-07-09_06:38:46.04801 git.example.com @ - - [2018/07/09:06:38:46 +0000] "PUT /dev/lfs-test4.git/gitlab-lfs/objects/a5804e8db7d9dd8e899333657c741c6d9081c67196ce78ef6941b01ef296895d/2218 HTTP/1.1" 500 22 "" "git-lfs/2.4.2 (GitHub; linux amd64; go 1.8.3)" 0.148 > > ==> /var/log/gitlab/nginx/gitlab_access.log <== > 172.17.0.1 - username [09/Jul/2018:06:38:46 +0000] "PUT /dev/lfs-test4.git/gitlab-lfs/objects/a5804e8db7d9dd8e899333657c741c6d9081c67196ce78ef6941b01ef296895d/2218 HTTP/1.0" 500 22 "" "git-lfs/2.4.2 (GitHub; linux amd64; go 1.8.3)" (https://forum.gitlab.com/t/lfs-upload-not-working-to-gitlab-error-handlestorelfsobject-copy-body-to-tempfile-etag-mismatch/17332) Some minutes ago I tried to change to BACKGROUND UPLOAD. THIS WORKS AS EXPECTED! I think thats a bug. Regards Ingo
issue