[06:21:46] !log tools.ldap Switched to read-only LDAP servers, moved webservice to Python 3.9 [06:21:49] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.ldap/SAL [09:26:11] good morning [09:27:06] y'day I had this same error with my pywikibot: [09:27:13] https://pastebin.com/0jLxe2dP [09:27:53] Jon told me to substitute "replace.py" for only "replace" [09:28:04] but still, it does not work [09:28:11] could somebody help me? [09:28:17] Thanks in advance [09:36:44] Pau can you share the command you are using? [09:38:30] i think you are using the wrong path. I'm getting the same error as you if i do [09:38:31] python3 /data/project/shared/pywikibot/core/pwb.py replace "A" "B" -start:X [09:38:32] But no error if i do: [09:38:34] python3 /data/project/shared/pywikibot/stable/pwb.py replace "A" "B" -start:X [09:40:24] good morning, Jon [09:40:43] yes [09:40:54] I'm in "core" [09:41:06] I'll try to change it [09:42:26] it works now [09:42:34] thanks, again! [09:42:36] great 👍 [09:42:52] 😊 [10:27:18] arturo: thanks will do :) [10:27:50] sry wrong channel [10:28:33] np :-) [12:41:26] Hello. Quick question; is there any known issue with rebuilding hosts from Horizon? I have a couple of hosts that I wish to rebuild with Buster instead of Bullseye, but they keep stubbornly booting the installed O/S. [12:42:46] btullis: the safest / easier is to create a new VM, migrate the data, delete old VM [12:43:33] you could drop the old VM and build a new one reusing the old name, but you will need to wait for DNS caches to be aware of the new IP address [12:44:48] arturo: Thanks. There's no data of any value, I was just hoping to be able to use the rebuilding from a clean O/S without deleting, waiting, then re-creating with the same name. [12:45:35] But it's OK, if it's a known issue that it just doesn't work, that's fine. I will stop hitting my head against it. [12:45:37] you could also upgrade in place via apt-get, but that will confuse our base os image tracking mechanisms, so not recommended [12:45:58] It's a downgrade :-) Even less recommended. [12:46:11] heh [12:46:26] never did that myself before. But the destroy/create should work for that too [12:47:04] Could I trick the VM into booting into PXE mode once, somehow? [12:47:53] there's no PXE in cloud VPS [12:48:46] at VM build time, the glance base image is copied into the new VM base disk [12:48:59] then the VM is booted from that base disk, puppet runs, etc [12:51:54] OK, thanks again arturo. I'll work around. [12:52:05] 👍 np [13:52:45] !log tools.wd-image-positions deployed 61e649c853 (fix error for some IIIF manifests) [13:52:48] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.wd-image-positions/SAL [17:39:31] !log tools.notwikilambda deleted function-evaluator deployment T296421 [17:39:34] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [17:47:26] !log tools.notwikilambda ran `npm ci` in function-evaluator (in webservice node12 shell), for some reason node_modules/limitation was on 0.2.2 despite package-lock.json having 0.2.3 (T296421) [17:47:29] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [17:50:03] !log tools.notwikilambda recreated function-evaluator deployment (still on commit 8731f2ff6e, no changes) T296421 [17:50:05] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [18:01:11] !log tools.notwikilambda renamed $wgWikiLocation to $wgWikiLambdaWikiAPILocation in local settings T296421, and also changed it to internal hostname (notwikilambda:8000), no need to go through the Toolforge proxy [18:01:14] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.notwikilambda/SAL [23:18:40] hi! I want to restart my web service from inside another grid job, but I'm getting "sh: 1: webservice: not found" [23:20:05] I'm trying to add a simple script that would check if my webservice is running or not, it crashes from time to time (unknown mono issue). should I run it without jsub if `webservice` isn't available on grid? [23:26:36] how is it determining if your webservice is running? [23:27:53] checking http status code [23:27:59] if it's 500 - time to restart [23:32:35] is your webservice running on the grid, or on the kubernetes backend? [23:35:37] probably the grid if it's running on mono. [23:35:38] on the grid [23:41:24] yeah, running the restart script on the bastion is probably the better option [23:41:43] https://wikitech.wikimedia.org/wiki/Help:Toolforge/Grid#Scheduling_jobs_at_regular_intervals_with_cron [23:49:50] okay, thanks. I will run it without jsub then