cumin1002 will replace cumin1001, we need to mimic the grants.
Do not remove cumin1001 grants for now.
This patch is merged: https://gerrit.wikimedia.org/r/c/operations/puppet/+/989144
What is pending is deploying the addition of the new user.
cumin1002 will replace cumin1001, we need to mimic the grants.
Do not remove cumin1001 grants for now.
This patch is merged: https://gerrit.wikimedia.org/r/c/operations/puppet/+/989144
What is pending is deploying the addition of the new user.
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T330490 Next steps for Puppet 7 | |||
| Resolved | jbond | T340739 Create cookbook to migrate servers from the puppetmasters to puppetservers | |||
| Open | None | T256888 Add 'End investigation' button to Special:Investigate | |||
| Open | Dreamy_Jazz | T190666 Add a check outcome feature | |||
| Resolved | Marostegui | T354336 Add columns cul_result_id and cul_result_plaintext_id to cu_log | |||
| Open | None | T365798 Shutdown of Puppet 5 servers | |||
| Resolved | MoritzMuehlenhoff | T349619 Migrate roles to puppet7 | |||
| Resolved | ABran-WMF | T352974 puppet7 on cumin breaks database connections | |||
| Resolved | Ladsgroup | T354719 Deploy grants for cumin1002 |
apache in people1004 is still serving the old omg.json file, otherwise, you could have seen the where is left. I can wait for a bit for cache to expire. I'll bug it if it's not done by tomorrow.
Excellent! I think then we are done. db-mysql works fine on cumin1002 thanks to @ABran-WMF so we should start moving all our stuff to cumin1002 and make sure it is all fine there.
zarcillo database (db1215) was missing. I have fixed,but I am wondering if there could be others?
clouddb10* hosts are missing.
misc hosts are missing
backup-eqiad* backup-codfw* and are missing
Some random hosts like db2102, db1208
Possibly others, let's double check with the output of the json file.
The random hosts is something that happens all the time, usually connection errors. I think I explicitly excluded clouddb for wikiuser rotation and that was left here. I'll remove that.
The misc and backups are probably because these sections are not added to omg. At least for this specific case, they should be added.
(sorry for the mess, the original script was written for rotation of wikiuser/wikiadmin)
Not a mess! It has already simplified a lot all the process. If you need some help, let me know!
In the case of cumin...of course we need them to be deployed everywhere, which is of course different from wikiuser/wikiadmin. Maybe we can add that feature to the script.
I re-ran the script again and added the users and grants, let's see what's missing now.
clouddb* hosts seem to be failing as well as db1208, db2102, dbstore1009:3350
The rest looks good!
okay, These seems to be something weird going on wrt these hosts.
The grants are there from what I'm seeing:
root@clouddb1021.eqiad.wmnet[(none)]> show grants for root@10.64.48.98; +------------------------------------------------------------------------------------------------------------------------+ | Grants for root@10.64.48.98 | +------------------------------------------------------------------------------------------------------------------------+ | GRANT `labsdbuser` TO `root`@`10.64.48.98` WITH ADMIN OPTION | | GRANT ALL PRIVILEGES ON *.* TO `root`@`10.64.48.98` IDENTIFIED BY PASSWORD '<redacted>' | +------------------------------------------------------------------------------------------------------------------------+ 2 rows in set (0.001 sec)
But in cumin1002, I get this:
ladsgroup@cumin1002:~$ sudo db-mysql clouddb1021:3311 ERROR 1045 (28000): Access denied for user 'root'@'10.64.48.98' (using password: YES)
It can be the ssl issue but not sure.
db2102 fixed.
db1208 seems to be analytics related with matomo database - I am taking a look
db1208 fixed for matomo. The other database doesn't have root from cumin in any case, so I am not adding it.
All done
omg got updated as well: https://people.wikimedia.org/~ladsgroup/omg/
(The issue was that I was pushing to people host in eqiad while the active one is codfw).