[02:28:26] !log tools.poty-stuff Updated from 6e373a1 to e9c718b [02:28:28] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.poty-stuff/SAL [04:16:09] !log tools.poty-stuff Updated from e9c718b to 0e07b10 [04:16:11] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.poty-stuff/SAL [04:19:22] !log tools.poty-stuff Updated from 0e07b10 to 9bb8810 [04:19:23] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.poty-stuff/SAL [04:48:11] !log tools.poty-stuff Updated from 9bb8810 to e3df08a [04:48:13] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.poty-stuff/SAL [06:35:59] !log tools.poty-stuff Updated from e3df08a to 66a1771 [06:36:01] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.poty-stuff/SAL [06:46:12] !log tools.poty-stuff Updated from 05165c6 to 01615c9 [06:46:14] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.poty-stuff/SAL [06:51:39] !log tools.poty-stuff Updated from 01f2f0b to a2eeb86 [06:51:41] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.poty-stuff/SAL [07:01:53] !log tools.poty-stuff Updated from a2eeb86 to 2466914 [07:01:55] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.poty-stuff/SAL [07:07:58] !log tools.poty-stuff Updated from 2466914 to 8a06b28 [07:07:59] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.poty-stuff/SAL [13:27:37] !log tools.fourohfour scaled up the deployment to 4 replicas (T335680) [13:27:42] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.fourohfour/SAL [13:27:42] T335680: ProbeDown tools http_this_tool_does_not_exist_toolforge_org_ip4: tool fourohfour flapping - https://phabricator.wikimedia.org/T335680 [13:53:48] !log admin running wmcs-novastats-puppetleaks in real mode T334127 [13:53:53] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [13:53:53] T334127: Puppet ENC has stale data for deleted projects - https://phabricator.wikimedia.org/T334127 [14:05:31] !log tools.lexeme-forms deployed 692e255a50 (refactor matching.py, should make no difference) [14:05:33] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [14:39:04] hi! I see some folks are able to use !log without writing it here in this channel. How might I do that? I think I vaguely recall someone saying there's way to do this from a VPS instance (after installing something something)? [14:39:40] on Toolforge there’s a `dologmsg` command [14:39:51] e.g. I made the previous log message with [14:39:53] dologmsg 'deployed 692e255a50 (refactor matching.py, should make no difference)' [14:40:18] (if run from a tool account, it grabs the for the log message from $SUDO_USER) [14:40:34] I don’t know if cloud VPS instances have something similar [14:42:31] okay thanks! I don't have a Toolforge account to log from in this case. I might have been imagining things when I thought you could do it from VPS, too [14:43:55] right now the script (modules/profile/templates/wmcs/dologmsg.erb) looks toolforge-specific, but it should be possible to adapt it for generic cloud vps use too [14:44:49] you can see the script without a toolforge account here btw https://gerrit.wikimedia.org/g/operations/puppet/+/production/modules/profile/templates/wmcs/dologmsg.erb [14:48:39] looks like it may work as-is... `$( it won't [14:49:21] on the very last line it assumes "$USER" (which is the tool name on toolforge) is the sal target, which is not the case on vps projects [14:49:24] but it doesn’t use $wmcs_project for the logging user [14:49:26] yeah [14:49:54] I see [14:50:00] okay, so it needs a few tweaks [14:50:18] yeah, but nothing very complicated [14:50:33] also just curious, why is this .erb when it's bash? Isn't .erb for Ruby templates? [14:52:01] look at the very last line, it takes the host and port from hiera directly. this kind of raw script templating is discouraged these days (because it prevents running the scripts via linters), but there are existing scripts like this which still do it [14:52:11] ah, yes I saw that just after I said it, lol [14:52:49] so for that to work I'd need a Ruby interpreter and all that, too [14:53:18] puppet does that for you, the resulting file on disk will be a regular bash script [14:53:28] I see [14:53:44] well thanks anyway, I won't bother trying to rework the script and instead just use this channel for now :) [15:16:57] !log tools.lexeme-forms deployed 1554678038 (improve matching.py for upcoming templates, should make no difference at the moment) [15:17:00] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [15:21:34] !log tools.lexeme-forms deployed 75230357a4 (l10n updates: lt) [15:21:36] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [15:29:59] !log tools.fourohfour scaled up to 6 replicas (T335680) [15:30:02] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.fourohfour/SAL [15:30:03] T335680: ProbeDown tools http_this_tool_does_not_exist_toolforge_org_ip4: tool fourohfour flapping - https://phabricator.wikimedia.org/T335680 [17:41:03] !log tools.lexeme-forms deployed 1380884cce (upgrade dependescies, GHSA-m2qf-hxjv-5gpq) [17:41:06] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [17:50:14] !log wikistats - running "/usr/lib/wikistats/update.php mw autofixit" which means "go trough mediawikis table, take all wikis that got a 301 last time they tried to talk to API, see where you get redirected to and if it looks like a valid api.php then use the new URL and update the database". [17:50:16] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikistats/SAL [17:53:03] !log tools.wd-image-positions deployed 3cfa978e37 (upgrade dependencies, GHSA-m2qf-hxjv-5gpq) [17:53:04] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.wd-image-positions/SAL [20:37:06] !log tools.ws-cat-browser `webservice restart` because https://ws-cat-browser.toolforge.org/toolinfo.json was returning 504 status [20:37:08] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.ws-cat-browser/SAL [20:43:26] !log tools.deno Hard stop and start because https://deno.toolforge.org/toolinfo.json was returning 504 status and a soft restart did not fix things. [20:43:28] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.deno/SAL [20:50:56] !log tools.remarkup2wikitext Hard stop/start cycle because https://remarkup2wikitext.toolforge.org/toolinfo.json was returning a 504 status and a soft restart did not correct things. [20:50:58] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.remarkup2wikitext/SAL [20:56:52] !log tools.gerrit-patch-uploader Hard stop/start because https://gerrit-patch-uploader.toolforge.org/static/toolinfo.json was returing 504 status. [20:56:58] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.gerrit-patch-uploader/SAL [21:00:50] !log tools.dicompte Hard stop/start because https://dicompte.toolforge.org/toolinfo.json was returning a 504 status. [21:00:51] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.dicompte/SAL [23:41:59] !log tools.lexeme-forms deployed 88da33ddc5 (GitHub actions only change, pulled without webservice restart) [23:42:02] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lexeme-forms/SAL [23:45:47] !log tools.speedpatrolling deployed 2174640dfb (upgrade dependencies, GHSA-m2qf-hxjv-5gpq) [23:45:48] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.speedpatrolling/SAL [23:47:55] !log tools.quickcategories deployed 18060ebfea (upgrade dependencies, GHSA-m2qf-hxjv-5gpq) [23:47:57] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.quickcategories/SAL [23:50:31] !log tools.pagepile-visual-filter deployed 38bfdce6c7 (upgrade dependencies, GHSA-m2qf-hxjv-5gpq) [23:50:32] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.pagepile-visual-filter/SAL [23:52:17] !log tools.ranker deployed 5e36e13fb0 (upgrade dependencies, GHSA-m2qf-hxjv-5gpq) [23:52:18] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.ranker/SAL