Page MenuHomePhabricator

Migrate s6 to MariaDB 10.6
Closed, ResolvedPublic

Description

  • dbstore1005.eqiad.wmnet T334652
  • db2187.codfw.wmnet
  • db2180.codfw.wmnet
  • db2171.codfw.wmnet
  • db2169.codfw.wmnet
  • db2158.codfw.wmnet
  • db2151.codfw.wmnet
  • db2129.codfw.wmnet
  • db2124.codfw.wmnet
  • db2117.codfw.wmnet
  • db2097.codfw.wmnet (was: db2141.codfw.wmnet)
  • db2114.codfw.wmnet
  • db1224.eqiad.wmnet
  • db1201.eqiad.wmnet
  • db1187.eqiad.wmnet
  • db1180.eqiad.wmnet
  • db1173.eqiad.wmnet
  • db1168.eqiad.wmnet
  • db1165.eqiad.wmnet
  • db1155.eqiad.wmnet
  • db1225.eqiad.wmnet (was db1140.eqiad.wmnet)
  • db1131.eqiad.wmnet
  • db1213.eqiad.wmnet
  • clouddb1021.eqiad.wmnet T334651
  • clouddb1019.eqiad.wmnet T334651
  • clouddb1015.eqiad.wmnet T334651

Details

SubjectRepoBranchLines +/-
operations/puppetproduction+3 -1
operations/puppetproduction+1 -0
operations/puppetproduction+7 -7
operations/puppetproduction+6 -6
operations/puppetproduction+7 -7
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+2 -1
operations/puppetproduction+2 -1
operations/puppetproduction+0 -2
operations/puppetproduction+6 -7
operations/puppetproduction+2 -0
operations/puppetproduction+0 -2
operations/puppetproduction+2 -1
operations/puppetproduction+2 -0
operations/puppetproduction+8 -8
operations/puppetproduction+28 -27
operations/puppetproduction+2 -0
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+1 -0
operations/puppetproduction+2 -0
Show related patches Customize query in gerrit

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

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

[operations/puppet@production] db2169: Migrate to MariaDB 10.6

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

Change 940934 merged by Marostegui:

[operations/puppet@production] db2169: Migrate to MariaDB 10.6

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

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

[operations/puppet@production] db1187: Migrate to mariadb 10.6

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

Change 940935 merged by Marostegui:

[operations/puppet@production] db1187: Migrate to mariadb 10.6

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

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

[operations/puppet@production] db1213: Migrate to MariaDB 10.6

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

Change 941040 merged by Marostegui:

[operations/puppet@production] db1213: Migrate to MariaDB 10.6

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

@jcrespo how would you like to proceed with the backup sources in codfw? I can do it, as soon as you give me green light for it (it is db2141 and it also has s1)

I need to make sure the dbprov host also has 10.6- should be done today.

Change 942376 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] dbbackups: Upgrade dbprov1004 to MariaDB 10.6

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

Ah right - no rush. Let me know when done so I can go ahead and do the backup source + candidate master

Change 942380 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] dbbackups: Reorganize backups so dbprov1004,2006 creates 10.6 ones

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

Change 942376 merged by Jcrespo:

[operations/puppet@production] dbbackups: Upgrade dbprov1004,2004 to MariaDB 10.6

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

Change 942380 merged by Jcrespo:

[operations/puppet@production] dbbackups: Reorganize backups so dbprov1004,2006 create 10.6 ones

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

Here is the plan: swap s3 and s6 db1225 (s2, s3, x1) and db1140 (s1, s6) so they end up like this:

  • db1225 (s2, s6, x1)
  • db1140 (s1, s3)

Then upgrade db1225 to s6

and: move s6 from db2141 (s1, s6) to db2097 (s1, s2) then drop s1 from db2097 and add x1, ending up like this:

  • db2141 (s1)
  • db2097 (s2, s6, x1)

Then upgrade db2097.

I will do the second first.

Change 942415 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] mariadb: Disable notifications for db2097, db2141

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

Change 942416 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] mariadb: Move s6 from db2141 to db2097 and drop s1 & add x1

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

Change 942415 merged by Jcrespo:

[operations/puppet@production] mariadb: Disable notifications for db2097, db2141

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

Change 942416 merged by Jcrespo:

[operations/puppet@production] mariadb: Move s6 from db2141 to db2097 and drop s1 & add x1

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

@Marostegui I have prepared db2097 to contain s6 (as well as s2 and x1, the probably next servers to upgrade) with 10.4, to backup to dbprov2004 (10.6).

