Page MenuHomePhabricator

Migrate mwdebug* hosts to PHP8.1
Closed, ResolvedPublic

Description

We can have a go at migrating the mwdebug* hosts to PHP8.1, until mw-experimental is ready, so to unblock any folks who may need them

  • mwdebug1001
  • mwdebug1002
  • mwdebug2001
  • mwdebug2002

Event Timeline

Change #1135020 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] logging: add support for php 8.1

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

Change #1135020 merged by Effie Mouzeli:

[operations/puppet@production] logging: add support for php 8.1

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

Change #1135021 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] switch mwdebug1002 to php8.1

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

Change #1135021 merged by Effie Mouzeli:

[operations/puppet@production] switch mwdebug1002 to php8.1

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

Cookbook cookbooks.sre.hosts.reimage was started by jiji@cumin1002 for host mwdebug1002.eqiad.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by jiji@cumin1002 for host mwdebug1002.eqiad.wmnet with OS bullseye completed:

  • mwdebug1002 (WARN)
    • Downtimed on Icinga/Alertmanager
    • Set pooled=inactive for the following services on confctl:

{"mwdebug1002.eqiad.wmnet": {"weight": 10, "pooled": "inactive"}, "tags": "dc=eqiad,cluster=testserver,service=apache2"}

  • 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 gnt-instance
  • Host up (Debian installer)
  • Add puppet_version metadata (7) to Debian installer
  • Set boot media to disk
  • Host up (new fresh bullseye 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/202504091247_jiji_633535_mwdebug1002.out
  • configmaster.wikimedia.org updated with the host new SSH public key for wmf-update-known-hosts-production
  • Rebooted
  • Automatic Puppet run was successful
  • Failed to run httpbb tests
  • Forced a re-check of all Icinga services for the host
  • Icinga status is optimal
  • Icinga downtime removed
  • No changes in confctl are needed to restore the previous state.
  • Updated Netbox data from PuppetDB

Change #1135698 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] php8.1: minor fixes

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

Change #1135698 merged by Effie Mouzeli:

[operations/puppet@production] php8.1: minor fixes

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

Cookbook cookbooks.sre.hosts.reimage was started by jiji@cumin1002 for host mwdebug1002.eqiad.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by jiji@cumin1002 for host mwdebug1002.eqiad.wmnet with OS bullseye completed:

  • mwdebug1002 (PASS)
    • Downtimed on Icinga/Alertmanager
    • Set pooled=inactive for the following services on confctl:

{"mwdebug1002.eqiad.wmnet": {"weight": 10, "pooled": "inactive"}, "tags": "dc=eqiad,cluster=testserver,service=apache2"}

  • 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 gnt-instance
  • Host up (Debian installer)
  • Add puppet_version metadata (7) to Debian installer
  • Set boot media to disk
  • Host up (new fresh bullseye 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/202504101252_jiji_1006618_mwdebug1002.out
  • configmaster.wikimedia.org updated with the host new SSH public key for wmf-update-known-hosts-production
  • Rebooted
  • Automatic Puppet run was successful
  • Run of httpbb tests was successful
  • Forced a re-check of all Icinga services for the host
  • Icinga status is optimal
  • Icinga downtime removed
  • No changes in confctl are needed to restore the previous state.
  • Updated Netbox data from PuppetDB
jijiki changed the task status from Open to In Progress.Apr 10 2025, 1:53 PM
jijiki triaged this task as Medium priority.
jijiki updated the task description. (Show Details)
jijiki updated the task description. (Show Details)

mwdebug1002 is done. I will reimage mwdebug2002 today as well, and if nothing comes up until next week, I will move forward with the remaining ones.

Change #1135736 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] switch mwdebug2002 to php8.1

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

Change #1135736 merged by Effie Mouzeli:

[operations/puppet@production] switch mwdebug2002 to php8.1

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

Cookbook cookbooks.sre.hosts.reimage was started by jiji@cumin1002 for host mwdebug2002.codfw.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by jiji@cumin1002 for host mwdebug2002.codfw.wmnet with OS bullseye completed:

  • mwdebug2002 (PASS)
    • Downtimed on Icinga/Alertmanager
    • Set pooled=inactive for the following services on confctl:

{"mwdebug2002.codfw.wmnet": {"weight": 10, "pooled": "inactive"}, "tags": "dc=codfw,cluster=testserver,service=apache2"}

  • 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 gnt-instance
  • Host up (Debian installer)
  • Add puppet_version metadata (7) to Debian installer
  • Set boot media to disk
  • Host up (new fresh bullseye 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/202504101552_jiji_1195674_mwdebug2002.out
  • configmaster.wikimedia.org updated with the host new SSH public key for wmf-update-known-hosts-production
  • Rebooted
  • Automatic Puppet run was successful
  • Run of httpbb tests was successful
  • Forced a re-check of all Icinga services for the host
  • Icinga status is optimal
  • Icinga downtime removed
  • No changes in confctl are needed to restore the previous state.
  • Updated Netbox data from PuppetDB

Change #1137290 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] switch mwdebug2001 to php8.1

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

Change #1137290 merged by Effie Mouzeli:

[operations/puppet@production] switch mwdebug2001 to php8.1

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

Cookbook cookbooks.sre.hosts.reimage was started by jiji@cumin1002 for host mwdebug2001.codfw.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by jiji@cumin1002 for host mwdebug2001.codfw.wmnet with OS bullseye completed:

  • mwdebug2001 (PASS)
    • Downtimed on Icinga/Alertmanager
    • Set pooled=inactive for the following services on confctl:

{"mwdebug2001.codfw.wmnet": {"weight": 10, "pooled": "inactive"}, "tags": "dc=codfw,cluster=testserver,service=apache2"}

  • 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 gnt-instance
  • Host up (Debian installer)
  • Add puppet_version metadata (7) to Debian installer
  • Set boot media to disk
  • Host up (new fresh bullseye 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/202504171457_jiji_620454_mwdebug2001.out
  • configmaster.wikimedia.org updated with the host new SSH public key for wmf-update-known-hosts-production
  • Rebooted
  • Automatic Puppet run was successful
  • Run of httpbb tests was successful
  • Forced a re-check of all Icinga services for the host
  • Icinga status is optimal
  • Icinga downtime removed
  • No changes in confctl are needed to restore the previous state.
  • Updated Netbox data from PuppetDB

Change #1138363 had a related patch set uploaded (by Effie Mouzeli; author: Effie Mouzeli):

[operations/puppet@production] switch mwdebug1001 to php8.1

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

Change #1138363 merged by Effie Mouzeli:

[operations/puppet@production] switch mwdebug1001 to php8.1

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

Cookbook cookbooks.sre.hosts.reimage was started by jiji@cumin1002 for host mwdebug1001.eqiad.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by jiji@cumin1002 for host mwdebug1001.eqiad.wmnet with OS bullseye completed:

  • mwdebug1001 (PASS)
    • Downtimed on Icinga/Alertmanager
    • Set pooled=inactive for the following services on confctl:

{"mwdebug1001.eqiad.wmnet": {"weight": 10, "pooled": "inactive"}, "tags": "dc=eqiad,cluster=testserver,service=apache2"}

  • 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 gnt-instance
  • Host up (Debian installer)
  • Add puppet_version metadata (7) to Debian installer
  • Set boot media to disk
  • Host up (new fresh bullseye 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/202504231437_jiji_1919800_mwdebug1001.out
  • configmaster.wikimedia.org updated with the host new SSH public key for wmf-update-known-hosts-production
  • Rebooted
  • Automatic Puppet run was successful
  • Run of httpbb tests was successful
  • Forced a re-check of all Icinga services for the host
  • Icinga status is optimal
  • Icinga downtime removed
  • No changes in confctl are needed to restore the previous state.
  • Updated Netbox data from PuppetDB
jijiki updated the task description. (Show Details)