Getting "unable to create threaded lstat"
Created by: lokeshkumar
Hi all,
While opening a merge request we got "500: Internal server error" for http://gitlab//<MERGE_ID>/automerge_check
We found the below error logs while analysing the issue
Grit::Git::CommandFailed (Command failed [128]: /usr/bin/git --git-dir=/home/git/gitlab-satellites/repositories/testproject/.git --work-tree=/home/git/gitlab-satellites/repositories/testproject checkout -b __parking_branch
fatal: unable to create threaded lstat
):
lib/gitlab/satellite/satellite.rb:101:in delete_heads!' lib/gitlab/satellite/satellite.rb:23:in
clear_and_update!'
lib/gitlab/satellite/action.rb:40:in prepare_satellite!' lib/gitlab/satellite/merge_action.rb:15:in
block in can_be_merged?'
lib/gitlab/satellite/action.rb:24:in block (2 levels) in in_locked_and_timed_satellite' lib/gitlab/satellite/satellite.rb:56:in
block in lock'
lib/gitlab/satellite/satellite.rb:53:in open' lib/gitlab/satellite/satellite.rb:53:in
lock'
lib/gitlab/satellite/action.rb:23:in block in in_locked_and_timed_satellite' lib/gitlab/satellite/action.rb:22:in
in_locked_and_timed_satellite'
lib/gitlab/satellite/merge_action.rb:14:in can_be_merged?' app/models/merge_request.rb:176:in
check_if_can_be_merged'
app/controllers/projects/merge_requests_controller.rb:107:in `automerge_check'
We tried to restart the gitlab and after restarting gitlab it works fine.
I don't know what is the probelm and its root cause.
Please help me to fix this issue.
Thanks in advance
Regards, Lokesh