Page MenuHomePhabricator

(Need By: TBD) rack/setup/install ml-staging200[12]
Closed, ResolvedPublic

Description

This task will track the racking, setup, and OS installation of ml-staging200[12]

Hostname / Racking / Installation Details

Hostnames: ml-staging200[12]
Racking Proposal: If possible they should be placed in different racks, no constraints on the rest
Networking/Subnet/VLAN/IP: private vlan, 1G
Partitioning/Raid: Same as ml-serve*
OS Distro: Buster

Per host setup checklist

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

ml-staging2001: A6 U35-36 ge-6/0/34

  • - receive in system on procurement task T291975 & in coupa
  • - rack system with proposed racking plan (see above) & update netbox (include all system info plus location, state of planned)
  • - bios/drac/serial setup/testing
  • - 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 to commit
  • - firmware update (idrac, bios, network, raid controller)
  • - operations/puppet update - this should include updates to install_server dhcp and netboot, and site.pp role(insetup) or cp systems use role(insetup::nofirm).
  • - OS installation & initital puppet run via wmf-auto-reimage or wmf-auto-reimage-host

ml-staging2002: D1 -U29-30 ge-1/0/28

  • - receive in system on procurement task T291975 & in coupa
  • - rack system with proposed racking plan (see above) & update netbox (include all system info plus location, state of planned)
  • - bios/drac/serial setup/testing
  • - 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 to commit
  • - firmware update (idrac, bios, network, raid controller)
  • - operations/puppet update - this should include updates to install_server dhcp and netboot, and site.pp role(insetup) or cp systems use role(insetup::nofirm).
  • - OS installation & initital puppet run via wmf-auto-reimage or wmf-auto-reimage-host

Once the system(s) above have had all checkbox steps completed, this task can be resolved.

Related Objects

Event Timeline

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

Can someone please update this task with the Partitioning/Raid information?

Thanks.

Can someone please update this task with the Partitioning/Raid information?

Thanks.

Hi Papaul! These nodes should have the same hardware as the m-serve* ones, so the raid partitioning scheme is the same.

Change 758725 had a related patch set uploaded (by Elukey; author: Elukey):

[operations/puppet@production] install_server: add partman recipe for ml-staging nodes

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

Change 758725 merged by Elukey:

[operations/puppet@production] install_server: add partman recipe for ml-staging nodes

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

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

[operations/puppet@production] Add ml-staging200[12] to site.pp with role insetup

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

Change 758928 merged by Papaul:

[operations/puppet@production] Add ml-staging200[12] to site.pp with role insetup

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

Cookbook cookbooks.sre.hosts.reimage was started by pt1979@cumin2002 for host ml-staging2001.codfw.wmnet with OS buster

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host ml-staging2001.codfw.wmnet with OS buster executed with errors:

  • ml-staging2001 (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 ml-staging2001.codfw.wmnet with OS buster

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host ml-staging2001.codfw.wmnet with OS buster completed:

  • ml-staging2001 (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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202202011824_pt1979_1104005_ml-staging2001.out
    • Checked BIOS boot parameters are back to normal
    • 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 -> staged

Cookbook cookbooks.sre.hosts.reimage was started by pt1979@cumin2002 for host ml-staging2002.codfw.wmnet with OS buster

Cookbook cookbooks.sre.hosts.reimage started by pt1979@cumin2002 for host ml-staging2002.codfw.wmnet with OS buster completed:

  • ml-staging2002 (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 buster 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202202011845_pt1979_1108513_ml-staging2002.out
    • Checked BIOS boot parameters are back to normal
    • 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 -> staged

@elukey all yours leaving the task open since i don't have the Packing Slip to receive the servers in Coupa

Papaul updated the task description. (Show Details)

complete