[00:28:40] !log wikistats deleting instance tacotuesday2 - not used [00:28:41] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikistats/SAL [00:30:31] good instance name [00:31:22] :o naming scheme was fast food .. there was bigmac and hotdog afair [00:31:39] my kind of naming scheme [01:19:32] !log wikistats - shut down instance cowgirl (jessie), replaced by kraken (stretch) [01:19:33] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikistats/SAL [01:58:34] !log wikistats - added new projects: punjabi.wikimedia, yue.wiktionary, li.wikinews and shn.wikpedia [01:58:36] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikistats/SAL [03:38:00] !help Hi! Is this the right place to talk about Toolforge? I am new to toolforge and had some questions regarding accessing the replica databases(especially enwiki) from the toolsDB server. My objective right now is to get the ipblocks and revisions table in enwiki database over to my custom tools database space where i can play with the data and create custom tables as i want. [03:38:00] Ace77: 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 [03:38:46] Ace77: this is the right place but most people who could help you may be sleeping [03:39:07] In theory I'm here to provide support but I don't know much about the replicas :( [03:40:04] ok.. what would be good time for me to ask this question? Would 10 am EST tomorrow morning be good time ? [03:41:25] Yes, probably! Or a bit after. [03:42:09] you could also write to the cloud mailing list for advice — not a lot of traffic there but it's a reasonable place to ask questions. https://lists.wikimedia.org/mailman/listinfo/cloud [04:33:34] andrewbogott: I'm getting a key error with encoding03 as well [04:37:52] zhuyifei1999_: that must just happen after the region migration. I'm not sure why. [04:38:01] If you depool 02 then I can set it up to migrate overnight [04:38:10] ok [04:43:07] !log video start depool encoding02. encoding03 is pooled in reboot in eqiad-1 migration [04:43:09] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Video/SAL [04:43:22] andrewbogott: there is still one task running in 02. I'll tell you once it finish [04:43:50] ok [05:01:26] zhuyifei1999_: I'm going to go to bed in a few minutes; if it's not right on the verge of finishing I'll wait and migrate in the morning. [05:03:23] yeah I guess just migrate tomorrow [05:03:48] I'll comment on the ticket if I see it done before I go to sleep as well :) [05:04:20] I think the task I'm looking at is 91% done, been running for around 3 hours 19 minutes [05:04:21] sounds good. Have a good night! [05:04:26] good night :) [07:26:58] !help Do I need to start a tool account inorder to get access and commit data present in a repository? [07:26:58] Adithya_: 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 [07:36:05] mmm [07:37:01] Adithya_: to contribute to a git repo, depending on what repo, you could just send merge requests/pull requests and you dont need a toolforge account for that [07:37:18] specially if the git hosting is external, github for example [07:37:53] if you want to deploy that code in toolforge, you will likely need an account [07:55:57] OK [09:05:22] !help I have currently created a tool account with the name firefly-maintainer1. How do I get access to a repository that is already existing from this account? [09:05:22] Adithya_: 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 [09:06:21] Adithya_: where is the repository? which URL [09:07:04] It's from Github [09:07:13] I will share the link now [09:07:35] https://github.com/rwjuk/fireflytools [09:11:59] Adithya_: you should contact the github repo owner. Try opening an 'issue' in the repo or to send pull request, or.. sending the owner an email: `rwj@serenity.uk.net` [09:13:04] OK [09:34:36] https://wikitech.wikimedia.org/wiki/Help:Toolforge#The_tools_list in that section,where do i need to type that code? [09:36:11] Adithya_: what do you want to achieve? [09:37:56] I would like to have the repository of firefly tools to be added to https://toolsadmin.wikimedia.org/tools/id/fireflytools [09:47:13] Adithya_: I see other tools have a public_html/ directory with a toolinfo.json file like this [09:47:15] https://www.irccloud.com/pastebin/LqFwGl0a/ [09:48:06] I can't find a description of the format of this json file in wikitech, so better to just copy/paste it :-) [09:48:34] To where? [09:49:55] to your tools home [09:50:40] can you ssh login.tools.wmflabs.org ? [09:51:13] Adithya_: do you know what ssh is? [09:51:23] Yes [09:51:33] I have a public key [09:51:38] ok, and can ssh to the toolforge bastion? [09:54:13] But I need to have access to cloud vps to do that right? [09:54:47] Adithya_: no, you need Toolforge access. Cloud VPS is a different service. [09:55:15] are you having issues doing `ssh login.tools.wmflabs.org`? which operating system are you using? [09:55:24] windows 10 [09:55:42] I am facing issue [09:55:52] ouch, so you need to use Putty or the like, right? Let me find some docs for you [09:56:01] Ok [09:56:43] https://wikitech.wikimedia.org/wiki/Help:Access [09:56:49] I think this will help me [09:57:28] Adithya_: https://wikitech.wikimedia.org/wiki/Help:Access_to_Toolforge_instances_with_PuTTY_and_WinSCP [09:58:02] Thanks [09:58:05] Let me install it [09:59:15] anyway I'm not the most prolific person dealing with Windows... [09:59:35] Ok [10:01:18] What does "The path and name of your private key file on your local system" mean? [10:01:31] How actually can I download my private key file? [10:04:48] you usually have SSH keys in pairs, a public key and a private key [10:05:13] for example, in my machine I have [10:06:15] /home/arturo/ssh/ssh_key.pub <--- public part of the SSH key pair [10:06:15] /home/arturo/ssh/ssh_key.priv <--- private part of the SSH key pair [10:06:54] in windows that would be something like... C:\\Users\\[...] <--- the path where you store your keypair [10:09:46] ok [10:09:57] I have stored it now [10:13:20] cool [10:41:50] https://wikitech.wikimedia.org/wiki/Help:Access_to_Toolforge_instances_with_PuTTY_and_WinSCP [10:42:30] In that page, in the first screenshot, do I need to replace USERNAME by my Tools account name? [10:44:10] Or by my wikipedia name? [10:50:58] The same doubt has occurred in the same link in the 1st screenshot under the heading "How to set up WinSCP for direct access to your Toolforge account" [11:07:07] Adithya_: by our toolforg eaccount name [11:07:11] your* [11:07:28] ok [11:10:37] I am not able to access my account as it generates an error which I will be asking after 2 hours here. [11:11:35] ok [11:42:55] !log shinken stopped shinken service temporarily [11:42:57] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Shinken/SAL [11:57:03] !log admin rebooted labpuppetmaster1002 (T207377) [11:57:05] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [11:57:06] T207377: Reboot WMCS servers for L1TF - https://phabricator.wikimedia.org/T207377 [12:08:13] !log admin rebooted labpuppetmaster1001 (T207377) [12:08:15] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [12:08:16] T207377: Reboot WMCS servers for L1TF - https://phabricator.wikimedia.org/T207377 [12:43:40] !log admin armed keyholder on labpuppetmaster1001/1002 after reboots [12:43:41] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Admin/SAL [12:50:44] !log shinken started shinken service [12:50:45] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Shinken/SAL [13:29:59] !help [13:29:59] Adithyak1997: 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:30:15] Adithyak1997: what's up? [13:30:16] hey Adithyak1997 :-) [13:30:32] I have currently installed the tools Putty and WinSCP [13:35:15] which error do you have? [13:35:24] When I run any one of these tools, I am getting the error "Disconnected: No supported authentication methods available(server sent: publickey,hostbased)" [13:35:38] Sorry for the delay caused in replying [13:36:28] !log tools rebooted tools-static-12 and tools-static-13 after package upgrades [13:36:30] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [13:40:04] Adithyak1997: I may re-check the Putty config [13:40:16] Ok [13:40:19] Before that [13:40:20] ensure you have the right SSH key path [13:40:32] and all the checks as in the screenshots [13:41:05] Ok [13:42:11] I have followed the link https://wikitech.wikimedia.org/wiki/Help:Access_to_Toolforge_instances_with_PuTTY_and_WinSCP [13:42:50] what do you have in the private key file field? [13:42:58] which path? [13:43:55] G:\WPCleaner\public key\private.ppk [13:44:36] and that exists and is a ssh key? [13:44:47] Public key is the folder in which I have saved both private as well as public keys generated through puttygen [13:45:37] I see the error in the server [13:45:40] I didn't understand what you mean by your last statement [13:46:00] In mine?Or in Putty? [13:46:06] Nov 16 13:34:40 tools-bastion-03 sshd[13001]: Invalid user Adithyak1997 from x.x.x.x [13:46:06] Nov 16 13:34:40 tools-bastion-03 sshd[13001]: input_userauth_request: invalid user Adithyak1997 [preauth] [13:46:06] Nov 16 13:34:41 tools-bastion-03 sshd[13001]: error: Received disconnect from x.x.x.x: 14: No supported authentication methods available [preauth] [13:46:07] Nov 16 13:34:41 tools-bastion-03 sshd[13001]: Disconnected from x.x.x.x [preauth] [13:46:31] are you sure this is the correct user name? [13:46:43] One minute [13:47:21] Do I need to give there my tool account name? [13:47:38] I would say so [13:48:03] krenair@bastion-01:~$ ldapsearch -LLLx cn=Adithyak1997 uid [13:48:04] dn: uid=adithyak1997,ou=people,dc=wikimedia,dc=org [13:48:04] uid: adithyak1997 [13:48:12] Your UID is lowercase Adithyak1997 [13:48:27] 👍 [13:48:44] Ok [13:48:53] So I need to give lowercase in the doc? [13:49:01] I mean in Putty and WinSCP? [13:49:04] yes [13:49:07] yes, try that [13:49:19] usernames should be case sensitive [13:49:25] Ok [13:50:16] here you go :-) [13:51:03] !log codesearch migrating project to eqiad1 [13:51:04] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Codesearch/SAL [13:52:02] https://www.irccloud.com/pastebin/6OcmU0r2/ [13:52:14] Now I am able to login in tools-bastion [13:52:22] cool [13:52:35] it seems you have `tools.PROJECT-NAME` (literal string) somewhere [13:52:52] Yes [13:52:56] 1 minute [13:52:56] TOOL-NAME [13:53:05] (project name would be ambiguous) [13:53:20] (is that in the docs somewhere?) [13:53:37] In the link for remote directory [13:53:55] Should the project name be toolforge? [13:54:16] it was something like fireflytools ? [13:54:24] ok [13:55:12] Cannot initialize SFTP protocol. Is the host running an SFTP server? [13:55:29] While running WinSCP [13:57:02] do you have `sudo -u tools.fireflytools /usr/lib/sftp-server` in the SFTP server box? [13:57:23] 1 minute [13:58:09] Yes [14:04:20] I have added fireflytools there. But the same error is existing [14:05:02] I have doubt regarding its case. Whether it is case sensitive or not. Also, it needs to be checked if such a thing exist in real. [14:05:22] mmm [14:05:55] Putty is working correctly [14:06:05] from the logs it seems like you are missing some config in winscp [14:06:13] like your username, key, or something like that [14:06:47] Adithyak1997: I will disconnect soon but others will follow-up helping you :-) [14:07:03] Ok [14:07:50] !help we are almost done helping Adithyak1997 connect to Toolforge :-) but I'm disconnecting soon [14:07:50] arturo: 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 [14:10:53] I know nothing of Windows but will try to help [14:12:53] Ok [14:17:36] This is to inform that I am able to run this in Putty [14:18:03] I don't know whether the problem is fully resolved [14:18:13] If I have any problem, I will contact [14:23:24] yourshellaccountname@tools-login:~$ become toolaccount tools.toolaccount@tools-login:~$ [14:23:48] The above command is to take ownership of the files [14:24:04] In that statement, what all things do I need to replace? [14:34:32] arturo: fyi, for some context, https://phabricator.wikimedia.org/T209147 [14:35:39] Currently I am able to run Putty [14:35:50] But I am not able to access the project [14:36:16] By using the command become , I was able to execute that [14:36:17] Adithyak1997: the `become` command is when you login normally to your user account, as `adithyak1997`, and want to change your user to a tool acoount [14:36:40] like `become fireflytools` will change yourself to `tools.fireflytools` [14:36:54] Let me check that [14:39:46] I currently have 3 main accounts. 1 is the toolforge account whose username is Adithyak1997, a shell account whose username is adithyak1997 and a tool account firefly-maintainer1 [14:40:00] Which one do I need to give in become command? [14:40:49] what are you trying to access? [14:42:13] I haven't accessed the project yet. Actually, there is a Git repository that is currently present with the link https://github.com/rwjuk/fireflytools . Can I access that? [14:42:46] firefly-maintainer1 is not a main account. it's a tool account of https://tools.wmflabs.org/firefly-maintainer1/ [14:43:07] are you referring to https://phabricator.wikimedia.org/T209147? [14:43:48] Yes [14:44:16] I have currently adopted that tool [14:44:57] ok so, I gave you access to the tool account tools.fireflytools [14:45:35] Yes [14:45:39] I cannot give you write access to the github repo as it is ouside my reach, I would suggest you to fork the repo [14:46:15] https://github.com/adithyak04/fireflytools [14:46:18] as your user account, adithyak1997, when you ssh in, you can `become fireflytools` [14:47:10] the toolforge account Adithyak1997 is same as 'shell account' adithyak1997 [14:47:13] I would like to know the ssh command that needs to be executed [14:47:21] Ok [14:47:44] This is just to inform you that I am running this on Windows 10 [14:48:08] 'firefly-maintainer1' is not relevant to accessing another tool. i.e. fireflytools has no relation with firefly-maintainer1 [14:48:13] are you using putty? [14:48:17] !log webperf migrating project to eqiad1 [14:48:18] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Webperf/SAL [14:48:26] I have putty installed [14:48:54] are you using putty to ssh to toolforge, or openssh or some other program? [14:49:25] I am using winCSP(https://wikitech.wikimedia.org/wiki/Help:Access_to_Toolforge_instances_with_PuTTY_and_WinSCP) [14:50:42] winscp is for file transferring [14:51:53] So I guess I need to get firefly-maintainer1, access to fireflytools [14:52:01] it does not have command line [14:52:02] no [14:52:16] again, 08:48:09 'firefly-maintainer1' is not relevant to accessing another tool. i.e. fireflytools has no relation with firefly-maintainer1 [14:52:52] firefly-maintainer1 is just yet another tool account [14:53:10] Will the diffusion repository help? [14:53:16] no [14:53:51] look, you need putty or some ssh command line tool to run commands [14:54:26] I have putty [14:54:46] So do I need to install one ssh command line tool? [14:54:47] then use putty, not winscp, to connect to toolforge [14:55:01] putty is one [14:55:13] Adithyak1997, earlier you said ' I am able to run this in Putty' [14:55:19] which makes me think you've logged in at some point? [14:55:43] Of course [14:55:54] I have tried to access files but in vain [14:56:18] Currently I have logged into putty [14:56:39] what do you mean by 'access files'? [14:57:18] I mean, can you tell me specifically what it is you want to do? [14:58:20] Basically I am trying to add some more wikis to the existing project [14:59:34] Currently I haven't done anything to firefly tools [15:00:05] For doing something on it, I need to have an access to it I think. Which I don't know how to [15:00:20] so, you say you're logged in... [15:01:04] Yes [15:01:14] * zhuyifei1999_ is back [15:01:18] when you say 'access' do you're talking about shell access to the tool code, right? [15:01:36] Exactly. I mean tool code [15:01:54] ok, so, to get there you would log into the tools bastion, and then type 'become fireflytools' [15:02:17] that will change your homedir and permissions and such to be scoped within that tool. [15:02:19] Is that not working? [15:02:43] That command is working [15:03:03] andrewbogott: by shell access we mean in the commend line the prompt would be something like 'tools.fireflytools@tools-bastion-03:~$ ' [15:03:19] I am able to see that [15:03:27] ok then you are in the tool [15:03:36] Adithyak1997: so, that's access. So I'm still not clear on what you want that you don't have :) [15:04:54] Now, can I actually see the files as seen in my computer? [15:05:02] no [15:05:13] is in, we don't support that [15:05:15] Ok [15:05:16] *as [15:05:53] you can use putty to run commands as the user. eg. `ls` sees the list of files in your home dir [15:06:03] * home dir => current directory [15:06:44] winscp may be able to transfer files between your computer and toolforge [15:07:32] and `nano somefilename` lets you edit a file directly [15:09:15] Thank you [15:09:25] eg: [15:09:25] tools.fireflytools@tools-bastion-03:~$ ls [15:09:25] admin_disappear_stats.py [...] [15:09:25] tools.fireflytools@tools-bastion-03:~$ nano admin_disappear_stats.py [15:09:25] [an editor starts for admin_disappear_stats.py] [15:09:53] for general help of how to use linux command line, there are lots of help online [15:10:09] Ok. I will check that [15:10:15] yeah, tooolforge servers, which you are connecting to, runs linux [15:10:58] and the commands you type runs directly on toolforge servers [15:11:12] Ok [15:11:20] One more doubt regarding wmflabs [15:11:36] Your job 2123098 ("empty_pages_dump") has been submitted [15:12:31] I have received this message many times today. I know that it is the updation process that was scheduled by firefly. But how can i prevent that message from coming to my gmail? [15:13:01] oh, they are executed from cron [15:13:23] if you put jsub in cron you can probably pipe stdout to /dev/null or something [15:13:37] so cron is a secheduler that runs certain commands periodcally [15:14:12] But if it is set to null, will the scheduler run? [15:14:26] the config of cron is done in the crontab command https://linux.die.net/man/5/crontab [15:14:44] you want to add a quiet parameter to the command [15:15:03] ok [15:15:12] Let me check it [15:15:23] is in, we don't support that [15:15:45] eg. change `jsub -once /data/project/fireflytools/empty_pages_dump.sh` to `jsub -quiet -once /data/project/fireflytools/empty_pages_dump.sh` [15:15:48] FWIW I can browse to sftp://login.tools.wmflabs.org in the file browser in ubuntu :) [15:16:02] can probably do something similar in windows [15:16:41] Krenair: meh :) well, 1. windows has no fuse 2. you aren't in a tool account [15:16:50] true [15:17:10] it won't be able to sudo [15:17:53] Adithyak1997: see my 'eg. change ...' message above [15:19:36] Can that be executed through putty? [15:20:21] you were asking if you can silent those mails [15:20:32] Yeah. Ok. 1 minute [15:21:00] they are executed from cron, so you should edit cron's config via the `crontab` commsnd [15:21:54] ok [15:22:02] so you should execute `crontab`, which starts an editor that lets you eit cron config [15:22:12] *edit [15:23:13] oh uh [15:23:23] `crontab -e`, not `crontab` [15:23:42] the comments (lines starting with '#') should be self-explanatory regarding the crontab format [15:24:07] Nikerabbit: It looks like pagemigration-vagrant .pagemigration.eqiad.wmflabs has been shutdown for a while; can I delete it? (If not, that's fine, I'll just move it out of the way.) [15:24:19] see https://linux.die.net/man/1/crontab & https://linux.die.net/man/5/crontab [15:24:56] OK [15:27:50] Adithyak1997: regarding the jsub command, see https://wikitech.wikimedia.org/wiki/Help:Toolforge/Grid [15:28:13] Yes. I have done that [15:28:33] those '$' in front of a line indicates the stuffs that follows is a command [15:29:27] Yeah. I have seen that. [15:30:33] Thanks a lot for helping [15:33:45] What is the use of diffusing repository option? [15:34:43] zhuyifei1999_: is there a good/bad time for me to move video-redis? [15:35:08] andrewbogott: let me check [15:35:47] Adithyak1997: diffusion is a git hosting service that we have, as an alternative to github [15:35:51] you don't nee both [15:36:03] Ok [15:36:19] andrewbogott: there are two tasks running [15:37:28] In my case? [15:39:36] zhuyifei1999_: maybe we should depool all three workers so nothing is in progress and then move it? [15:39:52] andrewbogott: sure, a sec [15:40:09] Adithyak1997: you are using gityhub right? [15:40:19] *github [15:40:32] Yes [15:41:30] andrewbogott: getting host keys warnings, sigh [15:41:48] Adithyak1997: diffusion is just an alternative to github [15:42:00] Ok [15:43:09] !log video depooling all 3 encoding* [15:43:10] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Video/SAL [15:44:06] andrewbogott: will tell you when done [15:44:13] cool, thanks [15:51:03] I have not currently edited any files. After editing the files through putty, how do I need to commit/update my actions? [15:51:11] Do I need to clone it? [15:54:57] Adithyak1997: if the code is in github, probably you would edit locally, commit to github, and then fetch&rebase on the server. [15:55:02] Only that last step would involve putty [15:55:13] Ok [15:59:16] andrewbogott: lgtm. seems none running [15:59:59] idk why, but encoding01.video.eqiad.wmflabs has 'The last Puppet run was at Thu Nov 15 21:47:57 UTC 2018 (1091 minutes ago).' [16:00:34] !log video moving video-redis to eqiad1-r [16:00:36] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Video/SAL [16:00:46] I'll check out what's happening with puppet first... [16:02:14] zhuyifei1999_: 01 had a messed up resolv.conf, same as 03. I don't know why but it's fixed now. [16:02:46] ok [16:03:30] !log integration moving integration-cumin to eqiad1-r [16:03:31] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Integration/SAL [16:03:59] * andrewbogott has way too many shell windows open now [16:25:44] !help Hello, I have some cron tasks scheduled at wikimedia toolforge. They have been running for 5 years at ca-wiki. However yesterday I changed some of the code, and now one of the processes which runs each hour, looks like it's been running for already 24h because each time it is tring to launch, the output says "[Fri Nov 16 16:00:12 2018] there is a job named '.....' already active". How can I know what's happening, and [16:25:44] Arnaugir: 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 [16:26:13] I tried to kill th process with "kill PID" but it's permission denied [16:27:02] If you run qstat, you should see a list of the jobs running [16:27:37] When you get that, you ought to be able to kill the job ID from that list with `qdel ` [16:27:57] Presuming these are grid jobs we are talking about [16:28:17] can you tell me what your project name is? [16:28:48] project arnaubot [16:28:57] ok that's what I was looking for. Thank you. [16:29:05] I requestied deletion of three jobs [16:29:16] Ok. qstat should tell you how that's going :) [16:29:16] one of them was from may. How's that even possible? [16:29:29] that same job ahs been running fine from them [16:29:32] tthen* [16:30:07] Dunno :) The grid master has been restarted since that time. [16:30:14] There are occasionally stale jobs [16:30:42] the jobs have been deleted, they don't show up at qstat anymore. Will see if it runs fine in half an hour. Thank you for the quick help!!! [16:30:58] Np! Good luck with the cron [17:03:57] zhuyifei1999_: video-redis is done moving so you should be able to start everything up again [17:05:38] andrewbogott: ok thanks [17:05:56] if we're still able to run jobs then we're all done [17:07:04] !log video re-pooling encoding01 & encoding02 [17:07:06] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Video/SAL [17:07:48] !log tools moving tools-elastic-03 to labvirt1007 [17:07:53] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [17:08:44] andrewbogott: yeah lgtm [17:09:03] great! Thank you [17:23:28] !log tools moving tools-docker-registry-02 to labvirt1001 [17:23:31] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [17:47:55] !log tools deleted tools-mail instance [17:47:58] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [17:49:22] gtirloni: We should probably clean up any "|jmail ..." .forwards that are still out there too. [17:49:50] bd808: ok [17:50:37] maybe just be renaming them to .disabled.$NAME? [17:50:45] s/be/by/ [17:54:04] I commented the jmail line oout and left a comment saying the jmail functionality has been removed from toolforge [18:15:09] !help What does the statement namespaces = list(range(0, 16)) + [100, 101, 108, 109, 118, 119, 446, 447, 710, 711, 828, 829, 2300, 2301, 2302, 2303] mean? [18:15:09] Adithyak1997: 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 [18:16:15] Adithyak1997, you mean from a python perspective or MediaWiki perspective? [18:16:30] From python perspective [18:16:38] this channel btw isn't really the proper place for either but I'll try to help anyway... [18:16:48] One minute [18:16:56] so clearly this builds a list of MediaWiki namespace numbers [18:17:03] I actually need to know what that numbers mean [18:17:21] Ok [18:17:28] the range(0, 16) call will give you a range object beginning at 0 and ending at 15 [18:17:42] Ok [18:17:42] the list call around that just converts it to an actual list instead of a range object [18:17:56] it then adds an extra list to this list containing some hardcoded numbers [18:18:05] well the numbers are just integers [18:18:11] Python doesn't care what they're for [18:19:05] Ok [18:19:52] the numbers have meaning to MediaWiki though, do you want to know more about that? [18:23:29] I have understood [18:23:46] Ok [18:38:22] How do I update/commit changes that are updated in github? [19:09:22] !log quarry deployed 4f0b830 to quarry-web-01 T71264 [19:09:25] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Quarry/SAL [19:09:26] T71264: Show execution time in the Recent Queries page - https://phabricator.wikimedia.org/T71264 [19:11:37] !help From baston, how can I commit changes to git? [19:11:37] Adithyak1997: 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 [19:20:13] Adithyak1997, the same way you commit changes on any other host? [19:20:20] maybe I don't understand the question [19:21:50] Actually I haven't committed yet [19:21:55] I am a newbie [19:27:33] Adithyak1997, okay well this isn't really a git help channel either but I guess I can cover that [19:27:43] Adithyak1997, how much do you know about version control systems? [19:28:37] Commit and rollback options I know(not in code) [19:28:56] okay well ordinarily [19:29:04] you've got a shared repository [19:29:11] lots of people pushing changes in [19:29:23] you clone the repository so you have your own local copy, make some changes [19:29:32] commit them, push them back up to be with everyone else's [19:29:43] maybe update your commits to take into account changes since you cloned [19:29:47] Ok [19:30:21] so once you've made your changes on your local copy of the repo, you stage them [19:30:29] this could be using `git add` [19:30:58] this tells git which files you want to include in your commit [19:31:11] then you `git commit` and provide it with a commit message [19:31:18] Ok [19:31:22] Let me check it [19:31:32] (there is a -a flag to git commit which will add all changes you've made to files that are part of the repo) [19:31:45] now you've got a commit, push it up to the remote repository, normally called 'origin' by default [19:32:42] a commit essentially consists of a commit message describing your changes, some metadata such as the date and author, and a diff containing all the changes you made as well as any new files you created or old files you deleted [19:33:30] (btw there's plenty of important things I'm not covering here like branches for example) [19:33:47] I actually have updated a cronjob [19:33:55] How can it be committed? [19:34:19] I don't think you can normally commit the crontab itself on tools into your git repository [19:34:31] but you can have a crontab entry which runs a script you store in a git repository [19:35:49] It is regarding the updation of https://tools.wmflabs.org/fireflytools/linter/enwiki [19:37:10] Ok [19:37:38] One more. I have committed a file in github. Should anything needs to be done on it to make that commit go live? [19:38:38] well if you pushed from your repo on your laptop to github, the copy on toolforge will not have been updated [19:38:45] you'll need to ssh into toolforge and pull from github [19:39:08] I have created a fork and have edited on that [19:39:13] (there may be some other cases where you could push directly from your laptop to toolforge but I won't go into that) [19:39:24] Ok [21:15:58] !log tools Ran grid engine orphan process kill script from T153281. Only 3 orphan php-cgi processes belonging to iluvatarbot found. [21:16:02] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/SAL [21:16:02] T153281: webgrid-lighttpd queues kill OOM jobs with SIGKILL leaving php-cgi processes behind - https://phabricator.wikimedia.org/T153281 [22:35:09] !log upgrading gerrit-test.wmflabs.org to gerrit 2.16 [22:35:10] paladox: Unknown project "upgrading" [22:35:18] !log git upgrading gerrit-test.wmflabs.org to gerrit 2.16 [22:35:19] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Git/SAL