https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Database
If you do not have a 'replica.my.cnf' in your home directory, please create a ticket in Phabricator.
https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Admin#Regenerate_replica.my.cnf
https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Database
If you do not have a 'replica.my.cnf' in your home directory, please create a ticket in Phabricator.
https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Admin#Regenerate_replica.my.cnf
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | • madhuvishy | T135931 Tool Labs users missing replica.my.cnf (tracking) | |||
| Resolved | intracer | T124903 Figure out a way to support java 1.8 on tool labs (For WLX Jury) | |||
| Resolved | • madhuvishy | T140592 About 71 users are missing replica.my.cnf | |||
| Resolved | • madhuvishy | T149933 Migrate existing labs users from the old servers, if possible using roles and start maintaining users on the new database servers, too | |||
| Resolved | • jcrespo | T152377 Create labsdb_accounts db on m5 to store state about labsdb accounts |
krenair@tools-bastion-03:~$ ls /home -l | wc -l 948 krenair@tools-bastion-03:~$ sudo ls /home/*/replica.my.cnf -l | wc -l 53
43 modified in 2014, 4 in 2015, 6 in 2016 so far. And quite a few of them are very strange - look at sudo ls /home/*/replica.my.cnf -l | grep -v wikidev
I have a replica.my.cnf in my home dir that was created in January 2016. There has been far more than 6 new users on Tool Labs so far this year.
tom29739@tools-bastion-03:~$ ls -al replica.my.cnf -r-------- 1 tom29739 13979 52 Jan 16 2016 replica.my.cnf
oops, yes, this seems to be a stupid error on my part.
root@tools-bastion-03:~# ls /home/*/replica.my.cnf -l | wc -l 889
So the difference is 59
root@tools-bastion-03:~# (cd /home && for dir in *; do if ! [ -f "$dir/replica.my.cnf" ]; then echo "$dir"; fi; done) | wc -l 71 root@tools-bastion-03:~#
This should be resolved via T149933 where the mechanism in charge is being rewritten. This could be viewed as closing criteria for that work.
There are now 84 users with missing replica.my.cnf, so this task is not resolved:
root@tools-bastion-03:~# (cd /home && for dir in *; do if ! [ -f "$dir/replica.my.cnf" ]; then echo "$dir"; fi; done) | wc -l 84 root@tools-bastion-03:~#