mirror repository update leads to gitaly-ruby error
Summary
Mirroring repository leads to gitaly-ruby error and cannot update the repo
Steps to reproduce
- create an empty repo on gitlab.com
- navigate to settings - repository - mirroring repositories, and add a repo on public domain (direction set to
push, use password auth) - add the mirror (I added one from github.com and two from a self-hosted gitlab instance) and click on
update now - the update request will time out and return an error
Example Project
https://gitlab.com/yuanchenlu/empy/
What is the current bug behavior?
mirroring repositories doesn't update the current repo
What is the expected correct behavior?
current repo should be mirrored from the remote repo
Relevant logs and/or screenshots
on a local gitlab-ce instance, I am able to retrieve the following log:
time=“2020-10-12T18:23:13-04:00” level=error msg=“finished streaming call with code Internal” correlation_id=SZoC4MNS9E error=“rpc error: code = Internal desc = close stream to gitaly-ruby: rpc error: code = Unknown desc = Gitlab::git::CommandError: git: ‘credential-manager’ is not a git command. See ‘git --help’.\nremote: HTTP Basic: Access denied\nfatal: Authentication failed for ‘<self-hosted-gitlab-url>/Yaling.Liu/000/’\n” grpc.code=Internal grpc.meta.auth_version=v2 grpc.meta.client_name=gitlab-sidekiq grpc.meta.deadline_type=unknown grpc.method=UpdateRemoteMirror grpc.request.deadline=“2020-10-13T00:23:12-04:00" grpc.request.fullMethod=/gitaly.RemoteService/UpdateRemoteMirror grpc.service=gitaly.RemoteService grpc.start_time=“2020-10-12T18:23:12-04:00” grpc.time_ms=917.658 peer.address= pid=15179 sentry.skip=“{}” span.kind=server system=grpc
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
happens as early as v13.2.9-ce
Results of GitLab application Check
n/a