[03:12:08] hello i am having an issue instaling or configuring virtual editor correctly ? [04:39:39] zhuyifei1999_: are you around? [04:39:45] yeah [04:40:08] can I help with testing of this? https://gerrit.wikimedia.org/r/#/c/405830/ [04:41:12] sure [04:41:25] I mean, I'm not sure how to 'make sure a tool can use it' :-) [04:41:30] ummm [04:41:50] you can become zhuyifei1999-test [04:42:09] and the crontabs should be the same across all bastions [04:42:42] and they shoukld not be stored on the local instance, but on the cron host (I think it's tools-cron-01) [04:43:45] the editing happens locally, ssh only happens when the crontab is read / written, so checking process list may not be very reliable [04:45:12] where in the cron instance? [04:45:53] it calls the system /usr/bin/crontab [04:46:03] so I think somewhere in /var/spool [04:48:46] it works [04:49:07] I added a test line in tools-bastion-05 and it synced to tools-bastion-02 and tools-cron-01 [04:50:50] k :) [04:51:02] for root it is taking longer to sync [04:51:21] is the root contrab synced at all? [04:51:25] crontab* [04:51:52] the header says it comes from puppet [04:52:38] https://www.irccloud.com/pastebin/5lb5W6Qn/ [05:02:16] wait, I was using the patched code -_- [05:02:23] I wasn't* [05:10:05] zhuyifei1999_: as bd808 said, both root and a tool can use it, so I'm merging the patch [05:10:34] (03CR) 10Arturo Borrero Gonzalez: [C: 032] crontab: Remove -u parameter, and make uid < 500 always edit local [labs/toollabs] - 10https://gerrit.wikimedia.org/r/405830 (https://phabricator.wikimedia.org/T179386) (owner: 10Zhuyifei1999) [05:10:34] root crontab is not sync'ed [05:10:56] anyone with uid < 500 will be execv'ed into trhe system crontab [05:10:59] *the [05:11:22] true [05:11:28] (03Merged) 10jenkins-bot: crontab: Remove -u parameter, and make uid < 500 always edit local [labs/toollabs] - 10https://gerrit.wikimedia.org/r/405830 (https://phabricator.wikimedia.org/T179386) (owner: 10Zhuyifei1999) [05:11:53] BTW I copied oge-contrab into the home of your test tool [05:12:38] zhuyifei1999_: are you expecting more changes, or should I release a new version of the packages? [05:12:58] that was to fix puppet right? [05:13:06] Idk what to change [05:25:39] !log tools deploying misctools and jobutils 1.29 for T179386 [05:25:45] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [05:25:45] T179386: Prometheus crontab installations via Puppet failing on Toolforge bastion hosts due to remote crontab wrapper script - https://phabricator.wikimedia.org/T179386 [05:29:37] zhuyifei1999_: let's see how this evolves [05:29:44] k [05:29:44] now I'm out :-) see you! [05:29:48] see you [05:29:48] thanks zhuyifei1999_ !! [05:29:51] np [13:53:35] !help Hi, tools-bastion-03 responds very slowly to every kind of command in bash [13:53:35] avgas: If you don't get a response in 15-30 minutes, please create a phabricator task -- https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?projects=wmcs-team [13:53:44] there's some problem on server? [13:55:21] avgas: let me check [14:07:19] there are a few locally running processes in bastion-03, let me see if I can remedy that [14:24:33] ok, thanks [14:28:59] chicocvenancio: ok, now it's normal [14:34:40] !log git apt full-upgrade on jenkins-slave-01.git.eqiad.wmflabs [14:34:43] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Git/SAL [14:41:23] avgas: please run the scripts through grid, it was slow precisely for other tools running directly on bastion; the simplest way to send it to grid is `jsub your_command` [14:41:49] grid will run the program on other hosts, not on the one you SSH into [14:43:28] chicocvenancio: yeah but I usually have to interact with bot while it run... [14:43:52] ok, if I have full automatic command to run, I'll jsub [14:44:01] thanks [14:53:01] chicocvenancio: seems not work. If I lunch "jsub python /data/project/shared/........ -regex "blabla" "blabla" -ns:0......" nothing run [14:53:09] qstat is empty [14:53:24] let me see [14:55:18] ´cat /data/project/irishbot/python2.err´ [14:55:18] ´ERROR: Incomplete command line pattern replacement pair.´ [14:55:54] it is not in qstat because it is being resolved immediately (with an error) [14:57:00] chicocvenancio: mumble, if you look now, same command are running via ssh [14:57:14] I've only deleted "jsub" at the beginning [14:57:36] yes, I figured, I'm checking what jsub is missing from your env [14:57:46] probably pythonpath, give me a minute [14:58:23] tnx [15:07:16] also tried "jsub python replace.py" "jsub replace.py" "jsub /.../replace.py" [15:07:42] but no one work... [15:21:33] jsub runs command by default with a current directory to your home dir [15:22:00] so 'replace.py' should be a path relative to your home dir, or an absolute path [15:22:28] zhuyifei1999_: but the absolute path should work, right? [15:22:37] 'python' should be added, since I don't think it has chmod +x on [15:22:41] chicocvenancio: yeah [15:24:31] is the problem we are running into ´ERROR: Incomplete command line pattern replacement pair.´? [15:24:38] yep [15:25:29] possibly https://phabricator.wikimedia.org/T178829 [15:26:06] thats a restricted task [15:26:13] cc'ed you [15:26:24] I think it might be jsub stripping quotes [15:27:20] avgas: can you try putting the command in a shell file then run $ jsub bash /path/to/the/shell/file? [15:28:33] chicocvenancio: exactly [15:32:12] zhuyifei1999_: ok, now I don't have any other tasks to do, I'll try it as soon as new one income... [15:32:57] k [15:41:27] definitely is the quote scrubbing from jsub avgas. I reran one of your commands through jsub doubling any quotes on it and it went ahead fine [15:41:53] either place the full command in a temporary file, or double the quotes [15:42:53] https://wikitech.wikimedia.org/wiki/Help:Toolforge/Grid#Quoted_arguments [15:45:13] chicocvenancio: ok so I'll try using double quote "' around regexes [15:45:39] if it doesn't work, I'll try to lunch command by file [15:53:51] chicocvenancio: I didn't know that was documented already. merging [16:34:41] Hello ! I would like run my bot in Wikimedia Could. [16:35:02] But it's not a bot to Wikimedia Projects, but a bot to Vikidia, IRC and Discord. [16:38:34] Simon2001: how is it related to Wikimedia? [16:49:37] toolforge is extremely slow for me [16:49:45] Is it just me? [16:53:11] chicocvenancio ^^ [16:56:27] Let me check Amir1 [16:59:17] chicocvenancio: Hello! nice to meet you and welcome :) [17:03:28] chicocvenancio: it's now fast again [17:03:50] great! [17:04:16] Amir1: Nice to meet you as well [21:54:48] (03Abandoned) 10MacFan4000: Jenkins test (DO NOT SUBMIT) [labs/tools/ZppixBot] - 10https://gerrit.wikimedia.org/r/405890 (owner: 10Hashar) [21:55:25] (03Abandoned) 10MacFan4000: Jenkins job validation (DO NOT SUBMIT) [labs/tools/ZppixBot] - 10https://gerrit.wikimedia.org/r/405889 (owner: 10Hashar) [23:20:03] !log tools T179386 aborrero@tools-clushmaster-01:~$ clush -w @all 'sudo puppet agent -t -v' [23:20:10] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [23:20:10] T179386: Prometheus crontab installations via Puppet failing on Toolforge bastion hosts due to remote crontab wrapper script - https://phabricator.wikimedia.org/T179386 [23:39:49] andrewbogott: I still see some deprecation warnings, should I handle them? [23:40:48] I think you have to manually fix that by replacing the deprecated variables in puppet.conf. [23:40:52] affected nodes are: tools-elastic-03, tools-elastic-02, tools-proxy-01 and tools-proxy-02 [23:40:53] at least i had to do :). [23:41:40] paladox: do you have any docs or example? [23:42:06] arturo i just replaced configtimeout with http* [23:42:17] http_connect_timeout = 60 [23:42:17] http_read_timeout = 960 [23:42:36] great, let me check [23:43:23] :) [23:44:11] thanks paladox, it works :-) [23:44:17] Your welcome :) :) [23:47:49] !log tools fix last deprecation warnings in tools-elastic-03, tools-elastic-02, tools-proxy-01 and tools-proxy-02 by replacing by hand configtimeout with http_configtimeout in /etc/puppet/puppet.conf [23:47:54] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [23:48:31] andrewbogott: nevermind :-) [23:49:22] Ok :)