git - gerrit fails to replicate repo to repo imported by gitlab -
so have git repo created gerrit , repo on different machine imported gitlab.
ssh has been set gerrit user gitlab owner , ssh git@gitlab_vm logs user in git user.
but replication fails with
[2017-04-07 17:28:41,128] [c9eb13f6] replication git@gitlab_vm:groupname/gerrit-test.git started... [2017-04-07 17:28:41,269] [c9eb13f6] cannot replicate git@gitlab_vm:groupname/gerrit-test.git org.eclipse.jgit.errors.transportexception: git@gitlab_vm:norricorp/gerrit-test.git: reject hostkey: gitlab_vm i have seen few other answers on stackoverflow setting stricthostkeychecking no works. still have same problems.
i have added git user gitlab user project. replication has go via gitlab rather using git push or pull because of pre-receive hook gitlab adds repo.
any ideas?
found http://markmail.org/message/icfo5j5wufzpadjc. amended known_hosts file gerrit user , used ssh-keyscan update known_hosts. replication no longer gives "reject hostkey" message in replication_log.
Comments
Post a Comment