[06:59:25] legoktm: thank you! I had https://gerrit.wikimedia.org/r/c/operations/cookbooks/+/626403 out after last switchover but it fell through the cracks (added you now to it) [16:35:16] godog: perfect :D [16:54:01] 'blubberoid', # blubberoid needs to follow swift replica for the docker registry [16:54:01] 'docker-registry', # swift replica goes codfw => eqiad and needs manual switching [16:54:10] are those reasons still legit now that we're switching swift too? [18:35:28] legoktm: sweet! thank you for merging, I don't know about blubberoid but yes docker-registry swift is still manual for now [18:38:08] * legoktm nods [18:38:14] the other thing I wanted to figure out was how to automate https://wikitech.wikimedia.org/wiki/Switch_Datacenter#Media_storage/Swift [18:40:09] legoktm: yeah I think if we can teach puppet (or maybe puppet knows already?) which mw site is primary then it should be straightforward [18:41:05] or sth along those lines, whether it is puppet that flip things or swiftrepl itself that knows how to DTRT [18:41:15] you get the idea [18:41:50] there's a WMFMasterDatacenter etcd setting, I'm not sure puppet can read it, but we could just have a wrapper around swiftrepl that checks it before running [18:42:34] yeah the wrapper SGTM [18:43:57] gotta go! ttyl [18:44:40] o/ [18:46:46] (drive-by) fwiw we do have mediawiki::state('primary_dc') in puppet but it's not great to use, the wrapper sounds better to me too