| Issue 3486: | Replicated started .....no completed. | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Hi all,
I've edit replication.config on master<git path/etc> as below.
[remote "pubmirror"]
url = ssh://<username>@<hostname>:29418/home/gerrit2/review_site/git/${name}.git
#push = +refs/for/*:refs/for/*
#push = +refs/changes/*:refs/changes/*
push = +refs/tags/*:refs/tags/*
push = +refs/heads/*:refs/heads/*
threads = 4
mirror = true
replicationDelay = 1
replicationRetry = 3
And I reload the replication config file and start replication. However, the replication_log always show me the following:
[2015-07-20 13:45:46,611] [eee4065f] Replication to ssh://<username>@<hostname>:29418/home/gerrit2/review_site/git/example.git started...
Finally, nothing replicated on my slave server.
Could any of you reading this give me any ideas?
Thank you for your help~
Jul 28, 2015
This issue is resulting from using the same ssh port used to serve repositories for replication.
Status:
Invalid
|
|
| ► Sign in to add a comment |
Can you try changing the port for replication because you are using the same port used by Gerrit application by default on the slave to serve repositories. url = ssh://<username>@<hostname>:29418/home/gerrit2/review_site/git/${name}.git If you remove the port, the plugin should use by default port 22 for replication via SSH. Just make sure that port 22 on slave is accessible from your master instance.