Page MenuHomePhabricator

Add x4 to dbstore1007
Closed, ResolvedPublic

Description

x4 needs to be added to dbstore1007

Event Timeline

Change #1341042 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] dbstore1007: Add x4

https://gerrit.wikimedia.org/r/1341042

Change #1341042 merged by Marostegui:

[operations/puppet@production] dbstore1007: Add x4

https://gerrit.wikimedia.org/r/1341042

Mentioned in SAL (#wikimedia-operations) [2026-09-14T09:08:42Z] <marostegui> Stop mariadb on db1260 to clone dbstore1007, there will be lag on wikireplicas:x4 https://phabricator.wikimedia.org/T437839

dbstore1007:3364 is now up and running.
@Milimetric can you confirm it is all good on your side?

Change #1341108 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):

[operations/dns@master] Update dbstore DNS record for x4

https://gerrit.wikimedia.org/r/1341108

Change #1341108 merged by Ladsgroup:

[operations/dns@master] Update dbstore DNS record for x4

https://gerrit.wikimedia.org/r/1341108

@Marostegui I can't log in with the research user:

milimetric@stat1010:~$ mysql -hdbstore1007.eqiad.wmnet -P3314 commonswiki
[...]
Welcome to the MariaDB monitor.  Commands end with ; or \g.
[...]

# that ^ works, but:

milimetric@stat1010:~$ mysql -hdbstore1007.eqiad.wmnet -P3364 commonswiki
ERROR 1698 (28000): Access denied for user 'research'@'10.64.138.6'

Also, the DNS doesn't seem to be pointing to it:

python3
>>> import dns.resolver
>>> x = dns.resolver.resolve('_x4-analytics._tcp.eqiad.wmnet', 'SRV')[0]
>>> x.target, x.port
(<DNS name dbstore1007.eqiad.wmnet.>, 3324)

# I'd expect that to be port 3364

Change #1341212 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/dns@master] wmnet: Fix dbstore1007:x4 port

https://gerrit.wikimedia.org/r/1341212

Change #1341212 merged by Marostegui:

[operations/dns@master] wmnet: Fix dbstore1007:x4 port

https://gerrit.wikimedia.org/r/1341212

@Marostegui I can't log in with the research user:

milimetric@stat1010:~$ mysql -hdbstore1007.eqiad.wmnet -P3314 commonswiki
[...]
Welcome to the MariaDB monitor.  Commands end with ; or \g.
[...]

# that ^ works, but:

milimetric@stat1010:~$ mysql -hdbstore1007.eqiad.wmnet -P3364 commonswiki
ERROR 1698 (28000): Access denied for user 'research'@'10.64.138.6'

Fixed, keep in mind this host was cloned from production so that role was missing.
Could you try again?

Also, the DNS doesn't seem to be pointing to it:

python3
>>> import dns.resolver
>>> x = dns.resolver.resolve('_x4-analytics._tcp.eqiad.wmnet', 'SRV')[0]
>>> x.target, x.port
(<DNS name dbstore1007.eqiad.wmnet.>, 3324)

# I'd expect that to be port 3364

Changed DNS via https://gerrit.wikimedia.org/r/c/operations/dns/+/1341212 this will take 5M to be refreshed.

Fixed, keep in mind this host was cloned from production so that role was missing.
Changed DNS via https://gerrit.wikimedia.org/r/c/operations/dns/+/1341212 this will take 5M to be refreshed.

Brilliant, all works! I believe that's all for the analytics replica, thank you!