Still on precise, migrate to jessie (maerlant and nescio are already on jessie, others are using trusty)
Description
Details
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| installserver: let hydrogen use jessie installer | Dzahn | operations/puppet | production | +2 -0 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Dzahn | T123525 reduce amount of remaining Ubuntu 12.04 (precise) systems in production | |||
| Resolved | Dzahn | T123727 Migrate hydrogen/chromium to jessie |
Event Timeline
since these are dnsrecursors (i addition to urldownloader), what steps have to be taken before one of them can be taken down for reinstall? any?
For the dnsrec service the server should be depooled via confctl. For NTP all our servers are configured to use multiple NTP servers, so as long as only one system is being reimaged at a time, it should be fine.
Change 285753 had a related patch set uploaded (by Dzahn):
installserver: let hydrogen use jessie installer
get:
[palladium:~] $ sudo confctl --tags dc=eqiad,cluster=dns,service=pdns_recursor --action get hydrogen.wikimedia.org
{"hydrogen.wikimedia.org": {"pooled": "yes", "weight": 10}, "tags": "dc=eqiad,cluster=dns,service=pdns_recursor"}
[palladium:~] $ sudo confctl --tags dc=eqiad,cluster=dns,service=pdns_recursor --action get chromium.wikimedia.org
{"chromium.wikimedia.org": {"pooled": "yes", "weight": 10}, "tags": "dc=eqiad,cluster=dns,service=pdns_recursor"}
set (not executed) would then be:
sudo confctl --tags dc=eqiad,cluster=dns,service=pdns_recursor --action set/pooled-no hydrogen.wikimedia.org
and no edit needed in the puppet repo in conftool-data.. does that all seem right?
hydrogen and chromium also appear on T136562 for not having RAID.
that should be done as part of this ticket too
we picked hydrogen to start with.
https://gerrit.wikimedia.org/r/#/c/306262/
removes it from /etc/resolv.conf on LVS servers
after that we are going to depool it
hydrogen was in netboot.cfg twice with different partman recipe
https://gerrit.wikimedia.org/r/#/c/306272/
had to racreset to see console output after reboot, booted into PXE, reinstalled with jessie now
re-added to puppet, re-added to salt
21:05 mutante: hydrogen - reinstall finished, re-added to salt, restarted ntpd
20:42 mutante: hydrogen - signing new puppet cert
20:22 mutante: hydrogen - reinstalling one more time, wrong partitioning
19:55 mutante: re-signing new puppet certs for hydrogen, initial run, new salt key
installed a second time. now with RAID (/dev/md0)
restarted NTP server, checked that it was in sync with chromium.. icinga recovered..
checked that /etc/powerdns was populated, service is running after second puppet run
tested with dig that it answers to requests over from palladium
21:27 logmsgbot: dzahn@palladium conftool action : set/pooled=yes; selector: dc=eqiad,cluster=dns,name=hydrogen.wikimedia.org
saw traffic coming back in ganglia
waited a little while and then reverted the LVS config change:
https://gerrit.wikimedia.org/r/#/c/306275/
ran puppet on lvs100x...
NTP in sync with chromium:
root@hydrogen:~# ntpdc -c peers | grep chrom
+chromium.wikime 2620:0:861:1:20 3 128 377 0.00009 -0.012633 0.08954
and Icinga: NTP OK: Offset -0.006912 secs
also, counter increasing here on lvs1002
root@lvs1002:~# ipvsadm -Ln -u 208.80.154.239:53 Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn UDP 208.80.154.239:53 wrr -> 208.80.154.50:53 Route 10 0 1215214 -> 208.80.154.157:53 Route 10 0 2709388
21:27 mutante: depooling chromium for reinstall. scheduled downtime for host and service IPs
21:50 mutante: running puppet on lvs servers, removing chromium from resolv.conf for reinstall
22:05 mutante: stopping puppet and pdns-recursor on chromium
22:20 mutante: rebooting chromium into PXE
22:49 mutante: chromium - revoking and re-signing puppet certs, salt keys, initial puppet run..
https://gerrit.wikimedia.org/r/#/c/306555/
https://gerrit.wikimedia.org/r/#/c/306311/
reinstalled with jessie
< mutante> !log chromium - install ntpdate, stop ntp, sync time with hydrogen, start ntp, remove ntpdate
< icinga-wm> RECOVERY - NTP peers on chromium is OK: NTP OK: Offset -0.00151 secs
16:49 < logmsgbot> !log dzahn@palladium conftool action : set/pooled=yes; selector: name=chromium.wikimedia.org
17:14 < mutante> !log chromium back in service - both eqiad DNS recursors now on jessie