
We are seeing that replication tasks occasionally sit around forever and have had to take manual intervention. One theory is that this is related to networking between the gerrit server and the gitea servers. We don't set maxRetries which means replication should be retried infinitely which means if we hit the timeout we should try again. 15 minutes was sort of arbitrarily chosen as ~twice the time it takes to clone a large repo like nova. Change-Id: Iec2536ad149a2e625a1f0107b9fcee3079493607
91 lines
2.5 KiB
YAML
91 lines
2.5 KiB
YAML
gerrit_replication:
|
|
- name: 'gitea01'
|
|
url: 'ssh://git@gitea01.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea02'
|
|
url: 'ssh://git@gitea02.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea03'
|
|
url: 'ssh://git@gitea03.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea04'
|
|
url: 'ssh://git@gitea04.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea05'
|
|
url: 'ssh://git@gitea05.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea06'
|
|
url: 'ssh://git@gitea06.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea07'
|
|
url: 'ssh://git@gitea07.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
- name: 'gitea08'
|
|
url: 'ssh://git@gitea08.opendev.org:222/'
|
|
authGroup: 'Anonymous Users'
|
|
replicationDelay: '1'
|
|
replicatePermissions: false
|
|
mirror: true
|
|
threads: '4'
|
|
timeout: '900'
|
|
gerrit_storyboard_url: https://storyboard.openstack.org
|
|
gerrit_vhost_name: review.opendev.org
|
|
gerrit_serverid: 4a232e18-c5a9-48ee-94c0-e04e7cca6543
|
|
gerrit_redirect_vhost: review.openstack.org
|
|
gerrit_heap_limit: 96g
|
|
letsencrypt_certs:
|
|
review02-opendev-org-main:
|
|
- review.opendev.org
|
|
- review02.opendev.org
|
|
- review.openstack.org
|
|
# We have to set the letsencrypt_gid to something that isn't 3000
|
|
# to not conflict with gerrit2's gid.
|
|
# Also, on review01.openstack.org, 3001 is openstackwatch and
|
|
# 3002 is github.
|
|
letsencrypt_gid: 3003
|
|
borg_backup_excludes_extra:
|
|
- /home/gerrit2/.launchpadlib/cache/*
|
|
- /home/gerrit2/review_site/cache/*
|
|
- /home/gerrit2/review_site/tmp/*
|
|
- /home/gerrit2/review_site/index/*
|
|
# scratch location for admins
|
|
- /home/gerrit2/tmp/*
|
|
# live db when used with mariadb_container; dumped by separate job
|
|
# using mysqldump
|
|
- /home/gerrit2/reviewdb/*
|