Advertisement
GarbageYard

Mirroring Gitolite slave using GitLab

Nov 27th, 2015
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. Error message on pushing changes to newly created project in GitLab:
  2. $ git push -u origin dev-A
  3. Counting objects: 3, done.
  4. Writing objects: 100% (3/3), 290 bytes | 0 bytes/s, done.
  5. Total 3 (delta 0), reused 0 (delta 0)
  6. remote:
  7. remote:
  8. remote: Commit: 40bf8f48369530151244e2f43ae11ed44ba3ec15
  9. remote: Returning result 0
  10. remote: FATAL: W any project1 id_rsa DENIED by fallthru
  11. remote: (or you mis-spelled the reponame)
  12. remote: fatal: Could not read from remote repository.
  13. remote:
  14. remote: Please make sure you have the correct access rights
  15. remote: and the repository exists.
  16. To git@gitlab.abc.com:demogroup/project1.git
  17. * [new branch] dev-A -> dev-A
  18. Branch dev-A set up to track remote branch dev-A from origin.
  19. ********************************************************************
  20. Ran below command on the GitLab server from where 'git push --mirror gitolite@mirror:repo_name.git' command is run as part of post-receive hook
  21. sh-4.1$ ssh gitolite@mirror info
  22. hello id_rsa, this is gitolite@mirror running gitolite3 (unknown) on git 1.8.3.1
  23. ********************************************************************
  24. Main Git server:
  25. [ec2-user@slave1 ~]$ ssh gitolite@git_server info
  26. hello ec2-user, this is gitolite@git_server running gitolite3 v3.04-13-gcc9727c-dt on git 1.7.1
  27. ********************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement