Page MenuHomePhabricator

Reimage Wikikube workers to Trixie
Open, MediumPublic

Description

Wikikube workers to reimage

eqiad
$ sudo cumin 'P{F:lsbdistcodename = bookworm} and A:wikikube-worker-eqiad'
146 hosts will be targeted:
wikikube-worker[1006-1007,1015-1016,1021,1034-1035,1038-1050,1056-1057,1064-1066,1073-1081,1084-1087,1093-1095,1113-1134,1142-1153,1158,1240-1259,1273,1276-1289,1291-1304,1307-1312,1314-1327].eqiad.wmnet,wikikube-worker-exp1001.eqiad.wmnet
codfw
$ sudo cumin 'P{F:lsbdistcodename = bookworm} and A:wikikube-worker-codfw'
245 hosts will be targeted:
wikikube-worker[2002,2005-2006,2011-2018,2033-2039,2041-2042,2044,2046,2049-2051,2055-2062,2064-2065,2067-2078,2087-2095,2102-2115,2124-2179,2184-2215,2242-2243,2248-2331].codfw.wmnet,wikikube-worker-exp2001.codfw.wmnet

Event Timeline

MLechvien-WMF moved this task from Inbox to Needs Info / Blocked on the ServiceOps board.

Per IRC discussion, this is a requirement for gvisor (T435044) so we may want to do it for at least half of each DC

Per T438287, please if we're reimaging servers we should enable hardware virtualization on them.

Roll-reimage of nodes in wikikube-codfw cluster started by jayme:

  • wikikube-worker2041.codfw.wmnet

Cookbook cookbooks.sre.k8s.roll-reimage-nodes -- rolling reimage on P{wikikube-worker2041.codfw.wmnet} and (A:wikikube-master-codfw or A:wikikube-worker-codfw) completed:

  • wikikube-worker2041 (PASS)
    • 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)
    • Checked BIOS boot parameters are back to normal
    • Host up (new fresh trixie 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/202609281023_jayme_1336139_wikikube-worker2041.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 optimal
    • Icinga downtime removed
    • Updated Netbox data from PuppetDB
    • Host wikikube-worker2041.codfw.wmnet pooled in wikikube-codfw

I am going to switch the settings for every server to support virtualization, via the modified provision cookbook I did set up. But I will only reboot the trixie nodes, so for every other node the change will take effect once we're reimaging them.