Description of problem: When push code to gitserver repo via app route, show below error. No build is triggered. # git push openshift master Password for 'http://xiuwang@git-xiuwang.0506-5sa.qe.rhcloud.com': Counting objects: 267, done. Delta compression using up to 8 threads. Compressing objects: 100% (166/166), done. Writing objects: 100% (267/267), 41.00 KiB, done. Total 267 (delta 88), reused 267 (delta 88) error: RPC failed; result=22, HTTP code = 504 fatal: The remote end hung up unexpectedly fatal: recursion detected in die handler Everything up-to-date #When push code to gitserver via app service ip or port-forward 8080 in localhost, will hang on long long time. Version-Release number of selected component (if applicable): openshift/origin-gitserver(6ae0b13def4c) How reproducible: always Steps to Reproduce: 1.Create the Git Server $ oc create -f gitserver.yaml 2.Grant edit access to the git service account $ oc policy add-role-to-user edit -z git 3.Push a repository to your git server # clone a public repository $ git clone https://github.com/openshift/ruby-hello-world.git # add a remote for your git server $ cd ruby-hello-world $ git remote add openshift http://git-myproject.infra.openshift.com/ruby-hello-world.git # push the code to the git server $ git push openshift master Actual results: $ git push openshift master Password for 'http://xiuwang@git-xiuwang.0506-5sa.qe.rhcloud.com': Counting objects: 267, done. Delta compression using up to 8 threads. Compressing objects: 100% (166/166), done. Writing objects: 100% (267/267), 41.00 KiB, done. Total 267 (delta 88), reused 267 (delta 88) error: RPC failed; result=22, HTTP code = 504 fatal: The remote end hung up unexpectedly fatal: recursion detected in die handler Everything up-to-date Expected results: Could push code to gitserver repo, and trigger new build. Additional info: Should works as https://bugzilla.redhat.com/show_bug.cgi?id=1252826#c3
new-app changed to use --depth=1 when cloning repositories from git servers. That parameter seems to make the gitserver server hang. Investigating.
PR https://github.com/openshift/origin/pull/8953
docker.io/openshift/origin-gitserver 12cd0a9b2c3d 46 hours ago 1.oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/gitserver/gitserver-ephemeral.yaml 2.oc policy add-role-to-user edit -z git 3.git clone http://git-truetoken.0522-oo1.qe.rhcloud.com/ruby-hello-world.git 4.Add something to repo, and push back. 5.Add other code to repo, and push back. Could push code to repo, and create app successfully. Could trigger new build.