Page MenuHomePhabricator

Q1:rack/setup/install wdqs20[23-25].codfw.wmnet
Closed, ResolvedPublic

Description

This task will track the racking, setup, and OS installation of wdqs20[23-25].codfw.wmnet

Hostname / Racking / Installation Details

Hostnames: wdqs20[23-25].codfw.wmnet
Racking Proposal: We just want to maintain a roughly even cluster-wide distribution across rows. The servers must also be placed into 10G racks. Our current codfw public wdqs row count is 3A, 3B, 4C, 3D. I'm assuming there's no row E/F for codfw, so consider this proposed racking scheme:

wdqs2023 => Row A
wdqs2024 => Row B
wdqs2025 => Row D

Networking Setup: # Conns: 1, Speed: 10G, VLAN: production, AAAA records: Y
Partitioning/Raid: S/W RAID10 - partman: raid10-4dev.cfg
OS Distro: Bullseye (default unless otherwise specified)
Sub-team Technical Contact: @RKemper @bking. If needing urgent reply, pinging on IRC is best (#wikimedia-search -> ryankemper / inflatador)

Per host setup checklist

Each host should have its own setup checklist copied and pasted into the list below.

wdqs2023.codfw.wmnet:

Rack: A2
U: 20
Port: 19

  • - receive in system on procurement task T341219 & in coupa
  • - rack system with proposed racking plan (see above) & update netbox (include all system info plus location, state of planned)
  • - add mgmt dns (asset tag and hostname) and production dns entries in netbox, run cookbook sre.dns.netbox.
  • - network port setup via netbox, run homer from an active cumin host to commit
  • - bios/drac/serial setup/testing, see Lifecycle Steps & Automatic BIOS setup details
  • - firmware update (idrac, bios, network, raid controller)
  • - operations/puppet update - this should include updates to netboot.pp, and site.pp role(insetup) or cp systems use role(insetup::nofirm).
  • - OS installation & initital puppet run via sre.hosts.reimage cookbook.
wdqs2024.codfw.wmnet:

Rack: B2
U: 1
Port: 0

  • - receive in system on procurement task T341219 & in coupa
  • - rack system with proposed racking plan (see above) & update netbox (include all system info plus location, state of planned)
  • - add mgmt dns (asset tag and hostname) and production dns entries in netbox, run cookbook sre.dns.netbox.
  • - network port setup via netbox, run homer from an active cumin host to commit
  • - bios/drac/serial setup/testing, see Lifecycle Steps & Automatic BIOS setup details
  • - firmware update (idrac, bios, network, raid controller)
  • - operations/puppet update - this should include updates to netboot.pp, and site.pp role(insetup) or cp systems use role(insetup::nofirm).
  • - OS installation & initital puppet run via sre.hosts.reimage cookbook.
wdqs2025.codfw.wmnet:

Rack: D2
U: 17
Port: 16

  • - receive in system on procurement task T341219 & in coupa
  • - rack system with proposed racking plan (see above) & update netbox (include all system info plus location, state of planned)
  • - add mgmt dns (asset tag and hostname) and production dns entries in netbox, run cookbook sre.dns.netbox.
  • - network port setup via netbox, run homer from an active cumin host to commit
  • - bios/drac/serial setup/testing, see Lifecycle Steps & Automatic BIOS setup details
  • - firmware update (idrac, bios, network, raid controller)
  • - operations/puppet update - this should include updates to netboot.pp, and site.pp role(insetup) or cp systems use role(insetup::nofirm).
  • - OS installation & initital puppet run via sre.hosts.reimage cookbook.

Details

Event Timeline

RobH added a parent task: Unknown Object (Task).Jul 25 2023, 2:41 PM
RobH moved this task from Backlog to Racking Tasks on the ops-codfw board.
RobH mentioned this in Unknown Object (Task).
RobH unsubscribed.

Change 951184 had a related patch set uploaded (by Papaul; author: Papaul):

[operations/puppet@production] Add wdqs202[3-5] to site.pp and netboot.cfg

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

Change 951184 merged by Papaul:

[operations/puppet@production] Add wdqs202[3-5] to site.pp and netboot.cfg

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

Cookbook cookbooks.sre.hosts.reimage was started by pt1979@cumin2002 for host wdqs2024.codfw.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage was started by pt1979@cumin2002 for host wdqs2025.codfw.wmnet with OS bullseye

@Jhancock.wm when you are back onsite can you please check the network cable for wdqs2023 both 10G nic's are showing down.

Thanks

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host wdqs2024.codfw.wmnet with OS bullseye executed with errors:

  • wdqs2024 (FAIL)
    • Removed from Puppet and PuppetDB if present
    • Deleted any existing Puppet certificate
    • 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
    • The reimage failed, see the cookbook logs for the details

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host wdqs2025.codfw.wmnet with OS bullseye executed with errors:

  • wdqs2025 (FAIL)
    • Removed from Puppet and PuppetDB if present
    • Deleted any existing Puppet certificate
    • 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
    • The reimage failed, see the cookbook logs for the details

Cookbook cookbooks.sre.hosts.reimage was started by pt1979@cumin2002 for host wdqs2024.codfw.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage was started by pt1979@cumin2002 for host wdqs2025.codfw.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host wdqs2024.codfw.wmnet with OS bullseye completed:

  • wdqs2024 (PASS)
    • Removed from Puppet and PuppetDB if present
    • Deleted any existing Puppet certificate
    • Removed from Debmonitor if present
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202308212251_pt1979_3594673_wdqs2024.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
    • Updated Netbox status planned -> active
    • The sre.puppet.sync-netbox-hiera cookbook was run successfully

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host wdqs2025.codfw.wmnet with OS bullseye completed:

  • wdqs2025 (PASS)
    • Removed from Puppet and PuppetDB if present
    • Deleted any existing Puppet certificate
    • Removed from Debmonitor if present
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202308212302_pt1979_3605393_wdqs2025.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
    • Updated Netbox status planned -> active
    • The sre.puppet.sync-netbox-hiera cookbook was run successfully

@Jhancock.wm thanks all good now

papaul@asw-a-codfw> show interfaces xe-2/0/19 descriptions
Interface       Admin Link Description
xe-2/0/19       up    up   wdqs2023

Cookbook cookbooks.sre.hosts.reimage was started by pt1979@cumin2002 for host wdqs2023.codfw.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host wdqs2023.codfw.wmnet with OS bullseye executed with errors:

  • wdqs2023 (FAIL)
    • Removed from Puppet and PuppetDB if present
    • Deleted any existing Puppet certificate
    • 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
    • The reimage failed, see the cookbook logs for the details

Cookbook cookbooks.sre.hosts.reimage was started by pt1979@cumin2002 for host wdqs2023.codfw.wmnet with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host wdqs2023.codfw.wmnet with OS bullseye completed:

  • wdqs2023 (WARN)
    • Removed from Puppet and PuppetDB if present
    • Deleted any existing Puppet certificate
    • Removed from Debmonitor if present
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202308221609_pt1979_504488_wdqs2023.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
    • Updated Netbox status planned -> active
    • Failed to run the sre.puppet.sync-netbox-hiera cookbook, run it manually