[00:06] jelmer: i've just noticed the same thing, don't know what causs it :-( [00:06] I can reproduce it on both of my machines [00:06] i've just upgraded to oneiric [00:06] my machines are both on oneiric [00:06] strangely enough the server logs indicate that the client disconnected suddenly [00:08] ssl error? [00:08] mwhudson: yup [00:08] why do we use ssl on a db connection to localhost? :) [00:08] it isn't trying to use SSLv2, is it? [00:08] and why has it started failing now? what's changed? [00:08] well, actually, that was turned off in natty [00:09] but OpenSSL 1.0.0 in Oneiric turned off various other rarely-used bits of SSL [00:09] things like MD2 hashing [00:09] might be worth checking that [00:10] might explain why lucid hasn't any problems [00:11] cjwatson: that's an interesting thought [00:13] cjwatson: that's just libssl0.9.8? [00:16] jelmer: well, it's libssl1.0.0 now [00:16] there's only a handful of libssl0.9.8 reverse-deps left, and none that I think have anything to do with Launchpad [00:21] it seems unlikely that's the culprit [00:21] I have libssl1.0.0 1.0.0d-2ubuntu2, which was uploaded on aug 15; the breakage started at most two or three days ago [00:22] well, it could have been some dependency switching over to it (they're different sonames), but yes, two or three days ago does make that a bit unlikely [00:25] hmm [00:26] I'll have a closer look tomorrow, thanks for the hints [00:26] wallyworld_: if you do stumble upon a solution.. please let me know :) [00:26] jelmer: Can you explain https://code.launchpad.net/~loggerhead-team/loggerhead/1.18/+merge/74532 ? It's full of conflict markers. [00:26] jelmer: will do. i'm currently looking at something else though [00:29] StevenK: argh, fail. I'll set it back to wip for now [00:30] the trunk *packaging* branch seemed to merge 1.18 just fine for some reason, looks like 1.18 and trunk don't :( [00:43] jelmer: i replaced host with hostnossl in pg_hba.conf and it works for now [00:44] Odd, it's working fine for me. [00:45] But it's in a container. [00:45] wgrant: i think lucid is ok [00:45] Container is up to date, host is not... maybe will upgrade the host too. [00:45] No, this is an oneiric container. [00:45] something seems to have changed wrt ssl that has broken things, so if you upgrade, be careful [00:46] gah. my "fix" didn't work a second time [00:47] * wgrant upgrades the host. [01:04] * StevenK stares at Thunderbird [01:04] "Canonical has 21524 new messages." [01:04] OMGWTFBBQ?! [01:16] StevenK: that's in the staging mailbox? [01:17] wallyworld_: No, my Canonical mailbox [01:17] oh. that's a shitload of messages then [01:18] It was telling lies, but it was still a little shocking [01:27] 21.5k new messages, ouch === wgrant changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 253 - 0:[########]:256 [02:28] Project db-devel build #849: FAILURE in 4 hr 12 min: https://lpci.wedontsleep.org/job/db-devel/849/ [02:29] Erk [02:30] Ah. [02:30] legit failure. [02:30] Merge issue. [02:30] * wgrant enfixorates. [04:20] Oh. I may have gotten a branch reviewed but forgotten to ask to land [04:20] nigelb: Which? [04:20] https://code.launchpad.net/~nigelbabu/launchpad/font-fixes-787798/+merge/74492 [04:21] I wonder if that's totally pointless to run through ec2 [04:22] It is. [04:22] o/ nigel, stevenk [04:22] Morning poolie! [04:22] O hai [04:23] Oooh, the Ubuntu font thing landed. It looks good. [04:23] And while we're at it: hi Nigel, hi antipodeans! [04:23] haha [04:23] Yeah, we deployed early AU morning [04:24] \o/ [04:25] If I may interrupt briefly… is anyone willing to review this soyuzzy branch? Julian said he would yesterday but evidently he didn't get around to it, and I've got other work building on it: https://code.launchpad.net/~jtv/launchpad/bug-832647/+merge/74380 [04:25] % df -h /home | tail -n 1 [04:25] /dev/mapper/sys-home 46G 42G 2.1G 96% /home [04:25] Hmmmm [04:26] what's /dev/mapper? lvm? [04:27] Yeah, LVM [04:27] Well, strictly, it's device-mapper, so could be LVM or something else than makes use it [04:28] StevenK: you're almost done! [04:28] Hah [04:29] I still have 75G unallocated in the VG, so I could just grow /home ... [04:32] How hard is bug 88545. Is it even possible to do for someone without acces to the db? [04:32] <_mup_> Bug #88545: Abolish the "statusexplanation" database field < https://launchpad.net/bugs/88545 > [04:34] It's a DB patch [04:34] nigelb: you need to make a patch that changes the db but you don't need access to the db to write it [04:34] But it may take postgres more than 2.5 seconds to perform ... [04:34] probably the first thing is to just grep for statusexplanation and see if anything uses it at all [04:34] eg to remove it from the activity log [04:34] Ah [04:35] do I need db-devel setup? [04:35] (that seems to be the branch where all db stuff happens) [04:36] So to remove it from the activity log, no, that can probably just land. [04:36] You want to make sure the model and interface no longer reference it [04:36] And then you write *just* a db patch to ALTER TABLE DROP COLUMN [04:36] Okay :) [04:37] Graduating to the bugs not marked easy or trivial :D [04:37] The drop column might perform poorly -- I suggest you talk to stub when he surfaces [04:37] Yeah, I think so as well. [04:37] But the first two steps should be easy enough [04:37] i think you get a badge for fixing an mpt bug too :) [04:38] if you haven't already [04:38] * StevenK fixed a few at the Thunderdome [04:38] 'a moment ago' is my fault [04:38] i think i have too [04:39] I've fixed way too many mpt bugs already [04:39] StevenK: column dropping is cheap. [04:39] StevenK: The rows don't get rewritten, the column just gets ignored. [04:39] The next time the row moves, it will be shrunk. [04:40] Does VACUUM clean it up? [04:40] Possibly not entirely. [04:40] But it's not important. [04:41] It only takes a bit of disk space, and it's not going to be a truly massive column. [04:41] It's still used, so that has to go. [04:42] Yes. [04:43] Still want a reviewer for a soyuzzy branch! Blocking me a little and reviewer didn't get around to me yesterday: https://code.launchpad.net/~jtv/launchpad/bug-832647/+merge/74380 [04:45] jtv: Interesting tactic to teach the dominator about deletion... [04:45] (looking) [04:46] wgrant: "interesting" as in "cleverly unexpected," or "interesting" as in "oh my God what were you thinking"? :-) [04:46] Thanks btw. [04:46] A combination. [04:46] In the Ubuntu case I'd prefer a crash over a deletion. [04:47] Crashing shouldn't be hard. [04:48] Anyway, that's for later: I left Ubuntu domination in a state where you don't get deletions. [04:49] I'd prefer it was for now. Domination has always been very fragile -- I've spent today diagnosing issues surrounding it, with a production incident caused in part by a bad refactoring of the dominator that I made and fixed last year. [04:50] With a big change like this, I'd really prefer you stick an assertion in there so breakage doesn't go unnoticed. [04:51] What would I assert though? distro_name != 'ubuntu' or pubs[0].sourcepackagerelease.version == pubs[0].sourcepackagerelease.version? [04:52] I don't know. But gina and archivepublisher currently use dominator to do different things, so they should probably run it in different modes. [04:52] The dominator should never delete anything in a Soyuz-native archive. [04:52] Only for gina. [04:52] It will cease to be Ubuntu-specific this year. [04:53] Wait, now I'm completely confused. What are you saying is currently Ubuntu-specific? [04:53] Not gina, obviously, [04:53] and not the dominator, obviously, [04:53] so what will cease to be Ubuntu-specific? [04:53] When I said "In the Ubuntu case", I really meant "In the Soyuz-native case" [04:53] Currently Soyuz-native archives are Ubuntu-specific, but they will cease to be soon. [04:54] Okay, to prevent further confusion, could you re-state with that mistake fixed? [04:54] Gina will cease to be specific to Soyuz-native archives this year? [04:55] gina is by definition not used for Soyuz-native archives. [04:55] So what will cease to be specific to Soyuz-native archives this year? [04:55] Nothing. Soyuz-native archives will cease to be specific *to Ubuntu*. [04:55] I said before that stuff was specific to Ubuntu. [04:55] But I really meant specific to Soyuz-native archives. [04:56] In particular, the dominator should never call requestDeletion on a publication in a Soyuz-native archive. [04:56] It should instead crash, as that case doesn't make sense. [04:58] Well the algorithm I've got here (the part that gina bypasses, so that's the "different mode" you referred to above) is such that the deletion case just can't happen. It's the what-do-we-do-now answer—the one you wanted, I should add—for the newly possible case in gina only. [04:58] How we may extend it later to make that case possible for the publisher's domination is a later concern. [04:58] Sure, it shouldn't be able to happen. [04:58] But I want the code to ensure that it can't. [04:59] Because nature finds a way. [04:59] We've been bitten before by things like supersede() working on a deleted publication. Other code breaks, calls methods in bad ways, and they do things that nobody ever expected. [04:59] Okay, how would the assertion check for a Soyuz-native archive? [05:00] dominatePackage will need to know in what mode it is being called. [05:00] By _dominatePublications or that new thing. [05:01] Because it should never call requestDeletion when it's called by _dominatePublications. [05:01] No, I don't know what to call the argument :( [05:02] I don't think it makes any sense to pass a mode argument just to enable an assertion that, essentially, the caller also passed the expected value for another argument. [05:03] I guess. [05:03] anyway. dominate_imported_source_packages looks like it's only going to dominate sources that are still named in the source archive's indices. [05:03] So it won't actually catch deletions, will it? [05:03] Because they'll no longer be in the indices at all. [05:03] That's for my follow-up branch. [05:03] Ah. [05:04] I've already got most of the code here; it works out to be quite elegant. [05:04] Indeed, this has turned out pretty well, I think. [05:04] Especially in the way it lets us handle migration. [05:04] Yes. So I guess the first run will sort out everything that's not deleted... I think that looks OK. [05:05] The new code iterates over all package names that are published in the series/archive/pocket, and then get()s the list from gina's src_map. [05:06] Ah. I was thinking you'd have to union, but of course this is done after everything is imported. [05:06] *In the transitional code*, if it's not in there, it finds the latest version (reusing otherwise useful bits of the dominator) and passes that as live_versions. [05:06] So the DB set is fine, indeed. [05:06] Yup. [05:06] *Once transition is complete*, I'll remove that code and then the get() will have [] as a default value. [05:07] The really great thing about it is that it requires no code of any real complexity or intimacy, except stuff from the dominator that we can reuse. Some of it is private, but who cares for explicitly temporary code? [05:07] Yep. [05:08] Oh, RARGH [05:08] nigelb: Still here? [05:08] I would appreciate a comment in dominatePackage stating that deletion should never happen in native domination, as the live publication is always first. But you have me convinced that the assertion is not required. [05:11] Thank you for forgetting my session totally, Firefox [05:12] wgrant: I agree with the idea of a comment, but this policy choice falls above dominatePackage's pay grade. It should be in _dominatePublications, where the choice is made that leads to this. [05:13] I know it's not really appropriate for dominatePackage, but with a conventional understanding of domination the code makes no sense. [05:20] wgrant: I'm in the process of writing docstrings, with a comment in _dominatePublications pointing out how the mechanism enforces the policy. [05:21] jtv: Thanks. [05:22] Approved. [05:22] \o/ [05:22] Thanks [05:22] Now if only ec2 would work for me. Perhaps I should give it another try. [05:23] Worked fine for me this morning. [05:24] Still confused :-/ [05:24] But Eventbug helped a little [05:31] StevenK: yeah [05:31] nigelb: Compounded by testfix! [05:31] But your branch has landed [05:31] haha [05:31] I have great luck! [05:32] \o/ [05:32] * StevenK ponders asking for buildbot to be set on fire. [05:37] StevenK: need help burning it? :D [05:38] Haha [05:38] I need help with JS, I'm so confused [05:40] StevenK: i need to go to soccer soon, but can i help with js? [05:41] wallyworld_: I'm trying to figure out what JS is fired when I hit a link [05:41] StevenK: normally you would register an onclick handler [05:41] unsubscribe from this bug [05:41] No onclick [05:42] StevenK: there is one set up - but it's done in js whe nthe page loads [05:42] the href="#" means that an onclick wil be used [05:42] But doesn't that mean there's no fallback in case of disabled JS? [05:43] probably, but we require js for lp now [05:43] cewrapper.fire(Event.getEvent(e, el, compat || false === facade)); [05:43] * StevenK blinks [05:43] StevenK: try looking in bugtask_index.js or bug_subscription_portlet.js [05:44] i think one or both of those have methods which run in the onload callback to set up the links [05:45] lib/lp/bugs/javascript/subscription.js looks very related [05:45] But I have no idea how to find the onclick handler function for the link so I can trace it [05:45] StevenK: it's bug_subscription_portlet.js. see it's make_link() method to set the attributes on the link as you posted above [05:46] nigelb: the link does have a fallback - the js sets the href="#" [05:46] StevenK: let me have a quick look [05:46] wallyworld_: Ah! :) [05:47] StevenK: search for link.on('click' [05:47] there's a few of those for the mute link, the subscribe link etc [05:47] wallyworld_: The page I'm on is https://bugs.launchpad.dev/product-name-989062/+bug/16/+subscriptions [05:47] <_mup_> Bug #16: "Swedish" and "Swedish (Sweden)" should be the same language < https://launchpad.net/bugs/16 > [05:48] * wallyworld_ looks [05:48] I know that doesn't help you much, but it isn't the bug page [05:48] Oh, that's not the subscriptions portlet. [05:48] Exactly [05:49] And Firebug's script tab isn't being very handy about pointing out where the JS is hiding [05:50] StevenK: i don't think you would normally get to that page except by url hacking [05:50] but it is the subscriptions portlet i think, put not rendered in a portlet [05:50] Huh? I followed a link to get to that page! [05:51] The "Edit bug mail" link [05:51] StevenK: oh ok. anyway see the bug-subsctipion-list.pt [05:52] it loads the bug_subscription_list.js [05:52] which is the same js as used for the subscription portlet [05:52] StevenK: i have to run to take the kid to soccer but will check back in 30 minutes or so [06:03] Oh god, all of the JS is in launchpad.js, isn't it [06:04] All 100,000 lines of it [06:04] isn't that a build product? [06:04] StevenK: yup [06:04] Yes, but it's the JS the browser sees [06:04] Whereas the JS we edit is split out [06:04] Its fun using firebug. [06:23] StevenK: found it yet? :) [06:29] wgrant / StevenK: Do you both have HE tunnels? [06:31] We use AARNet's tunnel broker. [06:31] It's a little closer :) [06:36] heh [06:40] I'm quite happy with it [06:40] * ajmitch wonders when lp & *.ubuntu.com can be accessible on v6 [06:41] StevenK: how's the js stuff? [06:41] wallyworld_: Crappy [06:41] Giving up for today [06:41] need any more help? [06:41] ok [06:41] wallyworld_: I might grab you inappropiately after the stand-up [06:41] oooh. promises, promises [06:41] BWAHAHA [06:42] Should I or should I not screenshot. [06:50] nigelb: the way I see it, this could be your retirement money. And then again, it could be your reason for not reaching retirement age. [06:51] jtv: I would much rather prefer using it in a presentation. So, I'm leaning to the second option. [06:52] “Not screenshot”? [06:52] Screenshot and use in a presentation [06:52] wgrant: do you have a minute to clear up a confusion in the ipv6 wiki page? [06:53] It says "gksudo gedit /etc/networking/interfaces", in lucid its /etc/network/interfaces. On oneiric do you have networking instead? [06:54] IIRC it's always been /etc/networking/interfaces [06:54] (and by "always" I mean "going back to Debian a decade ago"—I don't know much more than that really) [06:54] It's always been /etc/network/interfaces [06:55] As long as I've been using Debian, which is like 2002. [06:55] Ah. Tab completion has spoiled me. [06:55] And somehow admins who don't seem to mind this keep refusing to set up tab password completion. It's not fair. [06:55] Heh [06:56] ok, so the wiki is lying. [06:56] BTW my having been using Debian for longer than wgrant comes as a bit of a shock. [06:56] My using Debian for longer than wgrant can walk, that I would have believed. But this… [06:56] well, he should be old enough to read before he uses a computer... [06:57] Good point. [06:58] I sadly used Windows until 2001 :( [06:58] No buffer space available? [06:58] GAH. No ipv6 yet for me. [06:59] wgrant: I used Windows until 2007. Windows Vista for a year too (yeah, *stab* *stab* *stab*) [07:04] Lunch time! Laters folks. [07:13] Hmm, no stub yet :( [07:16] Morning stub. [07:16] Morning [07:17] stub: We snuck a librarian deployment through without downtime earlier, so everywhere is 13891 except germanium's poppy and cocoplum. [07:17] Hopefully that is all the fixes we need. [07:18] It is all the fixes we know we need in any way :-) [07:18] Right. [07:19] So if mthaddon has time when he gets here or spm is free, we can kick the tires. [07:20] stub: My zopeless destruction branches get rejected by the devel database/schema check :( [07:20] With luck you can land it on devel later today. Tests pass? [07:20] Yup, all three went through ec2 overnight. [07:21] Are we going to lift the restriction? [07:21] Since otherwise we're going to be doing a lot of manual merging. [07:21] wgrant: I just realized we never did make Gina create Published publication records. Still all Pending. So need to change the code for that as well, _and_ update the database. [07:21] I like having it as a safety net, but I don't see the point of having be so vigorously enforced. [07:22] jtv: We do, but it's not critical. [07:22] jtv: Since your new dominator method finds everything that's active. [07:22] Not just published. [07:22] wgrant: errrr [07:22] I stuck to the logic that was already there, which looked for published. [07:23] + self._composeActiveSourcePubsCondition(distroseries, pocket)) [07:23] Is that active, or published? [07:23] It's published. [07:23] Heh. [07:23] The dominator tends to say "active" when it means "published." :( [07:24] But let me just double-check, because we had the confusion in gina before. [07:24] stub: So, I guess we should actually try it tonight... [07:24] Yup, published. Not active. [07:24] wgrant: now if I can sucker hloeung into doing it [07:25] * hloeung logs off... right.... now.... [07:28] StevenK: Hi, I'd like to ask you a question about the creator field of spph. [07:29] It was introduced by a branch you created to fix bug #684101. [07:29] <_mup_> Bug #684101: Add an ancestor column to SPPH < https://launchpad.net/bugs/684101 > [07:29] rvba: It and ancestor were never used. [07:30] Indeed, Julian an I took a look at the db and it's None. (besides, copyTo sets it to None) [07:31] wgrant: StevenK I'd like to use it for real to track copies of spph. Any objection? [07:32] That was the intention of creator, so do it! [07:32] It was added alongside ancestor mostly because it was convenient. [07:32] And ancestor then became redundant; we examine changelogs instead. [07:32] Okay great, this will save me a db patch! [07:33] wgrant: Thanks. [07:33] rvba: Not that that is a problem. [07:33] stub: wgrant: landing schema changes on devel? I'd suggest needing a [schema] tag in the commit, but perhaps that wouldn't actually help. [07:33] lifeless: Possibly, yes. [07:33] lifeless: If you're not watching #-ops, we're about to do the first test. [07:33] I'm not here :) [07:34] safety net off, free falling :) [07:35] wgrant: someone should tweet :) [07:35] Once we're confirmed that it's going ahead, yep. [07:35] lifeless: something like that, yer. Although I hate overloading the commit message with metadata. [07:37] will need a pqm patch if we want it, but htats not as scary as some folk think :) [07:38] good morning [07:42] Yippie, build fixed! [07:42] Project db-devel build #850: FIXED in 4 hr 36 min: https://lpci.wedontsleep.org/job/db-devel/850/ === rvba changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: rvba* (jtv) | Critical bugs: 253 - 0:[########]:256 [07:45] First day as OCR, allenap is off today so jtv has kindly accepted to be my mentor today. [07:46] “Soft target. Fire away!” [07:46] :) [07:50] jtv: That is a very long XXX comment! [07:51] jtv: Are you going to land this before we do the code+data fixes for Pending->Published? [07:52] wgrant: probably, unless it turns out to be inconvenient w.r.t. how we update the legacy data. [07:53] As long as Gina doesn't get to observe the Pending→Published change in an unnatural order, it shouldn't make much difference AFAICS. [07:53] Indeed. [07:53] About the worst I can imagine for that scenario is intermediate, but more-or-less-accurate, supersededby links. [07:54] jtv: Why are you using _sortPackages instead of sorted(..., cmp=generalization.compare), as you did in dominatePackage? [07:54] You should only have SPPHs for a single name, so _sortPackages isn't needed. [07:54] Just because it gets a little less intimate with the data. [07:55] Matter of taste, really, no more. [07:55] k [07:56] Approvalated. [07:56] Great, thanks. We're really going through them at a clip now. [07:56] Which is good, because I once again gave Julian a "done by the end of this week" estimate. [07:57] Hmm I just realized though: with these changes, the new source file I added to gina ought to be called dominate.py, not retire.py [07:58] Probably. [07:59] And done. [08:22] * mpt awards nigelb his "fixed an MPT bug" badge: (╯°^°)╯︵{FAMPTB} [08:25] heh === almaisan-away is now known as al-maisan [08:31] haha [08:31] I should get that on a t-shirt. [08:31] Next UDS I attend, I'll do that :D [08:34] rvba: welcome to reviewing :) [08:35] G: ;) [08:35] here have a look at this patch that removes all the code.... ;) [08:38] G: That sounds like StevenK's branches :P [08:40] stub: Hi [08:40] nigelb: haha sounds about right :) [08:41] stub: I was asked to run bug 88545 by you. Specifically the bit that requires a db patch [08:41] <_mup_> Bug #88545: Abolish the "statusexplanation" database field < https://launchpad.net/bugs/88545 > [08:42] nigelb: I can't look right now - deployment stuff underway. Should be able to check it out within the hour though. [08:42] stub: sounds good [08:53] [6~[6~[6~[6~[5~/wg 62 [08:53] GAH [08:53] heh [09:14] GAH. Bad thing about working from home - telemarketeers knocking on the door. [09:15] Telemarketers... on the door? [09:15] Well, wrong word. [09:15] wgrant: I was just going to make that point [09:15] The door-to-door salesmen [09:15] but it was pretty obvious that we all knew what the other Nigel meant :) [09:15] parasites? [09:16] I guess you could call them that. [09:19] one advantage of living up a 100m driveway and all that, about the only door-to-door thing we get is various churches/religous ones, and the occasional one that does things like door-to-door sales of aerial photography etc [09:24] Same here! [09:25] last time I had some religious dudes show up, I squirted them with "holy water" and brandished garlic [09:26] ttp://hawkersnotice.com/ [09:27] bigjools: heh [09:27] lifeless: Its not linked! thedoghousediaries.com/?p=3003 [09:28] Oooh,that is good stuff. [09:29] Amazon has "11.6 seconds mean time between deployments"... what in the world. [09:29] lots of focused services [09:30] Is that where the service oriented architecture is leading Launchpad to? [09:30] yes [09:30] excellent! [09:31] The goal is that all commits to trunks are deployed on their own, without batching, and that unrelated things are separate services with narrow contracts [09:32] Or it just means serialized deployments to lots and lots of hosts... [09:32] unrelated things? [09:33] nigelb: librarian vs codehosting vs group management vs build farm vs ... [09:34] ahhh, right [09:35] How does lp deploy now? I know its batched etc. But is it a click to deploy? [09:35] not quite but close [09:38] Any reviewers in the house? https://code.launchpad.net/~jtv/launchpad/bug-844577/+merge/74568 ← bigjools maybe, since you didn't get around to my bigger branch yesterday? [09:39] The reason I ask is, would making each commit deployed on their own cause more work than now? [09:39] jtv: sorry, gotta sort out a prod issue [09:39] Ah of course, sorry, [09:39] —kept that in a different context [09:40] Anyone else? https://code.launchpad.net/~jtv/launchpad/bug-844577/+merge/74568 [09:41] nigelb: it always will [09:41] nigelb: the question is, does the improved accuracy in dealing with fallout and omgs gain more than the cost. [09:42] Okay, yeah. That's a good point. [09:43] Also, fail whale for Launchpad would be nice ;) [09:43] LP shouldn't need it :) [09:43] nigelb: patch it up [09:43] nigelb: I'd love a nicer OOPS page [09:43] a rocket exploding? [09:43] nigelb: and OOPS for ajax requests [09:44] lifeless: Oh, OOPS for javascript? [09:44] Have you seen this -> errorception.com [09:44] nigelb: ajax get OOPS ids in the header of the reply [09:44] http://errorception.com <-- clickable. [09:44] nigelb: but the error is shown nastily to the user, not tastefully [09:45] That would be nice to improve, yes. [09:45] ajmitch: Rocket exploding OOPS page would be nice. [09:46] nigelb: that'd just be an artwork change [09:46] nigelb: u1 has a form that can be POSTed to by javascript that fails. [09:46] nigelb: we just need the same for LP, rather than a 3rd party service. [09:46] lifeless: I'm guessing the code for the u1 page isn't open source? [09:46] nigelb: we can't use a 3rd party service without some very careful legal stuff, because we have non-public data in js contexts. [09:47] nigelb: no, but the js side of it is visible :) its a django stack not zope [09:47] Every page has a form that javascript posts to? [09:48] In caes of errors.. [09:48] no there is one form for all errors [09:48] Ah. [09:48] hrm, how do I force an error from u1. [09:48] this openid thing is puzzling me now [09:48] ask rockstar about it :) [09:49] Does u1 web team have a different channel or all in one channel. [09:49] I shall poke rockstar at a more favorable time, when he's awake. [09:49] well, not on freenode :) [09:49] GAH. [09:49] oh. I haven't looked at Ubuntu one website in a while. [09:50] Its...wow [09:54] lifeless: Nope, my firebug skills don't show me anything. Need to ask rockstar. [09:56] wgrant: we're getting rabbitmq 2.6.0 in oneiric \o/ [09:56] it's got HA clustering [09:56] bigjools: Oneiric? Nice. [09:56] Well, yes. [09:56] It has active-active. [09:57] It requires some restrictions, though. [09:57] I'd like to say it was my doing, but it's a requirement for OpenStack [09:57] bigjools: It's not quite a trivial update, as the PID handling has changed. But it's like 5 lines of initscript that need adjusting. [09:57] Ahh. [09:58] bigjools: I guess I should update the plugins for 2.6.0 at some point, then. [09:58] wgrant: yes please ;) [09:59] we don't yet use rabbit heavily, do we? [09:59] I thought the only place I saw it was the new sync stuff [09:59] nigelb: We don't use it at all yet. [09:59] The first use is MP diff updating. [09:59] OH YES [09:59] PLEASE [09:59] It is implemented. [09:59] Just not deployed. [10:00] Ah. That will make a lot of people very happy. [10:01] coming soon to a Launchpad near you [10:01] "soon" [10:01] we start work on it next week [10:01] 2 weeks will be enough [10:01] Oh, btw. What does the tag bug-columns mean? [10:01] nigelb: That's the next feature. [10:01] nigelb: Customisable bug listings. [10:02] nigelb: So you can eg. show assignee in search results. === al-maisan is now known as almaisan-away [10:02] \o/ [10:02] that sounds useful [10:02] once that's done I want to replace crontabs with rabbit queues [10:02] bigjools: Yes. [10:02] Job runner daemons. [10:02] bigjools: YES! [10:02] Consuming immediately from rabbit. [10:02] It will be glorious. [10:02] GLORIOUS [10:02] yes and yes [10:02] rabbit allows for scheduling at a specific time, or will you just run tasks as available? [10:02] which is something I was doing 18 years ago in a former job, but meh [10:02] chaos! glorious CHAOS! [10:03] ajmitch: as available. [10:03] it's to reduce latency and load spiking [10:03] so karma updates would happen during the day rather than all at once? :) [10:03] we need a way to specify cumulative updates though [10:04] ajmitch: we have many, many cron jobs. one at a time :) [10:04] everyone knows that LP is all about the karma :) [10:05] kim0 tweeted this the other day "Ask a sysadmin about something and he'll tell you there's a cron for that" [10:06] I can totally believe Launchpad having many, many, many crons. [10:07] > 200 [10:07] Achivement Unlocked - I just rocketfuel-branch'd a branch starting with destroy. [10:07] ajmitch: Personally, I think we should have badges as well. [10:07] hah [10:07] Like what stackoverflow does. [10:08] nigelb: certainly, I've collected a few on askubuntu [10:08] I think we need a penis icon that gets longer and longer [10:08] heh [10:08] bigjools: where would you fit it in the UI? [10:09] ajmitch: tell users they need multiple monitors. [10:09] heh [10:09] you don't need to, you just lie about its size [10:10] I should suggest the badges idea at some point. But there stuff I'd like to see before that. [10:10] Like instant gratification for buying commercial subscriptions [10:10] yes [10:10] then you have people doing things for the sake of badges, like commenting on 50 bugs [10:10] fwiw I think gamification has to be done ----very----- carefully [10:10] pathological incentives are terrible. [10:11] we already have badges for team memberships after all [10:11] and have seen folk making farms of teams with badges [10:11] ajmitch: Right. It needs to be done carefully. There already are people joining teams for bade collection.. [10:11] err, what lifeless said. [10:13] There are also people creating blueprints and answering questionst for karma :/ [10:14] * ajmitch has got no further with being able to log in to launchpad.dev, sadly :) [10:22] get any reviews yet rvba? [10:22] bigjools: nothing yet. [10:46] Hrm, is there a reason why on my ~ page only bugs assigned to me *and* In Progress are shows? [10:46] *shown [10:47] Ideally, I'd like to see everything that's valid and not closed. [10:59] It's the "Working on" section. [11:00] /~/+assignedbugs shows everything assigned. [11:00] aha [11:12] wgrant: ok finished reading that page [11:12] finally [11:13] wgrant: interesting analysis, although I am not sure why you marked two of the rows as "bad" in the last query output. [11:15] bigjools: You'll love this - "BCCI refuse sponsorship offer from Branson-We can't have VIRGIN written on our shirts, when we're getting screwed in every match in England" [11:16] :D === ccxCZ_ is now known as ccxCZ [11:19] bigjools: Those are the two that expired the 53 binaries. [11:19] how do you know? [11:20] Just above that I have a list of the LFAs with their expiry dates. [11:20] Let me open that page. [11:20] ok [11:20] there are some leaps of logic that are hard to follow [11:21] let's go through this [11:21] might be easier on a call [11:21] s/might/will be/ [11:22] * wgrant finds headset. [11:22] skype is better, mumble gets on my nerves [11:23] or voip for purists [11:23] I only have mumble set up... let's see if Skype likes oneiric. [11:24] nigelb: So what did you need to know about https://bugs.launchpad.net/launchpad/+bug/88545 ? [11:24] <_mup_> Bug #88545: Abolish the "statusexplanation" database field < https://launchpad.net/bugs/88545 > [11:25] nigelb: It needs to be done in two steps. First is purging that column from our code. Once that is landed and deployed everywhere, we then land a db patch to drop the actual column. [11:26] stub: StevenK asked me to check with you about the expensiveness of the db patch [11:26] Dropping the column is not expensive. [11:27] Excellent, I'll go ahead with a destroy branch [11:27] PG doesn't rewrite the table or anything - the column is just flagged 'removed' and new rows won't store the data but old rows keep the crap until we recompact the table. [11:28] that's the bit that'll be expensive? [11:30] its the bit we don't bother with, as it will happen eventually with PG upgrades and similar. [11:30] cool, ok :) [11:30] Oh, and how does one write a db patch? [11:30] We do it if we really need the space or if things are performing badly because of the waste [11:31] bigjools: Skype seems to work. [11:31] bigjools: Ready when you are. [11:31] ok [11:31] opne mo [11:31] one [11:31] just looking at jtv's patch now!!! [11:31] nigelb: There are guides on the wiki. You branch from lp:launchpad/db-devel and add a .sql script to database/schema similar to the others in there. The file name requires a number which someone will need to allocate for you. [11:32] stub: okay, I'll worry about it when I land the code changes :) === almaisan-away is now known as al-maisan [11:36] nigelb: Cool. I don't think we need to worry about waiting for deployment between landing the code changes on launchpad/devel and the db changes on launchpad/db-devel. We do need to wait for those code changes to have been merged into db-devel though. === jtv1 is now known as jtv [11:41] ok! [11:42] nigelb: IE, it will hit db-devel pretty much after it hits stable [11:51] StevenK: yeah, I understand now :) [11:52] * nigelb is waiting for EOD to start working on this. [11:55] stub: Hi, when you get a chance, could you please have a look at this mp: https://code.launchpad.net/~rvb/launchpad/sync-bug-827608-spph-creator/+merge/74571 [11:55] It's only huge because of the changes in database/sampledata [11:56] stub: I'm wondering if CONCURRENTLY should be used for the index creation. [12:13] Still no reviewers in the house? Need one for https://code.launchpad.net/~jtv/launchpad/bug-844577/+merge/74568 [12:13] rvba: I won't be sticking around much longer though. [12:13] jcsackett: are you reviewing today? [12:14] jtv: i can look at it in an hour or so if jcsackett isn't around today [12:14] bac: that'd be great, thanks. I sort of promised this stuff would finally be done this week, and I'd be ecstatic to be able to land it tomorrow. [12:15] jtv: I'll let jcsackett handle the reviews when you're gone. [12:15] jtv: well let's go for ecstasy then [12:15] rvba: OK, better take me off the topic now though. :) [12:15] bac: an oft-heard phrase in Amsterdam, actually. [12:15] Sort of like "let's go for a beer." [12:15] rvba: great that you're reviewing now! [12:17] bac: Well, I must say this first reviewing session has been quiet ;) === rvba changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: rvba* (?) | Critical bugs: 253 - 0:[########]:256 [12:18] rvba: that happens. much preferred to the days when we always had a huge backlog [12:19] jtv: I'll find someone to mentor my review if anything comes up before jcsackett takes over. [12:19] OK [12:19] jtv: Thanks a lot for your support. [12:20] rvba: well you haven't needed any! [12:20] jtv: Indeed but I appreciate the gesture anyway ;) [12:21] You and your Gallic chivalry. :) [12:21] hehe [12:25] \o\ [12:26] we need a smiley for a Gallic shrug [12:26] Ok, that was a Gallic shug then ;) [12:27] not intentionally :) [12:31] I suppose a Gallic shrug would be something like " M " [12:31] that just looks like someone doing air quotes [12:31] I mean M [12:31] but I quoted it. [12:31] ^O^ [12:32] The shruggie was meant to be the bit between the quotes. [12:37] The ^O^ does have a certain gastonic quality about it. [12:41] jtv: it could also be someone turning into a bat [12:42] hmm yes, happens all the time so people would get confused [12:54] * bac begins jtv's review [12:54] thanks bac! [12:54] * bac sees mention of Gina and has instant regret [12:55] haha [12:55] bac: This review was a trap! [12:55] Nicely played ;) [12:59] rvba: No CONCURRENTLY in DB patches ('make schema' will fail in any case). We add that in manually if we apply the patch live. [12:59] stub: Okay. [13:00] I'm starting to work on something that's going to need a db patch. [13:00] Should I still start from db-stable? [13:01] rvba: Its not 2010 either, so the copyright in the patch is incorrect. [13:01] stub: Arg ... sorry about that. [13:02] Fixed. [13:02] rvba: Do you want me to allocate a patch number or are you happy doing that yourself? [13:03] stub: I'm happy to do it ... could you just point me out the right direction? [13:03] lp:~launchpad/+junk/dbpatches [13:04] Okay. [13:06] jml: db-stable is probably. But unless something goes really wrong, we'll be merging db-stable into devel for the first time in 2 months tomorrow. [13:06] db-stable is probably best, that is. [13:07] wgrant: thanks. are there any differences to what I should do now to what I would have done two years ago? [13:07] jml: DB patches and code must be in separate branches. [13:07] I looked on the wiki, but couldn't find anything. [13:07] jtv: r=bac [13:07] jml: We must be able to deploy the DB patch without the code. [13:07] wgrant: and the code without the db patch? [13:07] Thanks again bac [13:07] jml: That's not really defined yet. [13:08] jml: But at the moment, no, the code usually depends on the DB patch. [13:08] So you land DB patch to db-devel, then code to db-devel separately. [13:08] We apply the patches, then merge db-stable to devel, and deploy the code. [13:34] jml: It's maintained by buildout, so it should start out empty. [13:34] hmm. [13:34] mkdir ~/launchpad/lp-sourcedeps/yui and symlink it into devel, I guess. [13:35] I wonder if the upgrade code was dropped at some point. [13:35] OK. I think it's actually created by buildout. So my *real* question is, why does link-external-sourcecode link it [13:35] But it's only like 2 months old... [13:35] AH, rf-get is what got it for me. [13:35] jml: Ah, so it probably only ends up in lp-sourcedeps in new installations. [13:35] jml: Same reason we share eggs/: caching for speed. [13:35] Although yui isn't too expensive yet. [13:35] Oh, I see. And it can't live in eggs/ because it's not Python. === jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jcsackett, rvba* (?) | Critical bugs: 253 - 0:[########]:256 [13:35] jcsackett: Hi, I think I'll leave you the floor since I'm mentor less atm ;) [13:35] rvba: sounds fine. :-) === rvba changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jcsackett | Critical bugs: 253 - 0:[########]:256 [13:36] yay, EOD. Now to work on the destroy branch. [13:36] rvba: how did your first day of review go? [13:36] jcsackett: 0 reviews asked, 0 reviews done ;) [13:36] * jcsackett laughs [13:36] yeah, that happens from time to time. [13:37] The only branches up for review are mine. [13:37] rvba: soon, you will have a day where 17 reviews hit the queue at the same time. frequently as you're heading to lunch. :-) [13:37] hehe [13:37] Like wating for a bus? ;) [13:41] jcsackett: one of my branches seems huge but really this is only because of the mecanical modifications to database/sampledata [13:42] rvba: looking at it now. thought it was already reviewed but i see that was just db approval. [13:42] True. [13:42] the other one looks fine, assuming of course its prereq is alright. :-) [13:43] The big one is the prereq. [13:43] jml: is it behaving now? [13:43] wgrant: yep [13:43] Great. [13:43] henninge, none afaik (sorry, was doing car stuff) [13:43] unittest2? [13:43] really? [13:44] jml: I think that's for Chameleon. [13:45] Chameleon seems to be a bit special in far too many ways. [13:45] OK. [13:45] Don't worry, we're not using it :) [13:45] it == unittest2 [13:46] good good :) [13:46] what's Chameleon? [13:46] A templating engine. [13:46] Implements TAL and some other stuff, I believe. [13:46] We use it on a page or two. [13:46] jml, why it would be bad if we were? It's stdlib 2.7, yeah? Don't know much beyond that [13:47] gary_poster: prejudice. [13:47] jml :-P [13:47] wgrant: A page or two? Isn't tal everywhere? [13:47] Or was that irony I failed to catch :P [13:47] nigelb, Chameleon is an optimized engine [13:47] we use a legacy engine everywhere [13:47] We use another TAL interpreter for the rest of the site. [13:47] Right. [13:47] there's a LEP to switch the rest [13:47] AHHHH. [13:48] It is supposed to save 10-20% processing across the board, IIRC. It's been awhile since I did the research and tests [13:51] what we lose in render time, we gain in cronspam! [13:52] I was just about to ask why we didn't do that. [13:52] :-P [13:53] bigjools, there's an RT for that. [13:54] We're just like an alternative Apple app store [13:54] :-) [13:54] rvba: code in the big branch looks fine. one curiousity though. why remove the comments on columns like potemplate? i don't see anything wrong with doing so, just curious if that was cleanup or somehow within the scope of your changes. [13:57] nigelb, because it is non-trivial work. See Gotchas and schedule at bottom of https://dev.launchpad.net/LEP/Chameleon That analysis itself has been overtaken by events since it was written. [13:57] For instance, on the bright side, maybe some of the Gotchas are no longer a problem because the newer version of Chameleon has greater compatibility. On the not-so-bright side, we would need to rewrite the memcache tal plugin again, or decide conclusively to rip it out as failed; and do a reanalysis of What Breaks Now. [13:58] fun. [13:59] yeah [14:01] gary_poster: ok, I'll mark the bug as qa-ok then. (Sorry, was otp) [14:01] jcsackett: no, that's not within the scope of my branch, let me have a look at that. [14:02] or rather qa-untestable? [14:02] rvba: like i said, it's not a big deal. the comments all basically are "this is the $var" where $var is the name of the column *anyway*. [14:02] henninge, np, I am about to go on phone, but I was going to try and put a branch in junk for the heck of it as a smoketest. If you can do that it would be great; if not I'll do it after I get off call [14:02] gary_poster: yeah, I'll do that. [14:02] so removing them has not materially changed the documentation. :-P [14:03] thank you very mucj henninge [14:03] np ;) [14:10] Can someone please give me a patch number? [14:11] https://dev.launchpad.net/PolicyAndProcess/DatabaseSchemaChangesProcess#Patch%20ids says I need one before continuing. [14:12] jml: I'm just modifing the patch number file. If you give me a comment I'll do it for you. [14:12] rvba: what sort of comment? [14:12] jml: like what the patch does. [14:13] rvba: "Add tables for a package symbol database" [14:13] jml: Okay sir, here is your patch number: 2208-83-1 ;) [14:13] rvba: thank you. [14:13] np [14:16] jcsackett: I've fixed the comment removal. That was due to an unfortunate manipulation. [14:16] rvba: ah, cool stuff. [14:16] jcsackett: BTW I also fixed the patch number, it was 2208-82-0 and I changed it to 2208-82-1 [14:16] rvba: ok. [14:17] rvba: looks good, branch is r=me. [14:17] (the reason I did that is explained in the last paragraph of http://bazaar.launchpad.net/~launchpad/+junk/dbpatches/view/head:/allocated.txt) [14:17] jcsackett: cool, thanks. [14:19] gary_poster: Do you know what buildout does with binaries? I've added Celery to buildout, but I can't find celeryd anywhere. [14:20] To delete a db field, I need to remove all instances that the field is being used, right? [14:20] abentley, on call, but look in egg in EGG-INFO. [14:26] abentley, you can also put a binary in bin. There are a couple of ways, but most standard is to use entry_points in setup.py [14:27] you can see examples there now [14:27] gary_poster: It seems to have entry points already: http://pastebin.ubuntu.com/685317/ [14:28] Should code hosting on qastaging be expected to behave differently from production? [14:28] abentley, yes those are if you install it in a Python. Use what I told you for those entrypoints [14:28] on call again [14:29] henninge: yes. [14:29] henninge: codehosting on qastaging has only a small subset of branches physically present. [14:29] abentley: i saw this when pushing http://paste.ubuntu.com/685307/ [14:29] ah, I see [14:30] abentley: but what about new branches [14:30] I had to push twice. [14:30] also, the branchscanner is either very slow or not running. [14:30] henninge: I believe it's very slow. [14:31] henninge: I wouldn't expect the first push to error like that. [14:31] It runs on staging, but I don't believe it runs regularly on qastaging. [14:31] That first error was because it's trying to stack on a branch that isn't on qastaging. [14:31] The subsequent push will see that the bzrdir exists, so not try to stack again. [14:32] that seems to make sens [14:32] e [14:32] Pushing to +junk went fine btw. [14:32] henninge: I can't reproduce your issue: http://paste.ubuntu.com/685321/ [14:33] +junk doesn't stack. [14:33] So that's unsurprising. [14:33] henninge: was there a previous push attempt? [14:33] wgrant, henninge: true. It would be complaining about the missing development focus branch. [14:33] Exactly. [14:34] abentley: pushing to +junk worked fine for me, too. [14:34] abentley: my bzr complains about lp://staging/ urls. What might be missing/old? [14:35] henninge: bzrtools development focus is always present on (qa)staging. Can you push as a branch of that instead? [14:35] henninge: I don't know. What's the complaint? [14:35] "not a valid url" [14:35] I will try bzrtools [14:36] henninge: And it's complaining about qastaging, not staging? [14:36] henninge: I mean, I can understand if it doesn't grok lp://qastaging, because that's newish. [14:36] henninge: But lp://staging has been supported for years. [14:37] yes, that works. [14:39] abentley: and bzrtools works flawlessly, too. ;) [14:40] thanks abentley, wgrant [14:40] henninge: qastaging support was introduced to trunk in January, and should be in bzr 2.4. [14:40] abentley: ah, I am running 2.3.4 [14:41] that's probably stock natty. [14:44] abentley: there are two ppas in my config (deactivated): /bzr/ubuntu and /bzr/ppa/ubuntu [14:44] abentley: which one should I use? [14:44] or both [14:44] ? [14:45] henninge: bzr/ppa [14:48] abentley: thanks, now I am on 2.4, too [14:49] henninge: np === al-maisan is now known as almaisan-away === almaisan-away is now known as al-maisan [14:56] Hi bac! How far along are you with QA for bug 838957? Need any help? [14:56] <_mup_> Bug #838957: AssertionError: Search by component requires a context with a distribution or distroseries. < https://launchpad.net/bugs/838957 > [14:56] henninge: i'm doing it now, thanks [14:56] bac: awesome, thank you ;) [14:56] should just take a sec [14:56] henninge: it's gary you need to harass! [14:56] :) [14:57] bac: I am done with that ;) [14:57] * bac hurries... [14:57] "Don't rush the miracle man or you'll get the wrong miracle." [14:58] henninge: done! [14:58] wgrant: is the buildd-manager in nodowntime? [14:58] bac: great, thanks [14:58] ;-) === dpm is now known as dpm_ [15:31] mrevell: we should announce that we are doing fastdowntime to our users [15:32] since they might encounter a 5 minutes outage weekdays at around 8:30 UTC [15:33] n [15:33] flacoste, Cheers, I'll get a blog post etc together. [15:33] bac, Hey [15:33] bac, got a question for you [15:33] hi mrevell [15:34] cjwatson: how would you feel about automatically cleaning out the archive and librarian of all binaries as soon as a series is marked obsolete? [15:34] mrevell: thanks! can you take care of sending the news to the stakeholders list also? [15:34] flacoste, Sure! [15:34] thanks [15:37] flacoste, mrevell: I put an announcement via launchpadstatus already [15:37] oh... just for tomorrow. [15:37] Thanks stub. [15:38] mrevell: it's probably important to point out that until we fix bug 844631, this will manifest itself through a bunch of OOPSes during the outage [15:38] <_mup_> Bug #844631: Launchpad should return 503 error pages when database is unavailable < https://launchpad.net/bugs/844631 > [15:41] Good point, thanks. === al-maisan is now known as almaisan-away === bdmurray_ is now known as bdmurray [15:50] bigjools: it needs a grace period so that we can make sure that old-releases has something current [15:51] ok [15:51] (IMO) [15:51] cjwatson: is that not something you'd check before obsoleting it? [15:51] it doesn't get moved to old-releases until it's obsolete [15:51] ah, faire enough. [15:51] AFAIK anyway [15:52] I'm just trying to work out how to phrase a bug which captures the requirements [15:52] I want to automate as much as possible - sounds like we need an extra Big Red Button [15:53] cjwatson: are old sources captured on old-releases? And do you still need all the old versions? [15:54] (a) yes (b) which old versions? [15:55] the superseded ones [15:56] ie can we make this like binaries [16:07] bigjools: I sometimes wonder if the Librarian should have an 'external' field which we can use to point to stuff no longer stored in the Librarian. [16:07] stub: yes, we desperately need offline storage. It's a bit nuts keeping *everything* in there. [16:08] blink [16:08] how is that not just "make it someone else's problem"? [16:08] if you want it online but still available, someone has to store it and make it available [16:09] If you want to keep adding disk space in the librarian then I have no problem filling it up [16:10] It very much is making it someone elses problem. I'm just wondering if it is appropriate sometimes (eg. of we are going to store archives for ever anyway on disk in an accessible format, no real point duplicating that storage in the Libraraian). [16:13] sinzui, in a fresh oneiric server, when I try to import html5browser I get a "RuntimeError: Gtk couldn't be initialized" error in gi/overrides/Gtk.py. I can provide a traceback if that helps. I verified that various seemingly obvious gtk packages were installed, and they were. Is there something else relatively obvious I can try? [16:14] gary_poster, thank you for reminding me. wgrant reported this as well. I think there is an undocumented dep [16:14] * sinzui investigates [16:15] sinzui, oh ok. thank you [16:17] gary_poster, can you paste the traceback? [16:19] sinzui http://pastebin.ubuntu.com/685391/ [16:20] gary_poster, fab, we did the same thing and it works for me. Maybe I can publish the correct libs in a few minutes [16:20] ok thanks sinzui === deryck is now known as deryck[lunch] [16:27] gary_poster, I think the dep that marries python to gir is missing. Do you have python-gobject 2.90.3 installed [16:28] * gary_poster looks [16:29] sinzui, -gobject-2 @ 2.28.6-6svn1 [16:29] sinzui, oh and -gobject 2.90.3-1svn1 [16:29] both installed [16:30] gary_poster, that would be the problem -gobject-2 is for obsolete libs [16:30] of dear. -gobject 2.90.3-1svn1 is the one I thought was missing [16:30] sinzui, so they would conflict? Should I try to install -gobject-2? [16:30] I mean uninstall [16:30] sorry [16:31] gary_poster, they do not, and I happen to have it installed. give it a try [16:31] sinzui, "python-gobject depends on python-gobject-2 " [16:32] (and I aborted the attempt to uninstall) [16:32] ah. python-webkit is a gtk2 app so it does want that lib [16:41] gary_poster, can you try both of these command, are they the same TB: http://pastebin.ubuntu.com/685415/ [16:41] * gary_poster tries [16:42] sinzui, yes, same TB [16:42] (for both) [16:43] thank you that helps. This is a python-gi-gtk lib issue. Mine works by accident because I hack with that combination for other projects [16:43] ah ok [16:48] morning sinzui ... I got a weird one for you [16:49] one of our devs (~annegentle) has launchpad openid returning a different localid than annegentle. apparently this happened with adamg a little while ago and the working hypothesis is that it is related to having had an account get renamed [16:50] sinzui: any idea who the right person to ping about this would be? [16:51] mtaylor, This is often caused by a disconnect between the person's login.ubuntu.com emails and launchpad.net emails [16:51] sinzui: is that something that can be sorted out by the person themselves? [16:52] This was caused several times in the past by profile merges, but I think that is fixed given how rare it happens. I think this commonly happens when a user add/removed emails from wither site without knowing they are working with two sites [16:53] mtaylor, I honestly do not know. I think the person should testing logging in to login.ubuntu.com to verify the registered emails, then do that with Lp and add the missing addresses to Lp [16:55] mtaylor, gary_poster had some experience with this in the past. I believe the a DBA was employed on several occasions to fix the ids in either of the sites [16:55] sinzui: gotcha [16:55] hello [16:55] hey gary_poster ! [16:56] :-) [16:56] i've asked annegentle to verify the email addrs are in sync [16:57] So, lemme see if I can find the bug. If it's the same problem, the proper fix is for ISD to make some changes that have been planned for a long time, but there's a recipe for fixing it on the admin side. [16:57] if it helps: [16:57] So first let's verify that we're talking about the same thing. 1 sec, looking [16:57] https://launchpad.net/~annegentle says the local_id is https://login.launchpad.net/+id/6sDWhGL [16:57] but when she logs in, we get passed https://login.launchpad.net/+id/xQHRTxt [16:58] and she did say that she has had some kind of account rename (i don't know if it was executed as a merge) [16:59] OK, this is the root bug... https://bugs.launchpad.net/launchpad/+bug/644824 [16:59] <_mup_> Bug #644824: User created a second Launchpad account; now gets mixed success/denied to various services < https://launchpad.net/bugs/644824 > [17:00] * gary_poster is scanning to try and find remediation... [17:03] mtaylor, comment #31 says that ISD can delete the bad openid account. contacting them might be your best bet. https://answers.launchpad.net/canonical-identity-provider/+question/150135 [17:04] Alternatively we can ask losas to make a deletion on the LP side, per comment 12 of that bug. [17:04] gary_poster: so is the best way to do that to file a question against canonical-identity-provider? [17:06] mtaylor, that would be the better long term soluton, assuming anne does not want to maintain two Canonical openids. I will also ask the losas to delete the tokens on the LP side, which should alleviate the problem for now (she will have to log in again, using the openid she actually wants to maintain) [17:07] ah, right, there's a process for this now... === deryck[lunch] is now known as deryck [17:11] gary_poster, do your have libgirepository-1.0-1? I wonder if the -dev version also need to be installed, if so python-gobject-2-dev may also need installation [17:12] sinzui, I have it installed, but not the -dev [17:12] should I try it? [17:13] gary_poster, I think I could be smarter about this investigation. paste or email the results of this so that I know exactly what is different about our packages: [17:13] dpkg --get-selections > installed-software [17:14] mrevell: still around? [17:18] gary_poster: ok. I'm confused now ... which thing should I be doing now. filing the question? [17:18] mtaylor, I'll do it for you, and ping you with it. [17:18] gary_poster: awesome. you are amazing [17:24] sinzui, sorry it took a sec, paste isn't set up yet and had some kind of problem [17:24] but sent [17:24] wgrant: you around? [17:27] wgrant: Nevermind :) [17:34] gary_poster, can you install gir1.2-gtk-2.0 [17:34] oh, maybe I am the one without it [17:35] okay I have it and I am sure webkit is a gtk2 app [17:35] sinzui, ok trying [17:37] sinzui "Setting up gir1.2-gtk-2.0 (2.24.5-0ubuntu7)" but same traceback when I try to import html5browser [17:37] I will continue looking a the diff [17:38] gary_poster, gir1.2-webkit-1.0 [17:38] k [17:38] * sinzui doubts that is correct, but if it is, he will be enlighten === beuno is now known as beuno-lunch [17:40] sinzui, same problem (and that had three dependencies) [17:44] okay :( I have python-gtk2-dev python-gobject-dev python-gobject-2-dev too [17:44] They have binaries in them to [17:45] sinzui, k trying [17:46] whoo! That'll bring in the neighbors... [17:46] yuck [17:46] 59 dependencies [17:46] I see only two other cases like in on the net and they were solved by installing pygobject, which is python-gobject :( [17:48] mtaylor, losas have sql request on LP side, and I filed https://answers.launchpad.net/canonical-identity-provider/+question/170575 for you on CIP side. [17:48] I will ping when sql request has been run [17:49] gary_poster: thanks man! [17:49] sinzui, !! still same error. you want me to be paranoid and do something crazy like restart or something? That seems crazy, but... [17:49] welcome mtaylor [17:50] gary_poster, no restart. removed those dev packages. [17:50] ok [17:50] I have started a upgrade to oneiric on another machine and I will look at the diff some more [17:52] sinzui, should I also remove gir1.2-gtk-2.0 and gir1.2-webkit-1.0 [17:52] or leave 'em around till later? [17:52] sinzui, /me going to take lunch in a sec [17:52] oh... [17:53] * gary_poster has call soon :-P [17:53] gary_poster, take your time. I will continue to work on this [17:53] ok thanks sinzui [18:01] gary_poster, Gtk is a GUI lib, as webkit is a gui app. you do not have an x server up [18:09] sinzui: is it possible to get the openid identifier for a user now? it used to be in the +rdf but isn't now [18:09] sinzui, duh! sorry, I should have thought of that. xvfb it is [18:09] bac it is not, but it is a trivial bug fix to remove the constraint in the template [18:09] the bug is already reported [18:10] sinzui: ok. i needs it now, though. :( [18:10] gary_poster, Sorry for being so slow. I always test html5browser with [18:10] Xvfb :23 -ac -screen 0 1024x768x24 & [18:10] env -i DISPLAY=:23 ./bin/py [18:10] I should have read my own notes before asking you to tell me what is installed [18:11] :-) thanks again [18:33] rockstar: Hi, around? [18:33] nigelb, I am. [18:34] rockstar: lifeless suggested I talk to you about how U1 web deals with javascript oops for potentially duplicating it in LP :) [18:34] nigelb, short answer: we don't. [18:34] :) [18:34] Oh. [18:35] We've disabled jsoops for the time being, because it got in the way more than it helped. [18:35] nigelb, however, we're going to refactor it as soon as I'm done with my current project, which should release soon. [18:35] Ouch, okay === beuno-lunch is now known as beuno [18:36] rockstar: Any pointers on what's the "right way" to do it? [18:37] nigelb, so, the very basics of it are this: [18:38] window.onerrer = function() { new Image().src = '/jsoops/endpoint' }; [18:38] mtaylor, please ask anne to try logging in again [18:38] nigelb, of course, the onerror function has message, url, and line arguments. [18:39] okay [18:39] But Image? [18:40] gary_poster: will do [18:42] rockstar: I'm curious, why the Image()? Does the jsoops load and image to show the user? [18:43] nigelb, it's just a neater way to make a GET request than XMLHttpRequest [18:43] You never add the image to the DOM. [18:44] Also, you don't have to worry about the domain there either. [18:44] Oooh. Interesting! [18:45] nigelb, so, the endpoint itself will has ?message=...&url=...&line=... so you just make sure the endpoint knows what to do. [18:45] Oh, so these gets logged by the endpoint for future usage? [18:45] usage/triager/debugging/fixing [18:45] nigelb, Be advised, however, that YUI will step all over that once it gets loaded, so you'll have to do something a bit more YUI-ish after that. [18:45] nigelb, exactly. [18:46] nigelb, so we do Y.one(Y.config.win).on('error', function(e) { new Image()... }); once YUI gets loaded. [18:47] * rockstar feels another blogpost coming on. [18:47] rockstar: Nice. But we'd be doing a GET to write data in this case right? [18:47] rockstar: WRITE IT! :) [18:48] nigelb, not necessarily. You could parse logs after the fact, since you usually don't want to write on GET (and Launchpad specifically forbids it). [18:48] You don't even have to have an actual endpoint. You could just parse Apache's logs. [18:49] Oh, right. [18:49] Yeah. [18:53] nigelb, the Ubuntu One web team is a bit more fast and lose when it comes to errors though. It's often enough to see a graph of errors, rather than the actual errors. [18:54] (at least in the client) [18:54] rockstar: Oh, then you debug based on their numbers? (rising, decreasing) [18:55] nigelb, yeah, and usually it's pretty simple to find, especially if you get the url right. [18:55] Most of the time it's an unsupported browser, and the error was thrown right before the user got the "non-javascript" experience. [18:57] rockstar: ooh, right. But this at least seems fairly trivial to do. [18:57] may be its my ignorance though :) [18:58] nigelb, yeah, it's not difficult, no. [18:58] nigelb, but you get lots of edge cases (also referred to as "what users do") that make things less trivial. [18:58] I'll run it by lifeless or stub and ask for more comments before I start writing anything :) [18:58] For instance, you don't want the error to break the rest of the page. [18:59] sinzui: is this the bug you referenced? https://bugs.launchpad.net/launchpad/+bug/501731 [18:59] <_mup_> Bug #501731: XRDS for launchpad users missing local id < https://launchpad.net/bugs/501731 > [19:00] nigelb, also, remember that in a few weeks, U1 is re-addressing this, so we might want to knowledge share a bit. [19:00] nigelb: we'd generate a custom oops on GET, its not modifying the resource in the usual rfc2616 sense, so would be OK. [19:01] lifeless: So, what rockstar proposed sounds good? [19:01] yes, thats why I pointed you at him :) [19:02] bac no. I misunderstood you question. I thought you wanted the openid url which is shown only to yourself on your profile page [19:02] * rockstar writes down in his diary "Dear diary, today lifeless approved of something I was doing. It made me feel all warm inside!" [19:02] bac: there is no bug/request to leak the id [19:02] rockstar: haha [19:04] lifeless: so, having a stub URL with nothing, on javascript error, do a GET request to that endpoint, look at logs in apache? [19:05] nigelb: s/look at logs in apache/create a custom oops/ [19:06] lifeless: hrm, so the stub URL should grab it and push it somewhere? [19:06] custom logs? [19:06] like what wsgi-oops does? [19:06] it will translate between whatever format the javascript is producing and an oops report [19:07] probably wanting a custom oops.Config() without the in-appserver-hooks installed, because we're not reporting a problem *in this appserver*. [19:08] but don't take this bit literally: thats detail to figure out when doing it [19:08] lifeless: I think I need to look at how LP does oops. I have not much clue :) [19:09] lib/canonical/launchpad/webapp/errorlog.py - allow a couple of hours to read it and the supporting libraries and generally play around getting a feel for whats under the hood [19:09] okay, doing that over the weekend [19:15] rockstar: when you modify the jsoops for u1, I'd be intersted in details :) [19:19] nigelb: Oh, one further tweak: I suggest a dedicated plain-ol-simplewsgi daemon for doing js oops collection [19:20] nigelb: it has no reason to be in either the LP or u1 services; we can map the submission url to the daemon via apache [19:22] lifeless, I would most certainly agree. [19:24] lifeless: ah, this is part of the service oriented architecture bit? [19:25] nigelb: no more than anything else [19:25] nigelb: also no less so than anything else [19:26] * nigelb couldn't parse that :P [19:26] nigelb: everything we do gets an soa assessment now [19:26] AH! [19:26] lifeless: so I can just write something in paste? ;) [19:27] nigelb: yes, or even simpler :) [19:27] Or just a wsgi app, right. [19:27] nigelb: lp:~lifeless/+junk/gpgverify might have some ideas; I *think* I pushed my simpleserver version [19:27] I'm going through error.py [19:28] not that [19:28] I'll add it to my reading list after that :) [19:28] errorlog.py [19:28] gah [19:29] ah, I'm still using web.py there [19:29] ah! its the gpgfixtures test keyserver I used simpleserver [19:30] http://bazaar.launchpad.net/~canonical-launchpad-branches/python-gpgfixtures/trunk/view/head:/gpgfixtures/keyserver.py [19:31] *click* [19:31] thats a microservice I was about ready to get the LP test suite to use when I went on leave ;) [19:32] wgrant was mumbling about finishing the migration off [19:32] okies, I have to run; ciao! [19:32] Laters! [19:33] Thanks :) [19:55] gary_poster, mtaylor: annegentle is still showing up with the old id, though her launchpad page now lists _no_ openid info [19:56] jeblair, she needs to log out and log back in. [19:57] that was after a browser restart... [19:57] jeblair, IIRC, and I'm pretty sure I do, the session cookie will be retained after a browser restart. If she didn't log out and in again, there will be no change. [20:00] gary_poster: ok. i'll let her know. [20:02] jeblair, I've also subscribed her to the question I filed for her against canonical identity provider (https://answers.launchpad.net/canonical-identity-provider/+question/170575) so if there is any reply there, she should know. You or others can subscribe to replies as well, if desired. [20:04] gary_poster: thanks! [20:04] welcome [20:19] jcsackett: do you have a minute to review lp:~benji/lazr.restful/error-on-multiple-ws.op-fields ? [20:20] benji: sure thing. [20:21] benji: i don't actually see an MP for that branch. [20:21] jcsackett, I am reviewing your branch now. I am going to to run it to see it [20:21] jcsackett: heh, you are correct; one second [20:21] sinzui: ok. sorry i forgot to post screenshots. :-) [20:23] can somebody with the needed rights see the contents of a private branch on bazaar.launchpad.net/...? [20:25] jcsackett: here you go: https://code.launchpad.net/~benji/lazr.restful/error-on-multiple-ws.op-fields/+merge/74682 [20:36] benji: i'm not getting a diff generated, any chance you can throw the diff to me as a paste? [20:36] jcsackett: http://paste.ubuntu.com/685561/ [20:36] thanks. [20:38] benji: looks good to me. r=me. [20:39] thanks! [21:17] does launchpad the web app have access to the contents of bzr branches? === salgado is now known as salgado-afk === jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 253 - 0:[########]:256 [22:07] Anyone awake? :) [22:07] I'm removing a field completely. [22:07] Is it okay to remove statusexplanation = StringCol(dbName='statusexplanation', default=None) [22:07] from the model? [22:16] if nothing references it, sure [22:17] I'm removing everything else that references it as well. [22:18] hello folks [22:18] is there a way to download the mailing list archives from launchpad? (like pipermail does) [22:23] grar, postgres error. /me postpones for tomorrow. [22:37] argh https://bugs.edge.launchpad.net/launchpad/+bug/588411 [22:37] <_mup_> Bug #588411: downloading of mailing list archives < https://launchpad.net/bugs/588411 > [22:37] reed, there is not [22:38] sinzui, very unfortunate [22:38] I'll update the bug: that's a very important feature to collect metrics on the mailing lists [22:38] reed, you can ask a question at answers.launchpad.net/launchpad. An admin can get you a copy of the archive [22:39] I need them on an ongoing basis, like every week or month [22:39] reed, mailing lists are not a priority now. I can update the bug with detail about the scope of the effort for community members implement [22:40] I can add a comment on the bug too if you want [22:40] I understand it's not a priority for you at the moment though... I hope you'll reconsider :) [22:43] sinzui, if there is a way to get the past archives as a one off, I may setup a workaround to gather new messages locally and process the stats from the local archive [22:45] reed, I believe other people have done that. As I said above, and admin can get you a copy of the archive [22:46] thanks [22:50] Achivement unlocked. [22:50] Removed a field successfully. Or so I think. [22:54] hi all [22:54] way to go nigelb :) [22:54] Morning poolie! [23:13] sinzui: Sorry, can't be at the standup this morning. I can probably talk in an hour or so if you want. [23:14] okay. I will check back later [23:16] wgrant: Is psycopg2.OperationalError: fe_sendauth: no password supplied related tosomething you and jtv were talking on the list? [23:16] (for tests) [23:17] sinzui: 35. http://paste.ubuntu.com/674281/ [23:17] nigelb: Yes, that same thing. [23:17] nigelb: Wait, no, not jtv. [23:17] nigelb: My other email to the list. [23:17] Not the reply to jtv. [23:19] wgrant: Okay :) Updating my setup [23:20] wgrant: Wait, but I'm not on ipv6 :/ [23:21] StevenK: I join your ranks with a destroy- branch ;) [23:21] +8/-58 not much though [23:22] nigelb: You have loopback IPv6. [23:22] What does your /etc/hosts look like? [23:22] Ah [23:22] ::1 localhost ip6-localhost ip6-loopback [23:23] That is the problematic bit. [23:23] Apply the fix, and all should be good. [23:23] * nigelb runs l-d-s again [23:23] Anyway, I need to wander off properly for a while. [23:24] :) [23:24] thanks! [23:24] (I should sleep) [23:40] wgrant@carob:~/logs$ find */2011-09-07 -type f | wc -l [23:41] 5226 [23:41] wgrant@carob:~/logs$ find */2011-09-08 -type f | wc -l [23:41] 72430 [23:41] fastdowntime appears to have worked... [23:43] thats more than expected ;) [23:43] 2minutes at 900rpm => 1800 failures [23:43] They were mostly appserver OOPSes. [23:43] I calculated there were about 60000 extra appserver OOPSes, from the OOPS IDs at the time. [23:43] And yes, it is slightly high. [23:44] Er. [23:44] 900rpm? [23:46] Considering the appservers serve up to 14M requests a day (normally around 9-10M), 900 per minute is a little low :) [23:47] EONLEAVE. [23:47] we may need to revisit capacity again shortly. [23:47] anyhow, 3600 <<< 60000 [23:48] >>> (10000000 / 86400) * 132 [23:48] 15180 [23:48] And given that the responses were immediate, API scripts would have made lots of requests. [23:49] 132? [23:49] seconds down ? [23:49] Maybe it was 127, but yes. [23:49] Roughly. [23:49] 132 [23:50] 1736 rpm per appserver machine :) [23:50] but yes, our rate is getting pretty high [23:50] We had very odd spikes on the 18th and 20th [23:51] are we starting to queue in haproxy again ? [23:51] But given that they apply to both web and API traffic, I'm inclined to think it was something else. [23:51] We've had 5 queue depth incidents in the last week. [23:51] So yes. [23:51] meep. [23:51] They all cleared quickly, and only once did it exceed 20. [23:51] But it is happening increasingly often. [23:51] So yeah, we may want to expand a bit soon. [23:51] we need to check the PPR and see if there has been a systematic increase (5% would be significant) in page render time [23:52] Let's see how appserver load is... [23:52] if not, cross check on capacity [23:52] and then look at adding a core + memory to one of the appservers. [23:52] Let's see.. [23:52] we *should* be running at N+1 at all times: hitting a queue warning -ever- is a Big Deal. [23:53] lifeless: I was wondering how you were thinking of scaling -- via a 5th machine or making the 4 beefier [23:53] We can scale these machines up further. [23:53] StevenK: elmo wants to consolidate in the DC [23:53] They're not full AFAIK. [23:53] StevenK: we have 4 because 2*dc + redundancy within the DC [23:54] StevenK: but thats the old (february) strategy; now we're moving DC's we're looking at something different e.g. full N+1 deploys in both DC's and one DC running hot-idle [23:54] its been 2 weeks since I caught up with elmo on this, I don't know the current status. [23:54] lifeless: We've had two days in the last month where average render time is 30% higher than the norm. [23:54] wgrant: was the sql time likewise higher ? [23:54] But apart from that it's only marginally higher. [23:55] or load spikes on the appservers correlatimg with that ? [23:55] The graphs don't show SQL time. [23:55] wgrant: check the daily PPR report to see that. [23:55] (for the day in question) [23:55] Yeah. [23:55] The first spike is mainly API with a bit of the rest, the second translations with a bit of the rest. [23:56] bbiab [23:58] The SQL increase was only 10% of the total increase. [23:59] The first load spike was, interestingly, the day in between the two >13M request spikes.