Per T354869, we have to renumber various wikikube servers in codfw, namely in rows A/B. We 'll also utilize the opportunity for downtime to reimage and rename them.
Handle renumbering and vlan move for wikikube nodes, ideally before T370962: Southward Datacenter Switchover (September 2024)
Per-host tracking sheet:
https://docs.google.com/spreadsheets/d/1HvaScZNUH-toZrlYKNlLyHs5an6rXT5uUxQ1Nl49I5M/edit?usp=sharing
Procedure
Workers
Rename and renumber
- Locally, use add_k8s_node.py --puppet-dir $PUPPET_DIR --netbox-url https://netbox.wikimedia.org --netbox-token $NETBOX_TOKEN --task-id T372878 --rename-only --move-vlan $FQDNS (from serviceops kitchensink, make sure to pull main)
- Follow the instructions
- Make sure that the old names were correctly deactivated from puppetserver sudo puppet node deactivate $old_fqdn
- Run homer 'cr*codfw*' commit 'T372878' from cumin to remove the old BGP config
Note: When creating a relabel task, look if there isn't one already open and edit it to cut down on the number of small tasks for DC-Ops
Renumber only
From cumin, run:
- sudo cookbook sre.k8s.renumber-node -t T372878 $fqdn
- Follow the instructions from the cookbook for homer run (Running homer on the CR can technically be done as soon as the move-vlan part of the reimage cookbook is through)
Control plane
TODO