We have a new mirror host, we need to get the mirrors updated and then switch over the mirrors.wikimedia.org CNAME.
- cut over dns
- monitor debian mirroring, tail -F auth.log|grep ftpsync
- decom sodium
We have a new mirror host, we need to get the mirrors updated and then switch over the mirrors.wikimedia.org CNAME.
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | jhathaway | T286898 Setup new mirror server (mirror1001.wikimedia.org) | |||
| Resolved | jhathaway | T297508 reimage physical host with new hostname mirror1001 | |||
| Resolved | • Cmjohnson | T297906 Change physical label from copernicum.wikimedia.org to mirror1001.wikimedia.org | |||
| Resolved | jhathaway | T298727 decom sodium | |||
| Resolved | Request | • Cmjohnson | T299785 decommission sodium.wikimedia.org |
Change 745612 had a related patch set uploaded (by JHathaway; author: JHathaway):
[operations/puppet@production] debian mirrors: add new mirror, copernicium in eqiad
Cookbook cookbooks.sre.hosts.reimage was started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye
Cookbook cookbooks.sre.hosts.reimage started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye executed with errors:
Cookbook cookbooks.sre.hosts.reimage was started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye
Cookbook cookbooks.sre.hosts.reimage started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye executed with errors:
Cookbook cookbooks.sre.hosts.reimage was started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye
Cookbook cookbooks.sre.hosts.reimage started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye executed with errors:
Cookbook cookbooks.sre.hosts.reimage was started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye
Cookbook cookbooks.sre.hosts.reimage started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye executed with errors:
Cookbook cookbooks.sre.hosts.reimage was started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye
Cookbook cookbooks.sre.hosts.reimage started by jhathaway@cumin1001 for host mirror1001.wikimedia.org with OS bullseye completed:
Change 745612 merged by JHathaway:
[operations/puppet@production] debian mirrors: add new mirror, mirror1001 in eqiad
Change 747933 had a related patch set uploaded (by JHathaway; author: JHathaway):
[operations/dns@master] mirrors.wikimedia.org: point to new mirror
Change 749146 had a related patch set uploaded (by Jbond; author: jbond):
[operations/puppet@production] mirrors.wikimedia.org: Add new mirror server to dmz_cidr
Change 749146 merged by Jbond:
[operations/puppet@production] mirrors.wikimedia.org: Add new mirror server to dmz_cidr
Change 747933 merged by JHathaway:
[operations/dns@master] mirrors.wikimedia.org: point to new mirror
Not sure if this has been flagged by anyone else or considered but note that our mirror is an official mirror for Debian, Ubuntu and Tails. For at least Debian, sodium's IPs are in the ftp.us.debian.org rotation (and thus has to be an A/AAAA rather than a CNAME). I still see sodium's IPs there. I think Debian has some automated machinery to update these IPs but I'm not sure what triggers it - so be careful when turning off sodium. We're also a push mirror, which means that Debian's infrastructure triggers an update through SSH; not sure if this works yet?
I haven't touched all this for some years now so I may also be missing steps (or maybe I'm too paranoid and everything will just work out fine :). I also realize that our mirror configs may not be as adequately documented; give the config a closer look if you haven't, and don't hesitate to ask questions :)
Thanks Faidon, definitely not too paranoid. I missed the need to have Debian update their side of the DNS. I have reached out to the Debian mirrors team to have them update the DNS records, but in the meantime we will keep sodium up to date until that change is made. I will also reach out to the Ubuntu & Tails teams to confirm they have the updated IP for mirrors.wikimedia.org. You may have not touched it for years, but your memory seems spot on! Also, I will update the docs to reflect the need to have the A/AAAA records updated.
Mentioned in SAL (#wikimedia-operations) [2022-01-12T19:12:10Z] <mutante> mirror1001 - CRITICAL - degraded: The following units failed: update-ubuntu-mirror.service - T286898
are we in a state to revert https://gerrit.wikimedia.org/r/c/operations/puppet/+/748740 yet?