Page MenuHomePhabricator

Upgrade es5 to MariaDB 10.6
Closed, ResolvedPublic

Description

  • es2023
  • es2024
  • es2025
  • es1023
  • es1024
  • es1025

Event Timeline

Marostegui triaged this task as Medium priority.
Marostegui moved this task from Triage to In progress on the DBA board.

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

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

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

Change 1009152 merged by Marostegui:

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

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

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

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

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

Mentioned in SAL (#wikimedia-operations) [2024-03-20T16:57:11Z] <marostegui@cumin1002> dbctl commit (dc=all): 'Depool es2025 T358746', diff saved to https://phabricator.wikimedia.org/P58826 and previous config saved to /var/cache/conftool/dbconfig/20240320-165710-root.json

Change 1013103 merged by Marostegui:

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

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

Mentioned in SAL (#wikimedia-operations) [2024-03-20T17:03:33Z] <marostegui@cumin1002> dbctl commit (dc=all): 'Repool es2025 T358746', diff saved to https://phabricator.wikimedia.org/P58827 and previous config saved to /var/cache/conftool/dbconfig/20240320-170332-root.json

Mentioned in SAL (#wikimedia-operations) [2024-03-20T17:04:13Z] <marostegui@cumin1002> dbctl commit (dc=all): 'Depool es2024 T358746', diff saved to https://phabricator.wikimedia.org/P58828 and previous config saved to /var/cache/conftool/dbconfig/20240320-170413-root.json

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

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

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

Change 1013106 merged by Marostegui:

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

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

Mentioned in SAL (#wikimedia-operations) [2024-03-20T17:13:57Z] <marostegui@cumin1002> dbctl commit (dc=all): 'Repool es2024 T358746', diff saved to https://phabricator.wikimedia.org/P58829 and previous config saved to /var/cache/conftool/dbconfig/20240320-171356-root.json

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

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

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

Change 1013162 merged by Marostegui:

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

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

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

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

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

Mentioned in SAL (#wikimedia-operations) [2024-04-02T04:56:00Z] <marostegui@cumin1002> dbctl commit (dc=all): 'Depool es1024 T358746', diff saved to https://phabricator.wikimedia.org/P59108 and previous config saved to /var/cache/conftool/dbconfig/20240402-045559-root.json

Change #1016076 merged by Marostegui:

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

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

Cookbook cookbooks.sre.hosts.reimage was started by marostegui@cumin1002 for host es1023.eqiad.wmnet with OS bookworm

Cookbook cookbooks.sre.hosts.reimage started by marostegui@cumin1002 for host es1023.eqiad.wmnet with OS bookworm completed:

  • es1023 (WARN)
    • Downtimed on Icinga/Alertmanager
    • Disabled Puppet
    • Removed from Puppet and PuppetDB if present and deleted any certificates
    • Removed from Debmonitor if present
    • Forced PXE for next reboot
    • Host rebooted via IPMI
    • Host up (Debian installer)
    • Add puppet_version metadata to Debian installer
    • Checked BIOS boot parameters are back to normal
    • Host up (new fresh bookworm OS)
    • Generated Puppet certificate
    • Signed new Puppet certificate
    • Run Puppet in NOOP mode to populate exported resources in PuppetDB
    • Found Nagios_host resource for this host in PuppetDB
    • Downtimed the new host on Icinga/Alertmanager
    • Removed previous downtime on Alertmanager (old OS)
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202404290621_marostegui_2976652_es1023.out
    • configmaster.wikimedia.org updated with the host new SSH public key for wmf-update-known-hosts-production
    • Rebooted
    • Automatic Puppet run was successful
    • Forced a re-check of all Icinga services for the host
    • Icinga status is not optimal, downtime not removed
    • Updated Netbox data from PuppetDB