Page MenuHomePhabricator

Upgrade 10.4.13 hosts to a higher version
Closed, ResolvedPublic

Description

The following hosts are running 10.4.13, we've seen a bug that made mariadb crash (T278408), although index creations are done under controlled circumstances in MW hosts, let's upgrade them to a newer version.

  • db1080
  • db1099:3311
  • db1099:3318
  • db1103
  • db1107
  • db1108:3351
  • db1108:3352
  • db1113:3315
  • db1113:3316
  • db1119
  • db1132
  • db1141
  • db1149
  • db2075
  • db2081
  • db2083
  • db2088:3311
  • db2088:3312
  • db2091
  • db2092
  • db2096
  • db2111
  • db2117
  • db2119
  • db2130
  • db2131
  • db2134
  • db2136
  • db2137:3314
  • db2137:3315
  • es1020
  • es1021
  • es1023
  • es1025

Event Timeline

Marostegui moved this task from Triage to In progress on the DBA board.
Marostegui added a subscriber: elukey.

@elukey can you take care of db1108?
Thanks!

@elukey can you also please upgrade its kernel for T273281?

Marostegui renamed this task from Upgrade 10.4.13 hosts to Upgrade 10.4.13 hosts to a higher version.Apr 5 2021, 1:14 PM
Marostegui updated the task description. (Show Details)

Mentioned in SAL (#wikimedia-operations) [2021-04-08T06:56:27Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Depool es1023 to upgrade kernel and mysql, remove weight from es1021, to leave it as it was yesterday T279281', diff saved to https://phabricator.wikimedia.org/P15231 and previous config saved to /var/cache/conftool/dbconfig/20210408-065627-marostegui.json

Mentioned in SAL (#wikimedia-operations) [2021-04-14T12:07:25Z] <marostegui@cumin1001> dbctl commit (dc=all): 'Depool es1025 for kernel and mysql upgrade T279281', diff saved to https://phabricator.wikimedia.org/P15333 and previous config saved to /var/cache/conftool/dbconfig/20210414-120724-marostegui.json

es1021 is es4 master, requires write depooling from MW. I will do that next week

@elukey can you take care of db1108?
Thanks!

@elukey can you also please upgrade its kernel for T273281?

@razzi can you take care of these two (kernel + mariadb upgrade) ? It can be done before refreshing the replica. The things to do are:

  • stop the replicas following the usual procedure (stop replica, stop mysql, etc..)
  • umount /srv, swapoff -a
  • verify that no backup is in progress
  • apt-get install wmf-mariadb104 (verify with apt-cache policy wmf-mariadb104 what version will be installed etc..)
  • reboot
  • start all the replicas and verify that everything is working

@razzi ping :) Can you update this task with a timeline about when the job will be done?

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

[operations/mediawiki-config@master] db-eqiad.php: Disable writes on es4

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

Change 682358 merged by jenkins-bot:

[operations/mediawiki-config@master] db-eqiad.php: Disable writes on es4

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

Mentioned in SAL (#wikimedia-operations) [2021-04-26T11:55:10Z] <marostegui@deploy1002> Synchronized wmf-config/db-eqiad.php: Disable writes on es4 T279281 (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2021-04-26T11:56:34Z] <marostegui> Restart es4 primary master - T279281

Mentioned in SAL (#wikimedia-operations) [2021-04-26T12:00:44Z] <marostegui@deploy1002> Synchronized wmf-config/db-eqiad.php: Enable writes on es4 T279281 (duration: 00m 56s)

Mentioned in SAL (#wikimedia-operations) [2021-04-27T06:55:28Z] <elukey> upgrade mariadb to 10.4.18-1 + reboot on db1108 - T279281

@razzi work done to unblock data persistence, also ran mysql_upgrade after a chat with Manuel. All good from the Analytics side @Marostegui !

Marostegui updated the task description. (Show Details)

All hosts have been upgraded