Page MenuHomePhabricator

Q3:rack/setup/install gerrit1003
Closed, ResolvedPublic

Description

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

Hostname / Racking / Installation Details

Hostnames: gerrit1003 (for historical context: gerrit1002 was used for a short-lived VM)
Racking Proposal: Any 1G rack with public vlan
Networking Setup: single 1G public vlan with IPv4/IPv6
Partitioning/Raid: 2 dev raid1
OS Distro: Bullseye
Sub-team Technical Contact: @LSobanski

Per host setup checklist

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

gerrit1003:
  • - receive in system on procurement task T323992 & 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::serviceops.
  • - OS installation & initital puppet run via sre.hosts.reimage cookbook.

Event Timeline

RobH added a parent task: Unknown Object (Task).
RobH mentioned this in Unknown Object (Task).

gerrit1003 B5 U13 port 4 Cableid 2988

Jclark-ctr moved this task from Racking Tasks to Remote Work on the ops-eqiad board.
Jclark-ctr updated the task description. (Show Details)
Jclark-ctr subscribed.

Change 904586 had a related patch set uploaded (by Cmjohnson; author: Cmjohnson):

[operations/puppet@production] updating site.pp and netboot with new gerrit1003

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

Change 904586 merged by Cmjohnson:

[operations/puppet@production] updating site.pp and netboot with new gerrit1003

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

Cookbook cookbooks.sre.hosts.reimage was started by cmjohnson@cumin1001 for host gerrit1003.wikimedia.org with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by cmjohnson@cumin1001 for host gerrit1003.wikimedia.org with OS bullseye executed with errors:

  • gerrit1003 (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)
    • The reimage failed, see the cookbook logs for the details

Cookbook cookbooks.sre.hosts.reimage was started by cmjohnson@cumin1001 for host gerrit1003.wikimedia.org with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by cmjohnson@cumin1001 for host gerrit1003.wikimedia.org with OS bullseye executed with errors:

  • gerrit1003 (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)
    • The reimage failed, see the cookbook logs for the details

Cookbook cookbooks.sre.hosts.reimage was started by pt1979@cumin2002 for host gerrit1003.wikimedia.org with OS bullseye

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host gerrit1003.wikimedia.org with OS bullseye completed:

  • gerrit1003 (PASS)
    • 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)
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202303310020_pt1979_188093_gerrit1003.out
    • Checked BIOS boot parameters are back to normal
    • 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