We can now upgrade db2097 to 10.6 on bullseye unless you have any comment or thing to have into account regarding the upgrade procedures. If not, I can do it on my own (feel free to do it fully on your own if you see this early and I am not around, there are no backup running tomorrow morning).

Once that is finished we can start generating 10.6 snapshots and proceed with the eqiad changes.

Note: db2141 has removed its s6 instance (changes updated on zarcillo)

Change 942461 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] mariadb: Upgrade db2097 to use mariadb 10.6 package

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

Great! I'll upgrade 2097 then. Thanks a lot for getting this moved around so fast

Change 942461 merged by Marostegui:

[operations/puppet@production] mariadb: Upgrade db2097 to use mariadb 10.6 package

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

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

[operations/puppet@production] mariadb: Enable notifications for db2097, db2141

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

Change 942537 merged by Marostegui:

[operations/puppet@production] mariadb: Enable notifications for db2097, db2141

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

Any ETA, even if vague for the eqiad upgrade?

Any ETA, even if vague for the eqiad upgrade?

Hopefully next week I want to have all done except the candidate and the primary

Change 942636 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] mariadb: Switch s3 and s6 from db1140, db1225

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

Change 942637 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] mariadb: Disable notifications on db1140, db1225 for maintenance

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

Change 942637 merged by Jcrespo:

[operations/puppet@production] mariadb: Disable notifications on db1140, db1225 for maintenance

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

Change 942636 merged by Jcrespo:

[operations/puppet@production] mariadb: Switch s3 and s6 from db1140, db1225

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

db1225.eqiad.wmnet is now the place where s6 backups are taken (it also contains x1 and s2), and it is ready to be upgraded. I will send the patches to do so, but it is only blocked on finishing the migration (just before the eqiad primary upgrade, with no other blocker).

Excellent! I will upgrade it on Monday. Thanks a lot!

Change 942645 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] mariadb: Reenable notifications for db1140, db1225

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

Change 942645 merged by Jcrespo:

[operations/puppet@production] mariadb: Reenable notifications for db1140, db1225

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

Change 942652 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] mariadb: Upgrade db1225 to mariadb 10.6 (and generate 10.6 backups)

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

Not enough data points, but 10.6 backup is 10 minutes faster than 10.4:

Screenshot_20230728_164018.png (257×1 px, 68 KB)

Mentioned in SAL (#wikimedia-operations) [2023-07-31T11:46:45Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Depool db2114 T334650', diff saved to https://phabricator.wikimedia.org/P49803 and previous config saved to /var/cache/conftool/dbconfig/20230731-114645-root.json

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

[operations/puppet@production] db2114: Migrate to MariaDB 10.6

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

Change 943550 merged by Marostegui:

[operations/puppet@production] db2114: Migrate to MariaDB 10.6

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

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

[operations/puppet@production] db2129: Migrate to 10.6

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

Change 945462 merged by Marostegui:

[operations/puppet@production] db2129: Migrate to 10.6

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

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

[operations/puppet@production] db1224.yaml: Migrate to MariaDB 10.6

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

Change 946342 merged by Marostegui:

[operations/puppet@production] db1224.yaml: Migrate to MariaDB 10.6

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

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

[operations/puppet@production] dbproxy1019: Depool clouddb1015

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

Change 946343 merged by Marostegui:

[operations/puppet@production] dbproxy1019: Depool clouddb1015

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

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

[operations/puppet@production] clouddb1015: Migrate to MariaDB 10.6

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

Change 946507 merged by Marostegui:

[operations/puppet@production] clouddb1015: Migrate to MariaDB 10.6

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

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

[operations/puppet@production] dbproxy1018: Depool clouddb1019

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

Change 950964 abandoned by Marostegui:

[operations/puppet@production] dbproxy1018: Depool clouddb1019

Reason:

wrong branch

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

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

[operations/puppet@production] dbproxy1018: Depool clouddb1019

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

Change 950965 merged by Marostegui:

[operations/puppet@production] dbproxy1018: Depool clouddb1019

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

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

[operations/puppet@production] db1155: Upgrade to mariadb 10.6

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

Change 953133 merged by Marostegui:

[operations/puppet@production] db1155: Upgrade to mariadb 10.6

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

Change 942652 merged by Marostegui:

[operations/puppet@production] mariadb: Upgrade db1225 to mariadb 10.6 (and generate 10.6 backups)

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

Marostegui updated the task description. (Show Details)

This is all done