Page MenuHomePhabricator

Q2:rack/setup/install mwlog2003
Closed, ResolvedPublic

Description

This task will track the racking, setup, and OS installation of mwlog2003

Hostname / Racking / Installation Details

Hostnames: mwlog2003
Racking Proposal: no preference
Networking Setup: # of Connections:1 - Speed:10G (only 1G needed but 10G fine). - VLAN:Private
OS Distro: Bookworm
Boot Method: BIOS
Sub-team Technical Contact: herron

Per host setup checklist

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

mwlog2003:
  • Receive in system on procurement task T404792 & in Coupa
  • Rack system with proposed racking plan (see above) & update Netbox (include all system info plus location, state of planned)
  • Run the Provision a server's network attributes Netbox script - Note that you must run the DNS and Provision cookbook after completing this step
  • Immediately run the sre.dns.netbox cookbook
  • Immediately run the sre.hosts.provision cookbook
  • Run the sre.hardware.upgrade-firmware cookbook
  • Update the operations/puppet repo - this should include updates to preseed.yaml, and site.pp with roles defined by service group: https://wikitech.wikimedia.org/wiki/SRE/Dc-operations
  • Run the sre.hosts.reimage cookbook

Related Objects

StatusSubtypeAssignedTask
ResolvedJhancock.wm

Event Timeline

RobH mentioned this in Unknown Object (Task).Dec 10 2025, 3:18 PM
RobH added a parent task: Unknown Object (Task).
RobH moved this task from Backlog to Racking Tasks on the ops-codfw board.
RobH updated the task description. (Show Details)
RobH unsubscribed.

@herron two things

  • do you mind if i rack this in the new expansion cage at codfw?
  • can you add this one and the mwlog1003 in T412230 to site.pp and preseed.yaml?

thank you!

Change #1226396 had a related patch set uploaded (by Herron; author: Herron):

[operations/puppet@production] assign mwlog[12]003 insetup role

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

Change #1226396 merged by Herron:

[operations/puppet@production] assign mwlog[12]003 insetup role

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

@herron two things

  • do you mind if i rack this in the new expansion cage at codfw?

Sure, sounds good!

  • can you add this one and the mwlog1003 in T412230 to site.pp and preseed.yaml?

Done!

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

[operations/puppet@production] Add mwlog2003 to preseed.yaml for inital install

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

Change #1239371 merged by Papaul:

[operations/puppet@production] Add mwlog2003 to preseed.yaml for inital install

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

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

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

  • mwlog2003 (FAIL)
    • Removed from Puppet and PuppetDB if present and deleted any certificates
    • Removed from Debmonitor if present
    • Forced UEFI HTTP Boot for next reboot
    • Host rebooted via Redfish
    • Host up (Debian installer)
    • The reimage failed, see the cookbook logs for the details. You can also try typing "sudo install-console mwlog2003.codfw.wmnet" to get a root shell, but depending on the failure this may not work.

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

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

  • mwlog2003 (PASS)
    • 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 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202602132203_pt1979_3380529_mwlog2003.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

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

[operations/puppet@production] Remove mwlog2003 so it can use the default partman

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

Change #1239435 merged by Papaul:

[operations/puppet@production] Remove mwlog2003 so it can use the default partman

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

Papaul subscribed.

@herron this complete and ready for you. thanks