[01:23:10] rsmhhhm [01:27:20] petan: is there by any chance a db backup of bsql01 that runs at 1am? [01:27:20] / midnight [01:27:36] yes [01:28:01] Im guessing that is why bsql01 seems to have ground to a halt ;p [01:28:23] ignoring that it's half 2 possibly [01:29:54] It ran 29 mins ago and finished 9 mins ago :) [01:30:34] mhm, it's not running now but the cpu is insane from your queries :P [01:30:35] but it seemed to cause every process I had running on the gridengine to stop [01:30:50] http://bots.wmflabs.org/~addbot/status [01:31:26] the gap from all of my log points started 5 mins after the db backup started and didnt manage to start again until just now [01:31:52] hmm, I didn't think the backup took that long [01:31:57] well [01:32:06] addshore's dbs are pretty big now [01:32:23] * Damianz blames addshore [01:32:38] they are a third of the size that they used to, just having to use some very inefficient queries right now [01:32:42] not what the db was designed for [01:32:58] We should look at using percona tools for backups or enabling binlogs and taking the dump off a slave [01:33:03] its almost like all of my processes paused for 15 mins.. [01:33:17] Damianz: yep, we definatly need to make a slave [01:33:24] your queries take like 15-30 seconds to run normally lol [01:33:34] well according to mysql anyway... not the most reliable dude [01:34:03] so odd [01:34:04] http://en.wikipedia.org/wiki/Special:Contributions/Addbot [01:34:13] literally everything everywhere just stopped for 15 mins.. [01:34:15] XtraBackup is suppose to be a hot copy... never actually tried it though hmm [01:34:24] * Damianz notes to think about a slave at some point [01:36:23] Damianz: most of my queries finish in a fraction of a second [01:36:42] except for my 40 processes that are currently having to do inefficient queries :P [01:36:51] actually, they do now [01:37:18] Bunch of inserts where at like 14, but selects are under a second now [01:37:22] just lots of them [01:37:25] yay buffers [01:37:32] where are you seeing this? :P [01:37:50] every massivly slowed down in the last 30 mins, but has suddenly got fast again [01:38:07] i.e. a script was taking 10 mins to run that normally runs in about 30 seconds xD [01:38:56] process on the server, time not 100% accurate as far as query goes but meh if I'm running explain on it [01:39:34] HAHA Damianz take a look at the top left graph on http://bots.wmflabs.org/~addbot/status , shows that 150k worth of processing seconds all just finished at the same time xd [01:40:04] lol [01:40:16] makes sense if they where hung on sql [01:40:21] yep :P [01:40:37] sill sql [01:40:37] I like those graphs but I think I'd still like a general graphite server around lol [01:41:05] also, can you get to google? ;p [01:42:29] office is a bit far at this time in the morning :P [01:43:08] somethign is rather messed up with my dns atm :/ [01:43:25] 8.8.8.8 8.8.4.4? [01:47:15] okay it is just generally my internet.. [01:52:04] wonder how fast i can make this :P [01:53:52] * addshore has come up with a brilliant plan [04:03:03] perfect :) [07:46:54] Change on 12mediawiki a page Wikimedia Labs/Tool Labs was modified, changed by Nemo bis link https://www.mediawiki.org/w/index.php?diff=668975 edit summary: [+106] And now also the third wiki joined us. [08:26:46] Damianz we HAVE binlogs :D :D [08:26:58] yes we can make backups from them [08:47:00] hi petan [08:47:07] heya [08:47:20] is there a place on bots lab where I can store private files and shared among nr instances? [08:47:31] yes [08:47:39] /mnt/secure [08:48:02] okay .. any docs page about similar stuff? [08:48:09] let me check... [08:48:15] so I don't need to bother you next time :) [08:48:24] however - since all instances are no-root atm basically even your home is safe [08:48:37] !botsdocs [08:48:37] https://wikitech.wikimedia.org/wiki/Nova_Resource:Bots/Documentation [08:49:33] They can write to shared gluster storage at /data/project or shared NFS server at /mnt/secure [08:49:45] see Architecture [08:49:58] is gluster considered less stable? [08:50:05] yes [08:50:09] significantly [08:50:52] but /mnt/secure is place where mysql passwords are stored so it's considered "most secure" place [08:52:24] then any use case of gluster? huge files of large amount of small files ? [08:52:48] yes it's good for any data which aren't small, /mnt/secure is tiny [08:53:16] so anything but password files should live on gluster I guess... or /mnt/share which is local only [08:55:01] what about coredumps, if it accidentally happens ... :p [08:59:23] I don't expect password files to generate coredumps :P [08:59:40] anyway - if it happened worst that can happen is that the volume become full ;) [09:03:40] I mean .. apps generates dumps containing passwords in it [09:04:41] or should we always follow the pattern to destroy password in memory after using it .. [09:05:15] I might be thinking too much [09:07:51] liangent not all application do that, and - depends where your app run, even /data/project, /mnt/share are secure, nobody has root anymore [09:08:09] that /mnt/secure is from times where root boxes existed [09:08:26] now it's kept just because gluster is not reliable [09:08:39] and because the mysql passwords were generated there [09:09:22] you can even run your bot on tools project, but that doesn't have reliable sql server yet [09:09:40] and it's still using gluster as master storage [09:10:43] when was those root boxes removed? just for curiosity .. and they'll never appear again? [09:15:16] the boxes weren't removed but the root access was removed [09:15:29] some of them were removed of course, bots-2 and bots-3 [09:15:40] it was all announced in many emails [09:15:54] the reason is that tools and bots projects are going to be merged at some point [09:16:04] the bots project will be likely a staging area for tools [09:16:18] that means it should be designed in a similar way as tools project is [09:22:47] of course it's not going to be restricted so much, so basically anyone trusted can request root there... [09:22:59] but it's not going to be default for everyone [10:47:59] petan: did we ever get anything like qcronsub on bots? [10:48:04] so we dont duplicate jobs [10:55:31] legoktm: Maybe you could speak with Coren. He has created a tool for tools SGE, maybe petan could use it on Labs, too. [10:55:54] yeah i know tools has it, i was just wondering about bots [10:56:01] since it was discussed earlier [10:58:43] legoktm: Coren has a full-time-job to work on tools, petan do this when he has time [10:58:56] i know [10:59:41] legoktm: And sge is sometimes very ugly, this can need time ;-) [11:00:31] heh :P [11:26:59] hey I am back legoktm [11:27:07] hey [11:27:22] no there is no qcronsub in this moment but if that jsub is enough I can import it from tools [11:27:36] actually we might want to make a package from it [11:27:47] Coren: ping [11:27:54] no rush though :) [11:28:13] Coren: what about making a package for all these tools we have on tools [11:28:21] * tools / utilities whatever [11:28:27] like qtop etc [11:29:39] qtop? [11:29:51] as soon as there is a good sql server and stable filesystem on tools project I think we could be ready to start copying bots from tools, so that they exist on both [11:30:01] legoktm type "qtop" and you will see [11:30:06] * legoktm looks [11:30:31] oh cooool [11:30:38] it exist on tools and bots [11:30:48] was created by addshore and bit enhanced [11:31:09] !addshore [11:31:09] lolz [11:31:29] wm-bot: yay [11:31:29] Hi petan, there is some error, I am a stupid bot and I am not intelligent enough to hold a conversation with you :-) [12:12:07] heh, Coren I am wondering how are you going to run beetstra bot which need 18gb of virtual memory [12:12:23] in fact it uses some 3gb of resident [12:12:30] so it runs on bots-bnr3 [12:12:39] but... not even possible to make instance with so much ram [12:12:44] :) [12:13:03] maybe there is some option for perl so it eats less [12:13:12] @notify Beetstra [12:13:12] I will notify you, when I see Beetstra around here [12:13:21] Coren-the-perl-master will just fix it :P [12:13:33] ok but he can't just go and fix all bots... [12:13:42] I suppose there will many of them not just in perl [12:13:53] mono and java is having same problems as perl [12:14:12] @notify mabdul [12:14:12] I will notify you, when I see mabdul around here [12:14:28] I wish this bot could be in all wikimedia channels... [12:27:35] petan, 18GB of memory? [12:27:35] what the hell does that bot do? [12:27:40] Krenair virtual memory [12:27:50] Krenair it eats 2gb of resident [12:27:56] Krenair that is very normal amount for memory [12:28:10] for example my IDE eats also about 8gb of virtual memory [12:28:14] that is not REAL memory [12:28:36] 3gb rss for a bot? [12:28:38] basically every java / python etc application eats shittons of virtual memory [12:28:39] you're doing it wrong [12:28:48] paravoid maybe, but I didn't write that bot :> [12:28:55] btw it's doing some huge tasks [12:28:59] afaik [12:29:07] Beetstra would know more [12:29:18] I believe there is a leak in code [12:29:27] because it seems to keep allocating more and more [12:32:37] even wm-bot is eating 320mb of virtual memory [12:32:46] and I am trying to make it eat as less memory as possible [12:32:55] it eats less than 100mb of res [12:33:08] though it's still a lot for irc bot [12:33:22] but it's doing a lot of stuff as well [12:55:48] petan: Yeah, packaging the local/bin tools is on my todo, but this week my priority is on the gluster-replacement. [12:57:51] * Damianz pats Coren [13:02:49] ok [13:03:18] Coren I could actually make that package but I am not sure about the dependencies and location of all these scripts, also do you want to make package per script or 1 big package [13:03:39] what about manual pages? :P [13:03:44] we should make some [13:03:49] :)) [13:04:20] I made manual page even for my mono GUI application launcher even if it consisted of 2 lines :D [13:04:28] petan: Well j* would make one reasonable package (jobutils?); they're all in /usr/local/bin and have only perl and gridengine as dependencies. [13:04:40] ok [13:05:12] petan: I agree about man page; but it should be easy to make: all of the j* have a detailed usage when you invoke them without parameters. [13:05:20] ok [13:05:38] BTW, high-performance NFS server is working well in eqiad now. [13:06:48] man page? meh use perldoc [13:07:12] I think that control file of package should be actually somewhere in git [13:07:22] so that we can easily rebuild it [13:07:33] maybe whole tarball / structure [13:08:05] petan: I've been meaning to greate a labs git for config, tools, etc. Lemme do that now. [13:09:25] ok [13:10:40] version 1.0.0? [13:10:41] :P [13:12:19] anything to be executed in preinstall? [13:12:23] I don't think so [13:14:52] petan: http://en.wikipedia.org/wiki/User_talk:Coren [13:14:59] copypasta fail [13:15:04] :P [13:15:16] git clone https://gerrit.wikimedia.org/r/labs/toollabs [13:16:04] ok [13:16:14] btw what license you want for manual page? [13:16:21] Licensed under BSD-like License. [13:16:23] that's what I use [13:17:33] petan: is there a way to make wm-bot's infobox case-insensitive? [13:17:39] infobot* [13:17:41] yes [13:18:03] http://meta.wikimedia.org/wiki/WM-Bot#.40configure [13:18:11] infobot-case bool whether keys are case sensitive (default is true) [13:18:24] ty [13:18:26] petan: I think we want CC-BY-SA for documentation. [13:18:28] yu just do [13:18:35] Value true was stored into infobot-case to config [13:18:40] legoktm ^ [13:19:01] yup [13:19:02] thanks [13:20:31] Coren no manual for jstop :( [13:20:37] it just produces error with no parameter [13:21:01] petan: Ah. I suck. It's trivial: usage: jstop [13:21:08] deletes the task. [13:21:09] ok [13:21:09] :-) [13:21:35] Should prolly add usage too. I'll copypaste from your man page. :-) [13:25:56] ok Coren can you give me read / write git url for that new repo :D [13:26:03] https is read only [13:26:05] petan: For code I've written, I've asked legal and they have no boilerplate or requirement; it's work-for-hire though so the holder is the Foundation. GPL. [13:26:22] k [13:26:58] ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs [13:26:59] ssh://petrb@gerrit.wikimedia.org/r/labs/toollabs doesn't work :( [13:27:01] aha [13:27:02] port [13:27:20] And no /r/ [13:27:25] aha [13:27:57] make a directory like 'tools' to stuff tools in. :-) [13:28:05] I wish -v switch in git was useful [13:28:17] I'll probably add a /config/ and such [13:28:22] I hate how it write cloning... and all I know is how fast cursor is blinking [13:30:13] petanb@linux-dev:~$ git clone ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs -vvvvvvvv [13:30:14] Cloning into 'toollabs'... [13:30:15] ssh: connect to host gerrit.wikimedia.org port 29418: Connection timed out [13:30:16] fatal: The remote end hung up unexpectedly [13:30:40] ohhhhh [13:30:41] nvm [13:30:42] lol [13:30:46] I am in office [13:30:49] fucking firewall [13:30:54] * petan hacks [13:34:47] ok Coren now tell me how can I push into that :P [13:34:51] git push doesn't work [13:35:02] To ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs [13:35:03] ! [remote rejected] master -> master (prohibited by Gerrit) [13:35:11] You need to git review. gerrit workflow. :-) [13:35:13] * petan slaps gerrit [13:35:23] so I type "git review" ? [13:35:32] I do stuff otherwise in labs [13:35:39] I type git push-for-review-production [13:35:48] and on github it works [13:35:57] Yep. If that don't work, you just need to apt-get git-review [13:35:58] I am trying to avoid gerrit as much as I can [13:36:26] petan: Get used to gerrit, all of WMF-related stuff lives there. It's not so bad once you get use to it, and it has a good workflow [13:36:36] ok there is no git-review for this version of ubuntu :P [13:36:41] damn [13:36:42] o_O [13:36:47] What version are you using? [13:36:54] 10.04 LTS it's not really my pc [13:37:13] I decided to override the firewall in office just by sshing to one of my outside servers and push through that [13:37:18] I was pretty sure git-review was in Lucid. Odd. [13:37:18] I should have make a tunnel [13:37:53] petan: Ah, it's in /universe/ though. [13:38:11] maybe there is some no-debian package? or maybe tar.gz of that [13:38:31] I would prefer version I can just install for my user and no system wide [13:38:43] Lemme look it up. [13:39:19] I found this http://linux.softpedia.com/get/Programming/Version-Control/git-review-74740.shtml but reliabilty is questionable [13:39:23] https://pypi.python.org/pypi/git-review [13:39:36] yay [13:39:38] Looks like there's a tarball. [13:41:49] LOL it's using some python modules I don't have.. gonna find them too... [13:42:12] yup [13:42:18] these are in this one [13:42:23] repository [13:42:47] petanb@srv:~/toollabs$ git review [13:42:48] No '.gitreview' file found in this repository. [13:42:49] We don't know where your gerrit is. Please manually create [13:42:50] a remote named gerrit and try again. [13:43:08] what should be there? [13:43:33] demon really needs to make a guide for people who aren't running latest ubuntu or ubuntu at all [13:45:13] Coren do you have that file? [13:47:43] [gerrit] [13:47:43] host=gerrit.wikimedia.org [13:47:43] port=29418 [13:47:43] project=labs/toollabs.git [13:48:17] It would have been created automatically, IIRC, if you had git-review installed before you cloned. [13:49:03] New patchset: Petrb; "inserted a package structure for jobutils" [labs/toollabs] (master) - https://gerrit.wikimedia.org/r/57740 [13:50:10] petan: Did you try the packaging? [13:50:20] not yet [13:50:26] is that ok? [13:50:30] the control file and manual pages [13:50:38] category etc [13:50:58] tbh I think I will need to create blank preinst too [13:51:23] I could +2 it now, but I'd prefer you test that the package is buildable before. [13:51:43] You can amend the commit [13:51:55] sec [13:52:37] New review: coren; "As best practice, we should only merge completed packages that are known to build." [labs/toollabs] (master) - https://gerrit.wikimedia.org/r/57740 [13:52:42] I probably need to install some tools to tools-login to be able to make package there [13:52:51] fakeroot etc [13:53:25] If you install packages on -login, make sure you add them to the list at http://www.mediawiki.org/wiki/Wikimedia_Labs/Tool_Labs/Notepad [13:53:40] in the dev section [13:53:53] btw, I forgot a comma :D [13:54:11] That's why it's better to test the actual build. :-) [13:55:26] also, this of course is not buildeable just as it is - manpages should be gziped before [13:55:33] but I don't want to commit gzipped files to git [13:55:57] * Coren wonders. [13:56:08] I though there was a way to have the build gzip them. [13:56:44] The simplest thing, of course, is to have a Makefile that does exactly that. [13:56:47] ok it's built [13:56:52] so except the comma it's ok [13:57:08] hm... or maybe some build shell script [13:57:13] Coren: are you still OS on enwiki? [13:57:21] legoktm: Just CU [13:57:23] gah [13:58:35] !log bots petrb: install jobutils.deb [13:58:38] Logged the message, Master [13:58:54] LOL [13:58:59] installation took like 0.2 sec [13:59:21] and your name is wrong :D [13:59:24] ok 2 mistakes [13:59:45] petan: The "right" way to do this is to make sure that if you clone the repo, go into tools/jobutils, and run debuild, you get a .deb. :-) [14:00:41] petan: Yeah, My name is "Marc-André Pelletier" :-) [14:00:46] aha [14:00:52] yet another fix then... [14:01:33] Once you're done with the fixes, you can simply 'git commit --amend' and 'git review' again, it'll amend your changeset [14:03:26] ok I forgot to do that before so now I have 2 commits let's try... [14:03:32] New patchset: Petrb; "mark > marc + comma" [labs/toollabs] (master) - https://gerrit.wikimedia.org/r/57742 [14:06:59] OMG [14:07:03] haha [14:07:11] this is silly mistake really [14:07:45] Gerrit takes some getting used to; I think I did this at least twice. :-) [14:08:06] no I mean this what I am about to commit [14:08:18] New patchset: Petrb; "ok, and these manual pages of course should be in usr as well" [labs/toollabs] (master) - https://gerrit.wikimedia.org/r/57743 [14:08:52] Urk. [14:08:59] Now you have *3* changesets. :-) [14:09:12] but each is about something else [14:09:32] I can't just ammed 3 times 1 commit - where should I write what I change? [14:10:00] It's not important, because it's only the final /corrected/ changeset that gets merged. [14:10:06] wait [14:10:11] I still don't know if it's correct [14:11:14] yay [14:11:16] now it works :D [14:11:20] "Add the jobutils package" is one *changeset*; you amend it until it's right, and we merge that. The workflow allows you to see all the intermediate changes in gerrit. :-) [14:11:37] yes, but with no "commit message" [14:11:43] because I ammend still the same message [14:11:52] so I see that there were some extra changes but I don't see why [14:12:01] Well, you can tweak the commit message if you want; or comment in gerrit itself. [14:12:25] that would be ugly long and boring commit message containing informations for 3 commits... imagine I ammended 540 times :P [14:12:36] The problem with doing it with distinct changeset is that forces us to merge in a changeset we /know/ is wrong. [14:12:41] this way we could make whole software with 1 commit [14:12:56] ah [14:13:06] petan: But why would you want to amend your commit message? You are trying to do one thing; the small fixes that go in before merge are not interesting in the changelog. [14:13:35] mhm [14:13:45] What's important is describing what is being merged. We're just merging the final version of the changeset. :-) [14:14:02] ok you can consider the last commit to be final :P [14:14:54] Allright, what you need to do now is abandon your last two changesets, then squash your three commits. [14:15:05] You know how to squash? [14:15:07] no [14:15:29] You do: git rebase -i [14:15:38] btw it took me 10 minutes to make package and almost 1 hour to get it into gerrit :P there is clearly something overcomplicated on gerrit [14:16:02] Then you change your fixes in the editor from 'pick' to 'fixup' [14:16:15] petan: It's not complicated, it's just different and you're not used to it yet. :-) [14:16:25] git rebase -i print out a lot of stuff [14:16:35] usage: git-rebase [-i] [options] [--] [] [14:16:36] or: git-rebase [-i] (--continue | --abort | --skip) [14:17:44] Oh, sorry, thought you'd have known. The exact command you need is $ git rebase -i HEAD~3 [14:17:50] To edit your last 3 commits. [14:18:16] BTW, you normally don't have to do this; that's just to merge all your commits manually. :-) [14:19:15] Once you're done, you should have just the one commit left with all the changes. 'git review' that and it will update the original changeset on gerrit. [14:20:08] Change abandoned: coren; "Explained to Petr how amending changesets worked. :-)" [labs/toollabs] (master) - https://gerrit.wikimedia.org/r/57743 [14:20:17] Change abandoned: coren; "Explained to Petr how amending changesets worked. :-)" [labs/toollabs] (master) - https://gerrit.wikimedia.org/r/57742 [14:20:54] The workflow is a bit different from github's, but it works well once you're used to it. [14:21:01] addshore PROBLEM Current Load is now: CRITICAL on bots-bsql01.pmtpa.wmflabs 10.4.0.226 output: CRITICAL - load average: 31.81, 21.21, 19.54 [14:21:14] addshore can you check what's going on? [14:22:30] Coren I have no idea why but after doing git rebase all files just disappeared [14:22:39] ironically [14:22:40] [08:39:50 AM] also legoktm I finslly made my bot determine the number of articles it is going to try to take from the DB dependant upon the current number of queued db requests :P SO no more breaking the cluster :D [14:23:52] petan: In the editor, you had three lines - one for each commit, right? [14:24:04] Coren yes I had, but now it's all gone :( [14:24:06] petan: You changed the 'pick' from the first two to 'fixup'? [14:24:18] no I changed all to fixup [14:24:45] should I change just 2 of 3? o.o [14:24:55] ... oh. That's why I said " Then you change your fixes in the editor from 'pick' to 'fixup'" Only the fixes. :-) Now you squashed even the combined patch. [14:25:08] btw that effectively deleted all my commits [14:25:30] Right, because you squished all of them instead of the last two in the first. :-) [14:25:38] I should have make a backup... evil git [14:25:54] this could never happen with svn... [14:26:04] Git takes some getting used to. You can cherry pick your changes back off gerrit though. [14:26:14] well but now it's gone so no idea [14:26:25] it was only working copy I had [14:26:31] petan: Here's what you do: [14:26:48] (a) do a git status. Make sure you are at head. [14:27:20] petanb@srv:~/toollabs$ git status [14:27:21] # Not currently on any branch. [14:27:59] kk [14:28:11] git fetch ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs refs/changes/43/57743/1 && git cherry-pick FETCH_HEAD [14:28:50] Wait, that's the wrong one to start with. [14:29:29] git fetch ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs refs/changes/43/57740/1 && git cherry-pick FETCH_HEAD [14:29:36] git fetch ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs refs/changes/43/57742/1 && git cherry-pick FETCH_HEAD [14:29:39] git fetch ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs refs/changes/43/57743/1 && git cherry-pick FETCH_HEAD [14:29:52] That will cherry pick all three of your changes [14:30:36] It would, if I didn't edit them wrong. *sigh* [14:30:47] petanb@srv:~/toollabs$ git fetch ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs refs/changes/43/57740/1 && git cherry-pick FETCH_HEAD [14:30:48] fatal: Couldn't find remote ref refs/changes/43/57740/1 [14:30:55] git fetch ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs refs/changes/40/57740/1 && git cherry-pick FETCH_HEAD [14:31:14] git fetch ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs refs/changes/42/57742/1 && git cherry-pick FETCH_HEAD [14:31:31] git fetch ssh://petrb@gerrit.wikimedia.org:29418/labs/toollabs refs/changes/43/57743/1 && git cherry-pick FETCH_HEAD [14:31:51] Now you're back before your rebase. [14:31:52] :-) [14:31:57] ok [14:32:09] ok I made a backup :P [14:32:25] petanb@srv:~/toollabs$ git rebase -i HEAD~3 [14:32:26] Interactive rebase already started [14:33:04] Now, change to 'fixup' for the *changes* to your patch; i.e. leave the "inserted a package..." at 'pick' [14:34:10] git status should now tell you you are '1 commit' ahead of the master [14:34:55] Oh. [10:32:26] Interactive rebase already started [14:35:02] That's a message you got? [14:35:05] fixed [14:35:07] --abort [14:35:13] just use --abort [14:35:15] :-) [14:35:18] New patchset: Petrb; "inserted a package structure for jobutils" [labs/toollabs] (master) - https://gerrit.wikimedia.org/r/57740 [14:35:34] THERE you go. :-) [14:35:50] Follow that link; you'll see there are now two versions of your changeset. :-) [14:37:27] ok [14:42:40] ... and now my own confusion about gerrit is making me uncertain. :-) [14:44:24] btw Coren I didn't need to install anything on tools [14:44:31] -login [14:44:35] to build that [14:45:40] I think I had already done some packaging there. :-) [14:45:47] I just didn't remember. [14:45:59] k [15:19:20] Change merged: coren; [labs/toollabs] (master) - https://gerrit.wikimedia.org/r/57740 [15:22:56] Coren: Ah, we have a new repo for tools? [15:23:28] Jan_Luca: Ayup. Just created it today. [15:24:13] Coren: Nice, what do you put in the repo? [15:25:03] Configuration, scripts, etc. petan just packaged the j* scripts and put them there. [15:26:25] Coren: When I overfly your dialogue with petan, it seems you don't like Gerrit ;-) [15:26:36] (I could understand this ...) [15:27:48] I'm not a fan, but you get used to it. I'm old-school; subversion is second nature. :-) [15:28:34] svn is a mild improvement on the shit that is cvs [15:28:57] which reminds me, I need to upgrade our build servers so R&D can move to git and I can nuke the cvs server from orbit =D [15:29:09] Coren: I think there is a difference between Git and Gerrit [15:29:13] Bah. In my day, we used SCCS and we liked dealt with it. :-) [15:29:46] Jan_Luca: Very much so, but gerrit make git's (imo already overcomplicated) workflow even more stringent. [15:29:47] The idea of Git is nice, Gerrit is ... [15:29:53] * Damianz sniffs Coren and detects a hint of rcs [15:30:28] I'm not a huge fan of gerrit for opensource work - but at work, when I'm enforcing very strict workflows and gates it's perfect [15:30:31] You're not old school unless you know what "foo.c,v" is. :-) [15:31:19] Damianz: Arguably, for much of ops work, a strict workflow is a Good Thing(tm). I'm not bashing the actual workflow, but the sometimes acrobatic steps to follow it. [15:31:32] Coren: OK. I'm not old school :-D [15:32:23] Gerrit is nice to review the changes before merge and it is very better than the old Code Review extension ;-) [15:32:24] The main thing I hate about gerrit is it forces you to squash commits into 1... I like to commit often and see the entire history merged [15:32:50] Holey carp! RCS is still being maintained! [15:33:06] Latest release: 5.8.2 (2013-04-04) [15:34:35] So is Perforce I believe :P [15:34:52] Coren: Many old software is still useful in some cases [15:35:22] Damianz: p4 is in active use in some very large places. Part of my work at Ubisoft was to maintain the monster. [15:35:52] Never really fancied it myself [15:36:03] Damianz: It's utter garbage, IMO. [15:37:23] It can't be as bad as 'Team Systems' or w/e m$ is calling its VCS/office integration thing now [15:40:42] Probably not. Thankfully, I've never had it inflicted upon me so I can't really compare. :-) [16:09:55] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Silke WMDE link https://www.mediawiki.org/w/index.php?diff=669159 edit summary: [+200] /* Languages */ asked for details [16:47:44] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Silke WMDE link https://www.mediawiki.org/w/index.php?diff=669171 edit summary: [+334] added uncertainty about e-mail feature [16:52:08] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by MPelletier (WMF) link https://www.mediawiki.org/w/index.php?diff=669172 edit summary: [+528] /* Labs wide (not only bots / tools), but available for all projects */ done, with notes [17:01:10] Change on 12mediawiki a page Wikimedia Labs/Migration Of Toolserver Tools was modified, changed by Silke WMDE link https://www.mediawiki.org/w/index.php?diff=669174 edit summary: [+252] /* List of important questions/FAQ */ added section for after migration [17:02:58] Change on 12mediawiki a page Wikimedia Labs/Migration Of Toolserver Tools was modified, changed by Silke WMDE link https://www.mediawiki.org/w/index.php?diff=669175 edit summary: [+3] /* List of important questions/FAQ */ typo [17:17:33] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Silke WMDE link https://www.mediawiki.org/w/index.php?diff=669184 edit summary: [+285] /* Labs wide (not only bots / tools), but available for all projects */ added explanation on backups [17:41:16] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/Needed Toolserver features was modified, changed by Silke WMDE link https://www.mediawiki.org/w/index.php?diff=669191 edit summary: [+215] /* Backup */ same explanatory comment as before [18:22:09] @notify Ryan_Lane [18:22:09] This user is now online in #wikimedia-dev so I will let you know when they show some activity (talk etc) [18:23:03] :) [18:23:26] * addshore is moving databases :/ [18:23:28] doing a phone interview right now [18:23:59] Do phones interview well? [18:24:26] eh? [18:26:10] Can't imagine a phone provides stimulating conversation, quite a dull device [18:30:25] Ryan_Lane: Just poke me when you're done. [18:49:39] Damianz: I prefer hangouts [18:50:12] I've never actually used google hangouts but it looks pretty good [18:50:27] Use skype a lot... or did until they've fooooked it about into wlm [18:50:30] phones are hard because you can't see the other person's manerisms [18:50:49] and I can't read lips and such [18:51:02] so I often have to make the person repeat themselves [18:51:09] especially if they have an accent [18:52:32] yeah... it's dreadful talking to asia on the phone compared to in person [18:58:12] Also Skype is evil a proprietary and won't run if you use a real OS. :-) [19:00:11] heh [19:00:14] Coren: ok. backj [19:00:16] back* [19:00:18] what's up? [19:01:09] Ryan_Lane: I was mostly wondering what your next step/plan re storage was. Given that my kickass NFS server is in eqiad, testing is an interesting proposition. :-) [19:02:24] Coren: use some system in eqiad to test performance [19:02:47] really, though, test different solutions, propose your solution to the list [19:02:55] then we'll give feedback and you can puppetize it [19:03:09] Alright, is there a misc server in eqiad I can use for the purpose? [19:03:21] Or do I just bring 1003 up for the purpose? [19:03:59] use of the virt systems [19:04:05] they aren't being used right now [19:04:18] Pointer to doc? [19:04:34] Remember I'm still a newbie. I don't know most of what is where in prod. :-) [19:05:06] Coren: look in site.pp [19:05:12] site.pp? Gotcha. [19:06:28] I expect you mean /virt100(5|7|8).eqiad.wmnet/? [19:12:17] yep [19:12:19] back in a bit [19:12:22] lunch [19:44:44] Ryan_Lane: When you're back; did you reduce the tools' gluster filesystems? [19:52:40] Coren: I'm still doing that, yeah [19:53:08] I mean, specifically, did you reach the tools project's? [19:53:11] no [19:53:13] not yet [19:53:16] Odd. [19:53:16] when do you want to do it? [19:53:36] odd in which way? [19:54:00] Well, something clearly happened. Performance went from "Oh my got get that thing away from me bad" to "huh. Not so bad." [19:54:15] probably because I've been ruducing the others [19:54:24] metadata operations are probably faster [19:54:30] Hm. /data/projects on tools is currently fairly snappy. [19:55:44] I need to upgrade opendj on virt0 [19:56:03] I've been running the new version on virt1000 and its memory leaks are totally gone [19:56:29] o_O [19:58:02] How likely is it that gluster with two bricks is actually stable? [19:58:34] not stable enough to stick with [19:58:35] why? [19:58:54] Just wondering; because the current performance would have been good enough IMO. [19:59:24] until gluster has multi-tenancy, I don't want to use it [19:59:30] * Coren nods. [19:59:34] Yeah, that makes sense. [19:59:35] we can consider switching back to it in the future [19:59:58] needing to have so many volumes is what causes the problems [20:00:11] by shrinking the volumes from 4 bricks to 2 it reduced the amount of work glusterd needed to do [20:00:25] which is likely why it's currently snappy [20:00:34] I'm hitting a nasty performance bottleneck with DRBD. [20:00:38] as we continue to add more projects it'll go back to being shitty [20:00:40] oh? [20:00:48] that's not surprising ;) [20:01:22] Network IO bound too much; if you don't buy their fancy proxy, it has a short block queue before it becomes dependent on bandwidth. [20:01:44] I wonder if we could hook the shelf up to both systems [20:02:05] Does it have dual controllers? [20:02:15] probably not [20:02:26] Because the raid6 setup certainly gives us way enough redundancy. [20:03:01] What are the shelves? DM1x00? [20:03:41] no clue. [20:03:43] RobH: howdy [20:03:56] RobH: any clue what hardware the shelves are for the labstore systems? [20:04:14] Coren: yeah. I'm not so worried about losing the array [20:04:39] dell md1220 and md1200 [20:04:51] should be able to support two systems connected [20:04:56] iirc [20:04:57] lemme check [20:05:09] that would make things *way* easier [20:05:10] IIRC md1200 come with the dual controlers [20:05:23] Ryan_Lane: And would double our storage. [20:05:28] and a lot more reliable in case we needed to failover [20:05:30] double? [20:05:32] how so? [20:05:40] its dual controller, we tend to setup both controllers to one sysetm in most instances [20:05:47] since we want redundancy if a controller dies [20:05:51] but can set to two different systems iirc [20:06:05] hook both shelves to both systems? [20:06:20] Ryan_Lane: Shelves can be stacked. Up to 8 IIRC [20:06:26] awesome [20:06:30] this sounds like a good idea [20:07:29] it should also increase speed [20:08:03] and no fucking drbd [20:08:05] :) [20:08:08] It should. Means we have to switch the active server if a controller fails, but since the other server is there for HA anyways... [20:08:22] yep [20:08:34] and switching them would be easy enough [20:08:44] Sure. Just mount /srv [20:08:53] and start quagga [20:08:57] * Coren nods [20:09:14] we could drac into the other system and do a poweroff too [20:09:16] just to be sure :) [20:09:37] IMO, that's much less wasteful too; having a full mirror of a set of raid6s is... overkill. :-) [20:09:41] agreed [20:09:50] slower and overkill [20:09:53] * Coren calculates. [20:10:02] and more likely to fail [20:10:41] OS, 2 in raid1, leaves room for 4x 9+2 raid6 and two in raid0 for snapshots. [20:11:05] raid0 for snapshots? [20:11:18] Bigger snapshot = more time until you run out of room. :-) [20:11:29] Loosing the snapshot is no big deal [20:11:59] well, kind of. they're basically backups [20:12:26] Ah, you wanted regular snapshots for time travel? [20:12:34] though I guess we'd be rotating them often-ish [20:12:41] that would be nice [20:12:50] it would be nice if we mounted the snapshots [20:12:54] and exported them [20:13:10] We could do 4x 8+2, leaves 3 snapshots in raid1 [20:13:16] * Ryan_Lane nods [20:13:25] make it so :) [20:13:28] Still ~60T of effective storage. [20:13:33] we'll need to get the controllers changed [20:14:21] Do we do this at eqiad or wait until you're done with the shrinking and do that in pmtpa? [20:15:10] let's do it in eqiad [20:15:17] we need storage set up there anyway [20:15:23] for the zone we'll have there [20:15:26] kk. I'll open a ticket to rejigger the controller wiring. [20:15:58] Need to reconfigure the shelves, too, atm they are in "show half the drives to each controller" mode. [20:16:04] * Ryan_Lane nods [20:16:20] * Coren goes to do that now. [20:17:44] Coren: so, this becomes a lot more difficult with software raid now, doesn't it? [20:18:07] Ryan_Lane: Same difficulty, more speed. [20:18:14] or will the other system just pick up the software raid config off the drives? [20:18:39] Ryan_Lane: It will. It's whole-disk raid so the metadata is there to reassemble. [20:19:10] * Ryan_Lane nods [20:19:10] cool [20:19:16] testing this will be fun :) [20:19:20] * Coren nods. [20:19:47] this would be even more awesome with btrfs [20:21:08] Ryan_Lane: From the frying pan to the fire with you, huh? :-) [20:21:21] Coren: I mean on the other two [20:21:25] as a scratch filesystem [20:21:29] Aaah. [20:22:44] You mean we can stop treating data like it's stored in nosql soon? :P [20:24:23] Damianz: :) [20:24:26] Damianz: that's the plan [20:24:54] now we just need some databases... that where suppose to be here last Q :P [20:25:00] * Damianz looks at asher [20:25:42] :O [20:26:05] Holy sugger lumps, this server booted finally... stupid service pack [21:29:01] hi [21:32:33] Coren is it possible to link file in git? [21:33:03] like there is a file and you want to have it in another folder as well [21:33:08] rather hard link than symlink [21:33:41] petan: symlinks are supported [21:33:51] what about hard links :D [21:34:00] petan: Nope; git doesn't know about inodes. [21:34:13] petan: (AFAIK, no source control does) [21:34:16] like imagine you want to have your scripts in debian structure as well as in some another folder for scripts [21:34:45] petan: Ah, no you can't do that. [21:35:20] petan: At least not that I know of. Maybe something like subversion externals, but I don't know. [21:41:09] meehfds fdg [21:41:17] my application crashes in linux more than in windows [21:41:18] :( [21:41:24] fuck that [21:41:35] "said noone ever" [21:41:45] for some reason I think it's the version of libraries which causes this [21:41:55] GTK is older here on linux than what I use in windows [21:42:22] actually stack trace point me to some internal library function [21:42:33] but it crashed 6 times in last 10 minutes [21:42:36] that makes me crazy [21:42:43] the application is this irc client [21:46:54] heh [21:46:59] wm-bot needs a quote function [21:47:15] like what [21:47:26] btw legoktm wm-bot is open source [21:47:31] * legoktm doesnt know C# [21:47:31] you can always insert it [21:47:39] you know c++? [21:47:46] nope [21:47:48] o.O [21:47:57] that's like if u didn't know english [21:47:58] I only know languages starting with a P or J. [21:48:08] java? [21:48:09] I learn it next semester! [21:48:15] Julia? [21:48:17] c# is quite like java [21:48:18] Basic java yes [21:48:28] it just doesn't have java in its name [21:48:34] that's the biggest difference [21:48:59] petan: quick question: you run the wm-bot in -feeds, right? How easy is it to turn on some basic coloring so people can more quickly scan the messages? [21:49:01] it has all the shit which java coms with [21:49:28] greg-g hi it HAS coloring but mzmcbride changed channel mode to +c [21:49:39] so that colors don't work in that channel [21:49:40] hrmm [21:49:42] he said that colors suck [21:49:47] GAH! [21:49:52] colors suck [21:50:04] i bet he exactly said that [21:50:04] yes [21:50:05] that [21:51:00] greg-g actually it comes with more colors than wikibugs which maybe is reason why he decided it suck :P [21:51:06] he was like my eyes hurts [21:51:30] petan: well, there's a iddle ground I can hopefully find here :) [21:51:30] anyway it's very customizable, everyone can change the colors [21:51:57] even people who don't know c# can change them [21:51:59] Type @commands for list of commands. This bot is running http://meta.wikimedia.org/wiki/WM-Bot version wikimedia bot v. 1.10.6.8 source code licensed under GPL and located at https://github.com/benapetr/wikimedia-bot [21:52:08] there is configuration [21:52:09] part [21:52:26] so command @rss-setstyle