[00:02:20] wp === 'wikipedia' || wp === 'wordpress' [00:02:54] preilly: http://codex.wordpress.org/images/9/9e/WP3.0-ERD.png [00:02:58] marktraceur, yeah, it took me too long to figure out tewwy's wp-related code in GuidedTour was for WordPress. :) [00:03:10] to bad the "indexes" widget is not expanded there [00:04:04] preilly: any, that approach could work for some case, though a lot of cases might have "round peg square hole" syndrome [00:04:11] *anyway [00:59:59] awight: ping [01:34:34] binasher: maybe this redis stuff can be looked at now [01:35:01] I fixed the stuff in my todo list [01:35:28] AaronSchulz: the redis jobq changeset? [01:35:32] yeah [01:35:41] * AaronSchulz lifts his -2 [01:42:52] binasher: anyway, it's that or the separate cluster thingy [01:42:59] it's all up to you! [01:43:01] ;) [01:43:21] its separate boxes regardless! [01:43:45] yeah I mean "DB cluster" [01:45:21] binasher: red pill or blue pill? [01:46:14] * binasher swallows them both.. InnoReddisDB!  [01:46:30] surely madness lies that way [01:46:55] I'd say "there be dragons there" but even the dragons are too scared [07:49:09] hello [07:52:14] New review: Hashar; "Well we still have some pep8 errors:" [integration/zuul-config] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/39694 [07:52:47] hashar: so, I have good new for you :) [07:52:52] ahh [07:53:14] guess what I have installed in beta? [07:53:17] Ryan_Lane: did you get git deploy hacked properly on labs ? :-D Managed to filter minions by instance names instead of the i-0000x [07:53:32] \O/ [07:53:38] well, I'm using the i-ooox names [07:53:46] i-000x names, that is [07:54:01] since we only have 4 instances I guess that is manageable for now :-] [07:54:16] I need to open a bug with the salt folks [07:54:20] grain matches aren't working [07:54:39] otherwise I would have done it a simpler way [07:54:53] I'm deploying slot0 right now [07:55:12] nice [07:55:18] then I'll deploy slot1, and we'll have all the repos deployes [07:55:22] *deployed [07:55:30] not that they have the right stuff in em :) [07:55:41] I will have to look at the apaches confs I guess [07:55:54] it's likely missing the private config files [07:56:02] well, I shouldn't say likely [07:56:04] it *is* missing them [07:56:11] and it's missing localization update stuff [07:56:30] I got the commands for that : mw-update-l10n [07:56:40] though that use the /h/w/c/p path I guess [07:56:42] that'll write into the git-deploy repos? [07:56:50] this works differently [07:56:50] probably not [07:56:58] I also had to remove a class from bastion [07:57:15] I had to remove: misc::beta::autoupdater [07:57:18] it was missing a file [07:57:36] err [07:57:43] that one is important but I can fix it up [07:57:43] I had to remove: role::beta::autoupdater [07:58:59] I will fix it up [07:59:03] cool [07:59:20] Tim did some changes to the scap scripts that might be related [07:59:36] * Ryan_Lane nods [08:00:09] hm. I need to improve the reporting some [08:00:28] when deploying a new repo, it says the repo doesn't exist, because the fetch hasn't finished [08:00:39] when the fetch starts it should write into redis [08:02:26] ahh [08:02:27] misc::deployment::scap_scripts [08:02:29] the new class [08:04:11] !g Ica1f8c182d2b407ef343051f402879392b38cb82 [08:04:11] https://gerrit.wikimedia.org/r/#q,Ica1f8c182d2b407ef343051f402879392b38cb82,n,z [08:05:46] ugh. got damnit [08:05:52] 1.21wmf6 -> ../slot1 [08:05:56] 1.21wmf7 -> ../slot0 [08:06:02] of course I read that backwards [08:06:09] and set the damn repos up incorrectly [08:06:24] well wmf8 will go in slot1 isn't it ? [08:06:30] yes [08:06:46] it's only possible to screw this up the first time you do it [08:07:06] You seem tired. [08:07:30] yeah you should probably head to bed Ryan :-D [08:07:34] meh [08:07:47] past midnight work might have a high errors/productiveness ratio [08:07:58] Diminishing returns. :-) [08:08:00] kudos on git-deploy anyway :-] [08:08:08] nah. this is the last step [08:08:16] I'm going to finish this before I go to bed [08:10:17] I have put back the autoupdater class on -bastion. [08:10:27] Ryan_Lane: beta auto updater should be fixed with https://gerrit.wikimedia.org/r/#/c/43157/ [08:10:39] that brings the class which provides the file { mw-update-l10n } [08:10:58] yeah, that should work [08:10:59] merged [08:11:38] thankfully fixing my screw up with the slots was easy :) [08:12:14] salt -E '^(i-000004ff|i-000004cc|i-0000031b|i-0000031a).pmtpa.wmflabs' cmd.run 'rm -Rf /srv/deployment/mediawiki/slot0' [08:12:15] :) [08:12:24] now I guess we need all the logic in multi version to fetch the /srv/ paths instead of /h/w/c/p don't we? [08:12:37] that's already done [08:12:42] oh [08:12:43] and on beta [08:12:51] where is that logic ? [08:12:56] in the common repo [08:13:06] I have the "newdeploy" remote branch running on beta [08:13:11] ok [08:13:22] note we also need to have wikis to run out of the master branches :) [08:13:38] that can be a different slot [08:13:45] a third slot so ? [08:13:50] yeah [08:13:59] the config is always master anyway [08:14:00] err [08:14:09] common repo is [08:14:10] I was referring to the mediawiki code base [08:14:32] ah, this reporting I'm getting back is way better now [08:14:39] anyway, will make Reedy aware about the mediawiki-config branch has been deployed on beta [08:14:59] this is the one at /src/deployment/mediawiki/common [08:15:02] *srv [08:15:21] I'd imagine he knows since he pushed that branch in :) [08:15:35] ohh yeah true [08:15:43] still have to actually use it now :D [08:16:01] I can point the apache docroot to that path [08:16:09] bleh initial checkouts take a while due to submodules [08:16:21] err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate definition: Class[Misc::Deployment::Vars] is already defined; cannot redefine at /etc/puppet/manifests/misc/deployment.pp:178 on node i-00000390.pmtpa.wmflabs [08:16:21] not that that's a big deal [08:16:22] damn puppet [08:16:30] heh [08:16:35] isn't that annoying? [08:16:50] can't it see that it's the exact same thing and ignore it? [08:16:58] I had that issue yesterday when trying to apply two role::applicationserver::* classes on a host yesterday [08:17:02] conflict with the common class :/ [08:17:57] different parameters I guess [08:18:53] removed misc::deployment::scripts from -bastion, already provided by misc::deployment::scap_scripts [08:19:16] works now :-] [08:20:34] so my usual radio station is on strike. instead of the dumb talks they only broadcast popular french music :D [08:20:48] kind of running a list of the top 500 french songs [08:20:54] * hashar enjoy working at home [08:20:57] :D [08:21:04] I've been working from home all week :) [08:21:11] don't you like it ? :-D [08:21:28] it's good when I need to really concentrate on something for a deadline [08:21:35] I heard complains about how the new SF openspace tends to be more noisy than before. [08:21:46] noise doesn't bother me, really [08:22:06] err: /Stage[main]/Role::Deployment::Deployment_servers::Common/Deployment::Deployment_repo_sync_hook_link[parsoid/config]/File[/var/lib/git-deploy/hooks/sync/parsoid/config.sync]/ensure: change from absent to link failed: Could not set 'link on ensure: No such file or directory - /var/lib/git-deploy/hooks/sync/parsoid at /etc/puppet/modules/deployment/manifests/deployment_repo_sync_hook_link.pp:5 [08:22:12] I have the same problem either way. getting interrupted [08:22:15] hashar: yep [08:22:20] that's a problem I need to fix [08:22:33] when I don't want to be interrupted, I work from home, shutdown mail client AND IRC client :-) [08:22:35] works well [08:22:49] I keep everything open [08:22:56] I need to multitask occasionally or I get bored [08:22:58] then I need to connect to get a change merged in our puppet repo and my day is done cause of all the interrupt ;) [08:28:21] oh repo dependencies [08:28:22] nice [08:28:37] so mediawiki code base is merged with its l10n cache [08:28:42] s/merged/deployed/ [08:32:10] yes [08:32:16] fetched at the same time [08:32:22] then the checkout also occurs at the same time [08:32:33] hashar: run this: deploy-info [08:32:51] when you wake up tomorrow, I got a change to add a master slot : https://gerrit.wikimedia.org/r/43158 ;D [08:32:58] heh [08:32:58] cool [08:33:04] I just copy pasting without knowing what I was actually doing hehe [08:33:07] seems I need to re-clone slot0 [08:33:12] I screwed it up after all [08:33:19] oh [08:33:20] wait [08:33:22] no I didnt [08:33:49] you should relocate to Europe [08:33:56] so we can work together more often :-] [08:34:02] :D [08:34:07] ah deploy-info is nice [08:34:19] slot1-20130110-081127 [08:34:28] ideally we would have the checked out sha1 too :-] [08:34:37] that's a possibility [08:34:47] does it actually ask the servers or is that cached locally ? [08:35:12] when the deploy.checkout function on the minion returns, it write to redis [08:35:20] *writes [08:35:25] deploy-info reads from redis [08:35:29] ah redis as a data backend [08:35:30] nice [08:35:50] I heard a lot of praises regarding redis [08:36:09] it's easy in this case because I don't need to worry about a schema [08:36:21] and I don't really care about the data [08:36:29] if the data goes away, I can regenerate it [08:37:21] that said, the data is snapshotted, and I can replicate it from one deploy host to another [08:37:32] think the master slot could go in or do you wanna sleep ? :D [08:37:42] it can go in [08:37:43] that would let me migrate beta to the slot [08:37:49] lemme merge [08:37:53] https://gerrit.wikimedia.org/r/43158 [08:38:05] and thus get rid of /data/project for the mw instances. \O/ [08:38:16] heh [08:38:24] so, this isn't too hard to configure, eh? :) [08:38:31] I have no idea [08:38:36] well, you just did it [08:38:37] heh [08:39:18] I'll walk you through setting it up on the deployment host [08:39:30] I need to run puppet on virt0 first [08:40:06] well the mw boxes are running out of /data/project/apache/common-local for now [08:40:13] * Ryan_Lane nods [08:40:25] I think it's going to take a little work getting everything going from /srv [08:40:32] which is a very old copy of our Apaches conf with ton of hacks [08:40:35] we have thursday and friday to do it [08:40:44] otherwise we're sticking with scap for eqiad [08:40:58] yeah I talked about with Rob during our 1/1 [08:41:09] I was like: wtf are we sticking git-deploy before eqiad ? :-D [08:41:16] :D [08:41:19] but I guess it is the perfect time to handle this [08:41:22] yes [08:41:38] and since scap is still around, we have a non-blocking fallback anyway [08:41:44] worst case we push it off to next mw release [08:41:46] that just add a lot of pressure on your shoulders :/ [08:42:29] I'm pretty happy with how it's working right now. as long as we get the l10n stuff in, we should be solid [08:43:15] ugh puppet takes ages on virt0 [08:45:57] hashar: ok, ready? [08:46:03] we'll start with the l10n [08:46:09] sure [08:46:13] 1. umask 0002 [08:46:21] permission denied [08:46:28] umask 0002 [08:46:29] (just kidding, set) [08:46:33] hahaha [08:46:37] I was wondering :) [08:46:50] cd /srv/deployment/mediawiki [08:47:02] ack [08:47:21] ? [08:47:37] like : acknowledged, I am in that dir and ready to serve master. [08:47:37] you mean acknowledged? [08:47:39] heh [08:47:40] ok [08:47:57] AHHH [08:47:58] some people also use that expression as kind of like a "wtf, something weird just happened" [08:48:04] the common has symlinks to the slots [08:48:09] yes [08:48:27] so, you should push that into newdeploy [08:48:58] we'll get to do a normal deploy and some new repos :) [08:49:12] so, you'll want to do that in the remote branch [08:49:21] then we'll deploy it [08:49:41] once you push it in and merge it: [08:49:42] but my slot master is not there yet [08:49:43] git deploy start [08:49:48] git deploy sync [08:49:49] err [08:49:53] git deploy start [08:49:54] git pull [08:49:57] git deploy sync [08:50:01] hashar: it doesn't matter [08:50:06] it's just a symlink [08:50:24] when the slot is there it'll point to the right spot [08:51:02] /var/log/git-deploy/git-deploy.log belongs to root:wikidev [08:51:04] I'm going to run puppet on the deployment host to ensure the new repos sync scripts are there [08:51:11] is it complaining? [08:51:18] but there is no wikidev in labs :/ [08:51:19] are you not in wikidev? [08:51:24] $ git deploy start [08:51:25] Can not append to global log file '/var/log/git-deploy/git-deploy.log': Permission denied at /usr/lib/git-deploy/bin/../lib/Git/Deploy/Say.pm line 96. [08:51:26] # FATAL: current working directory is not part of a git repository [08:51:29] ugh [08:51:36] I'm in wikidev [08:51:43] you may not be [08:51:45] hm [08:51:55] we really need to make it project-deployment-prep [08:52:19] did you push the link into the remote repo? [08:52:29] you probably hacked your account to be in wikidev [08:52:30] as in gerrit [08:52:44] you don't commit locally to repos, unless you are doing a live hack [08:53:10] and you never do git commands outside of git deploy start [08:53:14] https://gerrit.wikimedia.org/r/43160 smylink to slotmaster [08:53:18] cool [08:53:21] let me fix the perms [08:53:30] I'm going to need to fix the sudo stuff too [08:53:38] it is in [08:54:03] so I am in /srv/deployment/mediawiki/common and do git deploy start [08:54:13] don't do it yet [08:54:18] I need to fix perms and sudo [08:54:25] that dies anyway [08:54:25] # FATAL: Failed to read '.git/git-deploy/lock-state': No such file or directory [08:54:25] Died at /usr/local/bin/git-deploy line 45. [08:54:42] right. because of group ownership ;) [08:55:12] and the slotmaster I have created is not going to land cause puppet is failing with an unrelated issue [08:55:37] -_- [08:55:46] how's it failing? [08:55:52] err: /Stage[main]/Role::Deployment::Deployment_servers::Common/Deployment::Deployment_repo_sync_hook_link[parsoid/config]/File[/var/lib/git-deploy/hooks/sync/parsoid/config.sync]/ensure: change from absent to link failed: Could not set 'link on ensure: No such file or directory - /var/lib/git-deploy/hooks/sync/parsoid at /etc/puppet/modules/deployment/manifests/deployment_repo_sync_hook_link.pp:5 [08:56:00] but maybe it keep going though [08:56:05] it'll keep going [08:56:44] we can fix that temporarily by adding a directory [08:56:50] but I wanted to fix it properly in puppet [08:59:14] on beta your default group is 500 (wikidev). hashar and reedy have 550 (svn) :-] [08:59:30] ok, perms changed [08:59:35] nice [08:59:42] in common: [08:59:44] so git deploy start, git pull, git deploy sync ? [08:59:48] yep [08:59:49] that [09:00:01] Can not append to global log file '/var/log/git-deploy/git-deploy.log': Permission denied at /usr/lib/git-deploy/bin/../lib/Git/Deploy/Say.pm line 96. [09:00:05] oh [09:00:06] right [09:00:07] sorry [09:00:08] one sec [09:00:08] but I get a nice text now [09:00:20] Deploy procedure has started. You should now be checked out to the latest commit. [09:00:21] \O/ [09:00:32] # NOTE : Rolled back to 'common-20130110-074739' succesfully [09:00:33] nice [09:00:40] AND WE GET FUCKING COLORS IN OUR TERMINAL!!!!!!!!!! [09:00:42] yeahhh [09:00:46] heh [09:01:00] it did a rollback? [09:01:04] yup [09:01:07] ok, restart the deploy [09:01:10] git deploy start [09:01:12] it just can't write to the file [09:01:16] it can now [09:01:18] works now [09:01:18] nice [09:01:27] I changed the group own of that file [09:01:32] Updating 62b8e5c..25701f8 [09:01:32] Fast-forward [09:01:33] master | 1 + [09:01:44] so… when you do sync, it'll bring you to a prompt [09:01:50] Would you like to continue? ([C]heck fetch state,[y]es,[n]o): [09:01:56] hit enter [09:02:00] which is the same as C [09:02:01] or c [09:02:03] which is check [09:02:14] it shows the state of the minions now [09:02:19] here's what you're looking for (I'm going to improve this) [09:02:28] i-0000031b.pmtpa.wmflabs: common-20130110-074739 (fetch: 0 [0 mins], checkout: 0 [74 mins]) [09:02:29] i-000004cc.pmtpa.wmflabs: common-20130110-074739 (fetch: 0 [0 mins], checkout: 0 [74 mins]) [09:02:30] i-000004ff.pmtpa.wmflabs: common-20130110-074739 (fetch: 0 [0 mins], checkout: 0 [74 mins]) [09:02:31] i-0000031a.pmtpa.wmflabs: common-20130110-074739 (fetch: 0 [0 mins], checkout: 0 [74 mins]) [09:02:36] you want to see that the "fetch" state says 0 minutes [09:02:38] or close to it [09:02:44] and that it's state is 0 [09:02:50] that means it succeeded [09:02:56] now you can continue [09:02:59] hit y [09:03:06] well, enter y [09:03:08] did [09:03:10] and now check [09:03:13] yep [09:03:14] 0 minions without matching tag (4 reporting) [09:03:26] that's a better interface :) [09:03:26] oh that failed [09:03:27] no [09:03:29] it succeeded [09:03:35] 0 without matching [09:03:36] it's bad english [09:03:40] damn reverse logic [09:03:51] continueing [09:03:55] and now you're done [09:03:57] # NOTE : Sync ran ok! Everything looks good! Automatically finishing [09:04:00] # NOTE : Looks like you are all done! Have a nice day. [09:04:01] \O/ [09:04:13] ok, let's add the new repos [09:04:20] so git deploy sync is all I need ? [09:04:20] let's start with l10n [09:04:24] yes [09:04:33] no need to git deploy complete / end / YeahIDidItHugeSuccess [09:04:54] when sync ends successfully it finishes for you [09:05:00] and yeah the interface is definitely better than the scap stuff [09:05:08] it can be improved still [09:05:22] ok. so... [09:05:31] cd to /srv/deployment/mediawiki [09:05:53] ah the minion has a tag :-D common-20130110-090135 [09:05:54] nice [09:06:04] git init l10n-slotmaster [09:06:06] cd l10n-slotmaster [09:06:14] vi .gitignore [09:06:18] add .deploy to the list [09:06:24] write/quit [09:06:27] done [09:06:29] git add .gitignores [09:06:31] echo '.deploy' > .gitignore [09:06:35] that works too :) [09:06:40] git add .gitignore [09:06:42] git commit -a [09:06:47] "Initial commit" [09:06:51] git deploy start [09:06:58] git deploy --force sync [09:07:35] you have to force it for two reasons: 1. it's a dependent repo and by default sync won't actually push it out [09:07:54] 2. it's an initial push, so it doesn't see that you made any changes [09:08:32] usually you don't modify l10n-slotmaster, pushing out slotmaster does it for you [09:08:34] # FATAL: It appears you have not specified a tag prefix and it is not configured either. [09:08:34] # FATAL: You can use: [09:08:35] # FATAL: [09:08:36] # FATAL: git config deploy.tag-prefix PREFIX [09:08:37] # FATAL: to configure this repository for deployment, or provide one on the command line. [09:08:37] oh [09:08:38] :) [09:08:38] sorry [09:08:50] git config deploy.tag-prefix l10n-slotmaster [09:09:25] then go on as normal [09:09:30] works fine [09:09:33] I think so [09:09:53] though no file has been generated [09:09:58] no file? [09:10:12] what do you mean? [09:10:14] empty dir /srv/deployment/mediawiki/l10n-slotmaster [09:10:26] is something saying that? [09:10:43] oh [09:10:49] well, of course it's empty :) [09:10:59] l10n stuff isn't working yet [09:11:05] AHHHH [09:11:09] that explains it all :-] [09:11:12] yep [09:11:18] ok, now for the slot [09:11:20] so we need a minion script that will rebuild the l10n cache when asked to sync ? [09:11:26] yep [09:11:38] cd /srv/deployment/mediawiki [09:11:59] git clone https://gerrit.wikimedia.org/r/p/mediawiki/core slotmaster [09:12:06] wait ages [09:12:18] chmod -R g+w slotmaster [09:12:20] cd slotmaster [09:12:29] ignore .deploy [09:12:34] git config deploy.tag-prefix slotmaster [09:12:43] git config deploy.tag-prefix slotmaster && git deploy start && git deploy sync [09:12:45] echo ".deploy" > .gitignores [09:12:47] yep [09:12:51] well.... [09:12:52] no [09:12:57] wait [09:12:59] m [09:13:01] err [09:13:02] hm [09:13:07] ABORTING MASTER. [09:13:08] how do the extensions work in master? [09:13:20] does git submodule update —init work properly? [09:13:27] na [09:13:29] oh [09:13:34] that's going to be a problem, then [09:13:37] we use mediawiki/extensions.git fetched in extensions. [09:13:49] and I got an autopudating shell script [09:14:03] I guess I can change the automating script to take care of that for us [09:14:07] I will work on this [09:14:20] I can just rm the extensions directory in /s/d/mediawiki/slotmaster [09:14:21] you may want to have jenkins maintain a branch [09:14:37] fetch the extensions.git repo and then git deploy sync that [09:14:45] that's a "master + all extensions" branch [09:15:02] that's not going to work properly [09:15:49] the way the system is currently working is that the minion does a fetch for the mediawiki and a git submodule foreach for the extensions [09:15:58] then does the same with the checkout [09:16:13] what we could do.... [09:16:22] is make a masterextensions repo [09:16:29] and make slotmaster depend on it [09:16:33] I thought the minions would clone whatever is on the deployment host under /srv/deployment/ [09:16:36] no [09:16:49] so that means all minions will fetch from gerrit ? [09:16:52] this is why everything is different repos [09:16:54] no [09:17:03] the deployment host hosts the repos [09:17:08] it runs apache [09:17:24] the minions pull from the deployment host [09:18:15] so it get whatever is in slot master, i could add the mw/extensions.git as a submodule there [09:18:24] yes [09:18:32] then on the dep host I do git pull && git submodule update --init [09:18:33] then git deploy sync [09:18:56] that should work if the minions do the same [09:19:07] maybe I should have named the slot 'beta' [09:19:07] yeah, that's what they do [09:19:26] beta is likely a better name :) [09:19:49] hashar: the wmf branches have submodules for each extension [09:20:06] hm. a subrepo with subrepos is going to require some changes too [09:20:32] because I'm not doing a recursive submodule init [09:20:35] only one level deep [09:20:37] make it do git submodule update --init --recursive [09:21:03] this is going to take some dev work in the deploy system [09:21:12] because it's not necessarily that easy [09:25:16] ok. I should go to bed [09:25:25] I'll look into how to handle master tomorrow [09:25:34] thanks for your tutorial :-] [09:25:38] yw [09:25:45] seeing stuff going on in my terminal is a huge step forward :-] [09:25:53] got https://gerrit.wikimedia.org/r/43164 for you before you sleep [09:25:55] rename master to beta [09:25:56] :) [09:26:02] have a good night Ryan_Lane ! [09:26:09] hashar: why not just name it beta, rather than slotbeta? [09:26:13] ah yeah [09:26:26] well, maybe beta0 [09:26:31] incase we want more than 1 [09:27:18] done: PS2 https://gerrit.wikimedia.org/r/43164 [09:28:15] Ryan_Lane: rest well! [09:28:36] hashar: when your clone finished, mv slotmaster beta0 ;) [09:28:41] will [09:28:45] as well as the l10n one [09:28:57] beat you to that [09:29:42] I'm running puppet on virt0 and the deployment-bastion, to apply the changes [09:31:32] and: git config deploy.tag-prefix slotbeta0 [09:31:42] it's beta0 [09:31:45] not slotbeta0 ;) [09:32:00] but yeah [09:32:58] git config deploy.tag-prefix beta0 [09:33:22] Ryan_Lane: shutdown your comp and grab a book now :-] [09:33:26] ugh [09:33:32] I forgot to merge the change on sockpuppet [09:33:35] thanks for the tutorial [09:33:48] I need to re-run it on virt0, then refresh the pillars [09:33:51] then I can go to bed :) [09:34:03] yw [09:35:45] Would you like to continue? ([C]heck fetch state,[y]es,[n]o): C [09:35:46] beta0: repo does not exist [09:35:46] huhu [09:37:23] that's normal [09:37:29] keep checking [09:37:38] until at least one minion return it'll show that error [09:37:50] like I said, I need to work on the reporting stuff some :) [09:37:57] that only happens for initial deploys [09:38:05] or if the data is purged from redis [09:38:30] oh [09:38:33] I will have .deploy ignored in mediawiki/core.git [09:38:38] I think you are going to get failures [09:38:48] because until just now that wasn't configured in the pillars [09:38:58] (pillars are global config) [09:39:14] it was waiting on virt0 to finish running puppet [09:41:01] that worked apparently [09:41:07] oh? [09:41:20] I did check check check [09:41:28] eventually got fed up so proceeded [09:41:29] seems it did [09:41:34] heh [09:41:41] that's not a good idea [09:41:41] got an error {'local': "succeeded: 0, timed out: 0, failed: 4 {'i-0000031b.pmtpa.wmflabs': 20, 'i-000004cc.pmtpa.wmflabs': 20, 'i-000004ff.pmtpa.wmflabs': 20, 'i-0000031a.pmtpa.wmflabs': 20}"} [09:41:43] you got to remember it's doing a clone [09:41:50] clones take a while [09:41:52] then Check told me about 4 minions [09:42:13] and one of the minion has the files :-] [09:42:25] yes, but that doesn't mean it was done [09:42:25] ;) [09:42:52] i-0000031b.pmtpa.wmflabs: None (fetch: 30 [1 mins], checkout: 20 [1 mins]) [09:42:52] i-000004cc.pmtpa.wmflabs: None (fetch: 30 [1 mins], checkout: 20 [1 mins]) [09:42:53] i-000004ff.pmtpa.wmflabs: None (fetch: 30 [1 mins], checkout: 20 [1 mins]) [09:42:54] i-0000031a.pmtpa.wmflabs: None (fetch: 30 [1 mins], checkout: 20 [1 mins]) [09:42:57] let's restart that from scratch, I'm going to delete the repo on the minions [09:43:09] I think it had a change of pillar config half-way through [09:43:43] ok. I removed it from all of the minions [09:44:19] git deploy --force sync [09:44:31] now wait until fetch returns ;) [09:44:40] this time that is holding [09:44:44] though not really verbose :-] [09:44:55] it's not doing anything? [09:45:04] timeout [09:45:04] {'local': "succeeded: 0, timed out: 4 ['i-0000031a.pmtpa.wmflabs', 'i-0000031b.pmtpa.wmflabs', 'i-000004cc.pmtpa.wmflabs', 'i-000004ff.pmtpa.wmflabs'], failed: 0"} [09:45:09] that's normal [09:45:57] done =) [09:45:58] hm. you know. I bet I fucked up a bunch of git processes when I deleted their directory :D [09:46:32] it's still cloning [09:46:44] why do you think it's done? [09:46:55] cause it says so ? [09:47:09] damn I killed my scrollback [09:47:12] anyway, have a look at that tomorrow morning I guess [09:47:13] they are reporting status 0 on fetch and 0 minutes? [09:47:18] I already kept you awake for too long [09:47:51] I'm going to make the fetch report clearer tomorrow [09:49:00] ok. going to bed [09:49:02] * Ryan_Lane waves [09:49:13] wave :) [09:54:49] out myself for a shower and possibly commuting to coworking space. [10:27:45] New patchset: Hashar; "triggers for mw/ext/Scribunto" [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43175 [10:28:08] New patchset: Hashar; "triggers for mw/ext/Scribunto" [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43175 [10:28:14] Change merged: Hashar; [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43175 [10:36:53] New patchset: Hashar; "jobs for mw/ext/Scribunto" [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43178 [10:37:30] Change merged: Hashar; [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43178 [10:48:39] New patchset: Hashar; "triggers for mediawiki/php/luasandbox" [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43180 [10:48:50] Change merged: Hashar; [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43180 [11:08:23] New patchset: Hashar; "job to compile luasandbox PHP extension" [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43184 [11:08:33] Change merged: Hashar; [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43184 [11:15:54] New patchset: Hashar; "disable voting on php-luasandbox-build" [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43186 [11:16:08] Change merged: Hashar; [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43186 [11:25:14] New patchset: Hashar; "PHP extension builder is now in macro" [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43188 [11:25:28] Change merged: Hashar; [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43188 [11:31:43] New patchset: Hashar; "additional PHP extensions jobs" [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43189 [11:34:20] New patchset: Hashar; "triggers for our PHP extensions" [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43190 [11:34:32] New review: Hashar; "Zuul part https://gerrit.wikimedia.org/r/43190" [integration/jenkins-job-builder-config] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/43189 [11:34:54] Change merged: Hashar; [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43190 [11:54:50] New review: Hashar; "works for us" [integration/jenkins-job-builder-config] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/43189 [11:54:50] Change merged: Hashar; [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43189 [13:17:33] New patchset: Hashar; "OpenStackManager pep8 job" [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43205 [13:17:46] Change merged: Hashar; [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43205 [13:18:48] New patchset: Hashar; "pep8 for mw/extensions/OpenStackManager" [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43206 [13:19:00] Change merged: Hashar; [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/43206 [14:09:50] New patchset: Hashar; "(bug 41868) switch tmpfs base dir" [integration/jenkins] (master) - https://gerrit.wikimedia.org/r/43211 [14:10:28] Change merged: Hashar; [integration/jenkins] (master) - https://gerrit.wikimedia.org/r/43211 [15:34:32] <^demon> hashar: You could've just pinged me ;-) [15:34:50] ^demon: I can't if I don't know you are there :-] [15:34:52] hello Chad! [15:35:27] <^demon> Howdy. [15:36:40] so yeah hmm [15:37:36] jenkins-bot not allowed to submit in wmf branches https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki,access must be lacking JenkinsBot :-] [15:40:36] <^demon> It is now :) [15:40:38] <^demon> I fixed that already [15:41:17] <^demon> JenkinsBot is in Submit along with wmf-deployment [15:44:13] thanks! [15:44:43] wmf7 fails tests : / https://integration.mediawiki.org/ci/job/mediawiki-core-phpunit-misc/1099/consoleFull [15:46:43] <^demon> That "exec returned: 139" has been showing up a lot recently. [15:48:48] I guess PHP segfaults :-D [15:57:35] saper: I have no idea where a core file is generated [15:57:41] saper: nor if they are generated at all [15:58:57] going to grab my daughter, see you later [17:11:15] The December engineering report ( https://www.mediawiki.org/wiki/Wikimedia_engineering_report/2012/December ) and its summary ( https://www.mediawiki.org/wiki/Wikimedia_engineering_report/2012/December/summary ) are about to be published (in ~1 hour). Now is the time for last-minute edits, while I eat and do the dishes :) [17:28:47] andre__: Anyone know who the IP who changed https://www.mediawiki.org/w/index.php?title=Bugzilla/Fields&diff=0&oldid=621749 is? Changing "high" from 4 weeks to 6 months is a pretty major unilateral change, especially for something discussed so extensively. [17:29:37] James_F: Very likely Andre [17:29:39] James_F: argh, that was me, thanks to changing my nick and my browser having fun with cookies I guess. [17:29:45] Aha. :-) [17:29:50] Well then, won't revert. ;-) [17:29:51] descr UPC Ceska republika, a.s. [17:29:56] * James_F nods. [17:30:08] I saw cz but couldn't match that up [17:30:10] * James_F ponders pushing for disabling IP editing on MW.org. :-) [17:30:16] I too. [17:30:17] James_F: you know, this is why we have WHOIS links on the user contribution pages... ;) [17:30:30] James_F: if we want some discussion I can mention it as a followup on wikitech-l@. Maybe I should. However to me it just feels like describing reality... [17:30:32] Reedy: We have several people in .cz in the community. [17:30:33] guillom: am looking at the summary and report, thank you! [17:30:40] with that large of a number of High tickets. [17:30:55] Blame Danny_B then [17:30:56] <^demon> James_F: Disable all non-admin edits :p [17:31:23] "The launch of an alpha, opt-in version of the VisualEditor to the English Wikipedia, a project more complex than it appears;" *spooky ghost noises* [17:31:44] andre__: I dunno; the 4-weeks thing is what we aim for in VE (and, I think, other areas that have a Product Manager). Really, I think the problem is that outside of a very few areas (VE/Parsoid, E2, Mobile) there's no-one to actually do the work of reviewing bugs and prioritising them. [17:32:06] Reedy: That was a thought. ;-) [17:32:08] James_F, I see. In that case let me revert. [17:32:10] ^demon: Tsk. [17:32:30] andre__: No no, you're describing facts-on-the-ground for a lot of our code. :-( [17:32:37] I know :-( [17:32:57] Hmm, I could make it 4 weeks to 6 months. ;) [17:33:15] andre__: Frankly we need to provide Product/CL resources to the rest of WM Engineering. [17:33:26] Craigs List? [17:33:27] James_F: add Translate and other Language team extensions to your list ;) [17:33:37] We could have "Well-supported product: 4 weeks; Poorly-supported: 6 months". ;-) [17:34:10] Nemo_bis: Oh, sure, there was a ", …" missing from my comment. See also E3 and Analytics, for example. [17:34:11] James_F: so, volunteer product adviser work ...... [17:34:41] sumanah: For some of our products, that could make sense; for others in core not-really-that-fun Platform areas, I [17:34:54] 'm not sure it's sufficiently "sexy" to attract volunteers. [17:35:10] it depends. yeah [17:35:46] we're workin' on it. right now I've just asked one volunteer to do some relevant work re Lua [17:35:50] let's see how it goes [17:36:41] Reedy: wut? [17:38:17] James_F, now you're team is in the definition again. ;) https://www.mediawiki.org/w/index.php?title=Bugzilla%2FFields&diff=626798&oldid=626687 [17:41:34] sumanah: Do you know if Robert Stojnic still works on lucene-search? Very likely the answer is "No"? [17:41:43] andre__: I think the answer is "very rarely" [17:41:52] hmm. Because he's default assignee in BZ for it [17:41:52] "basically not at all" [17:42:00] He will answer questions usually if you ask him [17:42:13] (cc robla) andre__: I think it's reasonable to remove him as default assignee and move him to default cc instead [17:42:20] There's just too much brokenness in search. :) [17:42:25] sumanah, that's also what I had in mind [17:42:39] MZMcBride was kind enough to bring this to my eyes [17:42:42] Nemo_bis: we're hiring for TWO Lucene-y people [17:42:43] yeah, we should move him to cc [17:42:49] okay, will do. thanks [17:42:52] please help us find themmmmmmm Nemo_bis [17:43:02] * sumanah is sort of being plaintive :) [17:48:31] sumanah: I lost my lucene-dev-finding wand :( [17:48:39] and I'm not good at the lucene-dev-rain dance [17:58:21] andre__: Ha. Thanks. :-) [17:59:39] andre__: https://live.gnome.org/Bugsquad/TriageGuide#Steps_of_Triaging <- Flowchart [18:00:17] valeriej, ah, that one you meant. I see! I can give you a few more ones, wait :) [18:00:35] https://fedoraproject.org/wiki/BugZappers/BugStatusWorkFlow [18:00:52] and not for the status, but for the triaging activity itself: http://techbase.kde.org/Contribute/Bugsquad/Guide_To_BugTriaging#Workflow_of_the_bug_triaging_activity [18:01:50] andre__: More charts! Thanks! [18:02:31] valeriej, heh, sure - I just had them handy as I answered a "flow chart" question two days ago on the Bugzilla support list :) [18:03:40] andre__: How convenient! [18:03:52] Hola qgil, valeriej, so there is http://www.mediawiki.org/wiki/Groups/Proposals/Bug_Squad and http://www.mediawiki.org/wiki/Project:WikiProject_Bug_Squad . It's a bit confusing to have two very similar pages with two different member lists, but I guess we all know [18:03:52] (just wondering if any of you has an idea how to make that one again, before I start thinking about it ;) [18:05:02] you ... I know the procedure that used to work. you delete the page you're moving to. you move without redir. you restore all the revs of the page you deleted. you make sure the revi you want from whichever page is on top [18:05:12] and then stuff in whatever from the other edits you need [18:05:21] I have no idea if that's how it's done these days [18:05:43] did that make sense? :-D [18:06:44] andre__: I think the idea is to integrate the Project into the Group, but I don't know how active the project is. There's a thread in the project: http://www.mediawiki.org/wiki/Project_talk:WikiProject_Bug_Squad#Convert_this_to_a_MediaWiki_Group.3F_21278 [18:08:19] apergos, :D [18:08:25] valeriej, ah, I see, ok [18:08:40] * andre__ afk (away from keyboard) for a while to prepare dinner [18:08:45] enjoy [18:12:49] Nemo_bis: I appreciate the joke anyway :-) [18:26:31] andre__, http://www.mediawiki.org/wiki/Project_talk:WikiProject_Bug_Squad#Convert_this_to_a_MediaWiki_Group.3F_21278 [18:26:52] qgil, ah, I see. Who of us will do that? :) [18:27:01] do what? [18:27:36] andre__, valerie? me? [18:28:10] andre__, but only after the group is officially approvec [18:29:01] qgil, andre__: I think we have enough people now. Should I submit the proposal soon? [18:30:27] valeriej|away, http://www.mediawiki.org/wiki/Groups/Proposals/Bug_Squad#Who_is_interested needs more people. Zeljko, chris and me are already pushing other groups right now [18:30:44] valeriej|away, people not related to the WMF would be great [18:31:10] valeriej|away, the right approac probably is to start with the bug days and invite the active participants [18:31:36] qgil: Ah, I see. Ok, I'll do that. [18:32:02] valeriej|away, and honestly having andre__ fully understanding, embracing and pushing the group as promoter is needed as well. So far I'm not seeing this. :) [18:32:53] but andre__ is not saying either if there is something smelly or wrong with the idea, so it's not easy for me to help [18:33:06] andre__, speak up your mind! :) [18:33:12] * chrismcmahon is fixing to push some more RSN [18:35:45] chrismcmahon, https://www.mediawiki.org/wiki/QA_and_testing does look like a landing page now. I still want to embellish it a bit. [18:37:59] qgil, in a meeting, will come back to this [18:47:50] qgil: thanks for all the gardening/hacking, having another set of eyes on all that is helpful! [19:13:33] siebrand: ping [19:14:17] preilly: Trying to follow monthly metrics. Important or can wait? [19:14:26] siebrand: can wait [19:14:45] preilly: Okay. Will ping you when it's done, okay? [19:14:59] siebrand: sounds good [19:16:08] chrismcmahon, do you like thenounproject.com/noun/hammer/#icon-No1306 for Features testing and http://thenounproject.com/noun/gear/#icon-No7137 for Browser testing? [19:16:22] oops http://thenounproject.com/noun/hammer/#icon-No1306 [19:18:29] qgil: I am graphically challenged, not much of an opinion one way or another, go for it. [19:22:36] chrismcmahon, good! [19:23:24] Q: This only works for English language Wikipedia, or all Wikimedia wikis? [19:23:34] wrong chanell. [19:24:20] * Nemo_bis switches to #wikimedia-office to read the answer [19:34:44] matthiasmullie: ping [19:39:22] preilly: pong [19:39:40] transatlantic lag is high today [19:39:49] Reedy: indeed [19:40:13] :D [19:40:19] matthiasmullie: Can you explain why you needed to create http://www.mediawiki.org/wiki/Extension:DataModel for AFTv5 to be completed? [19:43:26] brion, are you aware of this: http://toolserver.org/~brion/athena/ [19:44:02] qgil: yeah toolserver sucks [19:44:16] can't log in so i can't reenable my account [19:44:21] brion, someone found a nice way to communicate this: https://www.mediawiki.org/w/index.php?title=Athena&curid=71665&diff=626882&oldid=580816 reverting :) [19:46:56] Reedy: wow transatlantic lag is really high today indeed [19:47:43] brion: I might be able to.. [19:52:21] lol, your account isn't in the expired list :| [19:55:37] anomie: are you around ? :) [19:55:57] hashar- Yes [19:56:23] anomie: we have a bug about adding support to deploy per datacenter config variances https://bugzilla.wikimedia.org/show_bug.cgi?id=39082 [19:56:31] anomie: I am not sure what else need to be done [19:56:46] since we have wmfDatacenter to vary on now thanks to your work :-) [19:57:31] anomie: I think we can mark that bug fixed now. [19:57:35] hashar- I think we're pretty much done, except for 33388 (which should only matter for beta). I have no patch sets left, anyway. [19:57:43] !g 33388 [19:57:43] https://gerrit.wikimedia.org/r/#q,33388,n,z [19:57:44] !b 33388 [19:57:44] https://bugzilla.wikimedia.org/33388 [19:57:49] ;-D [19:58:04] oh interestin [19:58:35] anomie: how can we get live hacks in extensions? The updater is supposed to get the latest master version of each ext [19:58:42] *looks* [19:58:45] matthiasmullie: I guess you don't feel like responding to me? ;-) [19:58:57] preilly: coming up, just a sec ^^ [19:58:59] so…oddball question - do we have control over wikivoyager.org? [19:59:04] hashar- On beta, they were copied into a different location. Just a second and I'll find it [19:59:29] /home/wikipedia/common/bin [19:59:32] it looks like it's going to the old wikivoyage site - and Jimmy Wales kept saying WikiVoyager instead of WikiVoyage on TV - so I'd bet some folks somewhere are seeing the old site.. [20:01:03] anomie: oh [20:01:55] hashar- If you think those changes aren't necessary anymore, I can abandon the patchset. I don't really know that much about it. [20:02:16] I never used the ones in /home/wikipedia/common/bin [20:08:34] anomie: so I am going to close the generic bug [20:08:34] preilly: let's say it "grew" into that [20:08:35] the existing AFT schema had a few shortcomings (e.g. unreasonable amount of insert queries upon inserting/updating entry to calculate totals for all filters) [20:08:37] originally, it was intended to use RDBStore & shard data [20:08:38] that in mind, cache would be even more important (want to minimize calls), order by/limit becomes a bit less practical, … [20:08:39] quite a bit of that code could be abstracted out and function similarly for possibly purposes other than AFT as well, so it then moved into a more general very basic "datamodel", which AFT would implement [20:08:41] it's basically a "fetch data from db and cache some of the stuff"-wrapper [20:08:42] in retrospect though; without sharding, it also makes less sense, since the "problems" of multiple queries to multiple servers are gone [20:08:43] but even so, while less important, the caching would still help reduce queries etc, even if only on 1 db [20:08:44] so I continued that code, substituting db-calls by wfGetDB (or getExternalLB) and leaving the cache-stuff in there [20:08:51] anomie: and will look at the beta live hack you submitted on mediawiki/extensions/WikimediaMaintenance [20:08:56] hashar- ok [20:09:54] matthiasmullie: May I PM [20:10:15] of course [20:11:13] anomie: marked fixd. ;-) [20:12:45] hashar: we've made moar progress! :D [20:13:00] Reedy: thanks to anomie :-] [20:13:11] he did an awesome job at implementing the multiple DC system [20:27:41] if some trustee could vote to for Matma Rex on https://gerrit.wikimedia.org/r/#/c/42574/ that would be nice :-D [20:27:56] the question is whether we will run tests for him :-] [20:30:30] ok heading to beeed [20:44:53] chrismcmahonafk, still afk? [20:46:34] New review: Matmarex; "PS3: alphabetical order per Anomie. I didn't even realize the list was sorted, Yuri added himself at..." [integration/zuul-config] (master) C: 0; - https://gerrit.wikimedia.org/r/42574 [20:47:27] 20:28:12 [exec] 1) ApiParseTest::testParseNonexistentPage 20:28:12 [exec] PHP_Invoker_TimeoutException: Execution aborted after 2 seconds [20:47:35] https://integration.mediawiki.org/ci/job/mediawiki-core-phpunit-api/1113/console [21:09:36] qgil: I'm back now, anything I need to follow up on? [21:10:20] chrismcmahon, I posted the questions at http://www.mediawiki.org/wiki/Talk:QA/Browser_testing/How_to_contribute not to forget myself. We can continue there. [22:07:35] Hello.