Last modified: 2012-12-14 22:51:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44958, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42958 - setup Gerrit replication on gallium
setup Gerrit replication on gallium
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Chad H.
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-11 19:03 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-12-14 22:51 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2012-12-11 19:03:08 UTC
We need bare repositories replicated from Gallium. That will save us from having to git clone --mirror them.
Comment 1 Chad H. 2012-12-11 19:13:38 UTC
Easy, just a couple of steps:

1) Configure replication in manifests/role/gerrit.pp
2) Install role::gerrit::replicationdest on gallium (this will create gerritslave user with key)
3) Set permissions on destination directories
Comment 2 Antoine "hashar" Musso (WMF) 2012-12-11 21:51:54 UTC
Oh nice. So I need a git daemon on gallium?
Comment 3 Chad H. 2012-12-11 22:05:19 UTC
(In reply to comment #2)
> Oh nice. So I need a git daemon on gallium?

You just need git (not the daemon, it uses ssh). The replicationdest role ensures you have it if you don't already.
Comment 4 Antoine "hashar" Musso (WMF) 2012-12-12 13:04:29 UTC
https://gerrit.wikimedia.org/r/38308
Comment 5 Antoine "hashar" Musso (WMF) 2012-12-13 13:17:27 UTC
Merged. Will have to verify it is replicating correctly.
Comment 6 Antoine "hashar" Musso (WMF) 2012-12-14 21:42:44 UTC
Reassigning to Chad since he did most of the work on this.

Chad has kindly deploy the replication over the week. We had a few issues with it and ultimately Chad rsynced the repository to gallium and reenabled replication with https://gerrit.wikimedia.org/r/38795 .
Comment 7 Chad H. 2012-12-14 22:51:49 UTC
This is now done. All repos replicated, change to replication.config is live.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links