[08:30:52] replication broke on m5 [08:32:31] so I am not crazy, someone is modifying dump grants [08:40:06] what is going on???? https://phabricator.wikimedia.org/P60740 [08:40:51] that is for db2135, the codfw master [08:40:59] which should not have dumping grants in the first place [08:42:19] is there any script automating grants? [08:43:16] marostegui: I am lost, how to proceed? [08:44:12] oh [08:44:17] it's me [08:44:33] but I am guessing not manual/intended? [08:44:39] indeed [08:44:46] I muste have grepped a bit too much on the grants I'm trying to fix [08:44:51] it explains why I was having trouble :/ [08:44:52] your script may have a bug :-D [08:45:26] also, grants for the dump user should never exist on the masters or regular slaves [08:45:44] ah [08:46:10] that is why the template has those separate on puppet with dump- [08:46:33] in any case, you don't have to handle that- just ping me and I will do it [08:47:01] thanks jynus, did I broke dump somehow? [08:47:10] not dumps, production broke [08:47:21] 😬 [08:47:25] replication broke [08:47:47] yeah [08:47:47] let's start by fixing that [08:47:49] I am going to fix that [08:48:01] did you ran anyhing other than grant? to skip it [08:48:17] then I will help cleaning up the grants [08:48:25] but waiting for manuel [08:48:34] I am going to skip those specific transactions related to grants [08:48:36] don't want to touch the same server twice [08:48:44] marostegui: I will let you do that [08:48:53] let's sync when you are done [08:49:05] yep, I will get back to you, there are quite a few [08:50:02] I've dropped/created databases but I was struggling with grants before this [08:50:17] yeah, right now there are so many striker grants on m5 that I am not sure which ones are correct anymore [08:50:29] you can drop all that looks like toolsbeta [08:50:46] as it was the ones I was trying to create [08:50:54] you really like toolsbeta :-D `strikertoolsbetatoolsbetatoolsbetatoolsbeta_toolsbeta` [08:51:07] :D [08:51:43] after that, let's meet for a mysql grant and revoke primer (if you want) [08:51:54] a session [08:52:36] after I pick back mariadbtest to create myself a sandbox, avoiding this kind of event [08:52:40] in any case, you don't need to handle dump grants, I do [08:52:42] but gladly jynus thanks! [08:54:42] jynus: I think I have fixed everything, and dropped the NOT dump grants. So can you go ahead and check which dump users have to be and drop those that aren't needed on the master? (and slaves) [08:54:57] yeah, I will do a cleanup now [08:55:06] if you finish touching it? [08:56:02] in general, there should not be dump hosts on live production ones, with the exception of es* hosts [08:56:09] *dump grants [08:57:50] jynus: I am fully done [08:58:50] thanks guys <3 [08:59:07] arnaudb: don't worry about it, mistakes happens :) [09:01:51] the masters are now cleanup, I will now handle the replicas [09:07:26] I cleaned up db1217 [09:07:34] db2160 next [09:21:33] so both puppet/modules/profile/templates/mariadb/grants/production-m5.sql.erb and dumps-{eqiad,codfw}-m5.sql.erb need update [09:21:46] can you help with the first one, arnaudb? [09:21:53] I will handle the dump grants [09:22:53] yep [09:23:27] it is probably easier to revert https://gerrit.wikimedia.org/r/c/operations/puppet/+/1018408 and start from scratch [09:24:05] Or maybe not, I am not following closely for now :) [10:54:48] sorry, got distracted by outage [10:54:55] will go back to you soon [11:04:45] marostegui arnaudb: Planning to start a schema change on s8, there is anything on the map for today but double checking just in case [11:05:21] not from my side [11:05:22] looks good to me! [11:06:28] awesome [16:10:29] marostegui: some good news for you [16:12:50] https://phabricator.wikimedia.org/T360029#9723385 [16:20:30] Oh nice