Page MenuHomePhabricator

eqiad/codfw: 3 trixie VMs for rdb-lock
Closed, ResolvedPublic

Description

Site/Location: eqiad and codfw
Number of systems: 3 in each datacentre
Service: rdb-lock T427999: Redis solution for LockManager
Networking Requirements: internal IP, access from WikiKube
Processor Requirements: 4vCPU
Memory: 5GB
Disks: 30GB

Rely on client-side quorum, so spread'em out :D

Event Timeline

Looks good, for eqiad please use A, B, C and for codfw B, C, D

Clement_Goubert changed the task status from Open to In Progress.Wed, Aug 12, 10:54 AM
Clement_Goubert claimed this task.
Clement_Goubert updated the task description. (Show Details)
Clement_Goubert moved this task from Needs Info / Blocked to In Progress on the ServiceOps board.

Change #1324692 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] rdb-lock: Prepare adding VMs for new cluster

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

Change #1324693 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] rdb-lock: Create puppet role redis::lock::instance

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

Change #1324694 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] site.pp: Configure rdb-lock instances

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

Change #1324692 merged by Clément Goubert:

[operations/puppet@production] rdb-lock: Prepare adding VMs for new cluster

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

Cookbook cookbooks.sre.hosts.reimage was started by cgoubert@cumin2003 for host rdb-lock1001.eqiad.wmnet with OS trixie

Cookbook cookbooks.sre.hosts.reimage was started by cgoubert@cumin2003 for host rdb-lock2001.codfw.wmnet with OS trixie

Cookbook cookbooks.sre.hosts.reimage started by cgoubert@cumin2003 for host rdb-lock1001.eqiad.wmnet with OS trixie completed:

  • rdb-lock1001 (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 gnt-instance
    • Host up (Debian installer)
    • Set boot media to disk
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202608121338_cgoubert_1012335_rdb-lock1001.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

Cookbook cookbooks.sre.hosts.reimage started by cgoubert@cumin2003 for host rdb-lock2001.codfw.wmnet with OS trixie completed:

  • rdb-lock2001 (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 gnt-instance
    • Host up (Debian installer)
    • Set boot media to disk
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202608121349_cgoubert_1013090_rdb-lock2001.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

Cookbook cookbooks.sre.hosts.reimage was started by cgoubert@cumin2003 for host rdb-lock1002.eqiad.wmnet with OS trixie

Cookbook cookbooks.sre.hosts.reimage was started by cgoubert@cumin2003 for host rdb-lock2002.codfw.wmnet with OS trixie

Cookbook cookbooks.sre.hosts.reimage started by cgoubert@cumin2003 for host rdb-lock1002.eqiad.wmnet with OS trixie completed:

  • rdb-lock1002 (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 gnt-instance
    • Host up (Debian installer)
    • Set boot media to disk
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202608121423_cgoubert_1026127_rdb-lock1002.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

Cookbook cookbooks.sre.hosts.reimage was started by cgoubert@cumin2003 for host rdb-lock1003.eqiad.wmnet with OS trixie

Cookbook cookbooks.sre.hosts.reimage started by cgoubert@cumin2003 for host rdb-lock2002.codfw.wmnet with OS trixie completed:

  • rdb-lock2002 (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 gnt-instance
    • Host up (Debian installer)
    • Set boot media to disk
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202608121439_cgoubert_1029247_rdb-lock2002.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

Cookbook cookbooks.sre.hosts.reimage started by cgoubert@cumin2003 for host rdb-lock1003.eqiad.wmnet with OS trixie completed:

  • rdb-lock1003 (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 gnt-instance
    • Host up (Debian installer)
    • Set boot media to disk
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202608121503_cgoubert_1040420_rdb-lock1003.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

Cookbook cookbooks.sre.hosts.reimage was started by cgoubert@cumin2003 for host rdb-lock2003.codfw.wmnet with OS trixie

Cookbook cookbooks.sre.hosts.reimage started by cgoubert@cumin2003 for host rdb-lock2003.codfw.wmnet with OS trixie completed:

  • rdb-lock2003 (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 gnt-instance
    • Host up (Debian installer)
    • Set boot media to disk
    • 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
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202608141044_cgoubert_1614955_rdb-lock2003.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

Resolving, VMs are now created, configuration followup in parent task

Change #1324693 merged by Clément Goubert:

[operations/puppet@production] rdb-lock: Create puppet role redis::lock::instance

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

Change #1325875 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] external_services: Just in case, add redis-lock

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

Change #1324694 merged by Clément Goubert:

[operations/puppet@production] site.pp: Configure rdb-lock instances

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

Change #1325875 merged by Clément Goubert:

[operations/puppet@production] external_services: Just in case, add redis-lock

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