Update
After a Libera.Chat IRC netsplit tcpircbot-logmsgbot on alert1001 was still seen as connected to the channels but was not able to deliver !log messages to the #wikimedia-operations channel.
tcpircbot-logmsgbot should be more resilient to IRC netsplits/disconnect/re-authentication and/or systemd should restart the whole unit if we detect the bot is not fully operational.
Original title: dbctl !log doesn't work
Original task description
All of a sudden dbctl config commit isn't logging things:
root@cumin1001:/home/marostegui/T282373_T282372_T282371# dbctl instance db2071 pool root@cumin1001:/home/marostegui/T282373_T282372_T282371# dbctl config commit -m "Repool db2071" codfw/groupLoadsBySection/s1 live codfw/groupLoadsBySection/s1 generated { { "api": { "api": { "db2071": 100, "db2072": 100, "db2072": 100, "db2092": 100, "db2092": 100, "db2130": 100 "db2130": 100 }, }, "contributions": { "contributions": { codfw/sectionLoads/s1 live codfw/sectionLoads/s1 generated [ [ { { "db2112": 0 "db2112": 0 }, }, { { "db2071": 200, "db2072": 200, "db2072": 200, "db2085:3311": 50, "db2085:3311": 50, "db2088:3311": 50, "db2088:3311": 50, "db2092": 200, "db2092": 200, "db2103": 400, "db2103": 400, Enter y or yes to confirm: y Previous configuration saved. To restore it run: dbctl config restore /var/cache/conftool/dbconfig/20210602-045736-marostegui.json WARNING:conftool.announce:dbctl commit (dc=all): 'Repool db2071', diff saved to https://phabricator.wikimedia.org/P16248 and previous config saved to /var/cache/conftool/dbconfig/20210602-045736-marostegui.json
The !log part doesn't seem to be arriving to IRC.
The bot is on -operations as I just tried:
[06:56:09] <marostegui> !log Test [06:56:12] <stashbot> Logged the message at https://wikitech.wikimedia.org/wiki/Server_Admin_Log