[00:13] sinzui: bug 704662 [00:13] <_mup_> Bug #704662: karma is not updating < https://launchpad.net/bugs/704662 > === Ursinha is now known as Ursinha-afk [01:17] james_w`: Awesome: http://package-import.ubuntu.com/status/libbase-openoffice.org.html#2011-01-19%2001:13:13.621831 [01:19] In fact it appears the package importer is encountering lots of issues... [01:24] Project db-devel build (313): STILL FAILING in 5 hr 12 min: https://hudson.wedontsleep.org/job/db-devel/313/ [01:58] Soo...if my Postgresql database has suddenly sprouted duplicate rows after a disk failure, what is the best way to remove them> [01:58] ? [01:59] ^^^ This is in libraryfilealias [02:00] I had been attempting to use this (gleaned from a repair article online) but execution never terminated: http://ubuntu.pastebin.com/53SXyuBq [02:01] Any help is greately appreciated :-) [02:01] * kb9vqf cannot type tonight; sorry [02:01] if you've had a disk failure, would you be better off going back to a known good state from backups? [02:01] not sure I'd ben keen to trust any database state after a disk failure has corrupted it. [02:02] kb9vqf: if you have a corrupt db, I'd definitely restore :) [02:02] spm: Yes, if the most recent backups weren't several months old :-P [02:03] rolling forward is likely to be World Of Pain [02:03] The backup script failed silently [02:03] So far the only table with damage is libraryfilealies [02:03] well [02:03] And I wonder if the damage is limited to the indecies [02:03] the only table you can *tell* has damage so far [02:03] Yes [02:04] I've been running this install with the damaged tables for a while and I haven't noticed any malfunctions [02:04] The only thing is that the reindex always fails [02:04] (due to the duplicate rows) [02:06] Is there a way to clear the Postgresql indexes? [02:06] we're really not postgresql gurus [02:06] drop and recreate, but the data being used to generate them is corrupt; so... :-/ [02:06] our approach to such corruption and failure would be a restore [02:06] #postgresql is much more likely to have folk that can give more sophisticated solutions [02:07] OK, thanks :-) [02:07] I appreciate the pointers [03:12] lifeless: If it comes up here again, the solution is to use pgAdmin III (or other admin tool) to make an SQL dump of the database, then drop the database in single-user mode and reload it with psql [03:12] As long as this is done BEFORE the system tables are reindexed, it will work === al-maisan is now known as almaisan-away [12:52] Hmm. I think it would be useful to have another state for code imports [12:52] We currently have Failed Suspended and Invalid [12:53] It would be nice to subdivide Failed into new failures and triaged failures [12:54] Neither fit in Suspended/Invalid, because any user should be able to retry a triaged failed import [13:20] maxb: I think the intent was that triaged failures are suspended [13:20] maxb: and thanks for the continued import help :) [13:21] I guess so - the problem being that having just looked at a couple of imports and found that they are failing because someone's dyndns.org address is currently offline, I don't want to suspend them and bar them from initiating a retry [13:22] ah... [13:22] maxb: can't you just leave it as failed? [13:23] can do. But we're doing pretty well at driving the "Failed" status for bzr-svn/git down to "things we should fix" [13:58] matsubara: btw lp-oops web ui is a bit gnarly right now [14:31] lifeless, will look into it after breakfast [14:51] lifeless, i would love to hear your thoughts on my twisted api braindump === Ursinha-afk is now known as Ursinha [14:54] poolie: where is it? [14:55] on launchpad-dev [14:55] uh "notes towards async api clients" [15:19] poolie, I hope your idea isn't to replace the current launchpadlib with that. [15:41] https://docs.google.com/a/canonical.com/document/d/19nOrInYTuwrIFiL5WS7PSqz-GnoStrr5LbBr_avDf-I/edit?hl=en# === jcsackett changed the topic of #launchpad-dev to: Launchpad Development Channel | PQM is open | firefighting: build is broken | Get the code: https:/​/​dev.launchpad.net/​Getting === beuno is now known as beuno-lunch [17:01] Project db-devel build (316): FAILURE in 5 hr 7 min: https://hudson.wedontsleep.org/job/db-devel/316/ [17:01] Launchpad Patch Queue Manager: [rs=buildbot-poller] automatic merge from stable. Revisions: 12226 [17:01] included. === beuno-lunch is now known as beuno [18:15] mpt, jml: http://people.canonical.com/~jamesw/workitems/natty.old/ [18:17] lifeless, https://lp-oops.canonical.com/oops.py/ works again [18:21] thanks! [18:22] huwshimi: https://dev.launchpad.net/IssueTracker [18:24] jml: the issuetracker idea doesn't include answers? [18:24] jcsackett: not yet [18:24] jml: huh. that's how it keeps being explained to me. was surprised to see it's not part of the entry. [18:39] leonardr: https://code.launchpad.net/~leonardr/lazr.restful/fix-remove-recipe/+merge/24423 [18:39] leonardr: https://code.launchpad.net/lazr.restful/+activereviews [18:46] benji: do you know that https://code.launchpad.net/~benji/lazr.restful/bug-539070/+merge/40003 wasn't merged into lazr.restful? [18:49] gary: same for you, for https://code.launchpad.net/~gary/lazr.restful/bug691841/+merge/46312 [18:49] i'm happy to merge both of those if you say the word--i'm assuming you're not holding off for some reason [18:51] looking leonardr [18:53] leonardr: you can land mine, thank you [18:53] will do [18:54] leonardr: I was vacillating between adding a little bit more to it or landing it as is, but it's gone long enough that it should just be landed. If you feel inclined to land it, I would appreciate it. [18:55] btw - https://code.launchpad.net/launchpad-project/+activereviews - all our reviews [18:55] benji: will do [19:01] benji, gary, you are merged [19:01] leonardr: thanks! === salgado is now known as salgado-bbs === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [20:00] jam: did you find dendrobates? [20:00] lifeless: I did not [20:00] mtaylor: ping [20:00] I found his user name on #ubuntu-devel but no response [20:18] leonardr: I'm having some trouble exposing something in the WS API, do you have a second to let me pick you brain? [20:19] gmb, sure, i need a minute [20:19] where are you? i'll come over [20:19] leonardr: Vinoy [20:19] Thanks. [20:23] hey [20:23] o/ again. [20:23] so the user is 'sleepsonthefloor' [20:23] Let me check our Hudson/tarmac box. [20:23] Oh. [20:24] I'm told it looks openstack related [20:24] its connecting once every 6 seconds or so [20:24] Very likely is. sleepsonthefloor is one of the NASA guys. [20:24] Crikey. [20:24] What's the IP? [20:25] jam: ^ [20:25] It's not our Hudson box. [20:27] soren: thats good to know [20:27] lifeless: I'm trying to get a hold of him [20:27] jam did the investigation, he'll know the ip or where to look; gimme a sec to chase him down [20:27] soren: 173.203.89.94 [20:27] ah^ there we go [20:28] lifeless: I chased him down first :P [20:28] lifeless: admittedly he's right next to me so I had a wee bit of a head start... [20:30] lifeless, jam: I'll chase down some people. [20:30] we don't mind being used... [20:31] soren: thanks. I don't think it is a problem if there is a real need (many launchpad services connect about 4k times per day) [20:31] but it seemed odd to go from about 5 connections per day to 11k for a given user [20:31] jam: Oh, these are not 11K open connections? [20:31] But 11K over the course of a day? [20:31] soren: right [20:31] soren: serial, yes [20:31] Oh, ok. [20:31] soren: seems like something in a tight loop [20:31] I'm not sure if it is strictly serial, vs small concurrency [20:31] ^ [20:33] soren: Looking over the logs by eye I don't see concurrent connections yet [20:34] Probably not. [20:34] It seems it's a build server that polls in a tight loop. They're waiting for sleepsonthefloor to get back from lunch to fix it :) [20:35] soren: can they tune it down a little? They could subscribe to the branch to get a notification when it changes (so little need to poll at all) [20:35] would be delighted to talk requirements with them [20:35] lifeless: I'm sure it's a mistake. [20:36] cool [20:36] we could give an HTTP url for the branch/last_revision file that you could also monitor, more cheaply than ssh handshaking :) [20:36] as jam says if its needed, we can figure out how to support it [20:36] lifeless: ...but when you say subscribe, you mean subscribe to e-mail notifications? Or something cooler? [20:36] soren: today sadly I just mean email [20:36] I *want* to do PSHB [20:36] lifeless: Ok :) [20:36] lifeless: Yeah. [20:37] stub: https://code.launchpad.net/~gary/launchpad/structuralsubscriptions/+merge/46822 === salgado-bbs is now known as salgado [20:58] gary_poster: is ++profile++ working on staging/qastaging? [20:59] bigjools: no, only on devel. [20:59] ok thanks [20:59] bigjools: future work that gary_poster was mentioning late last week [20:59] yeah [20:59] not that hard [20:59] want to make ++profile++download [21:00] but not necessary [21:01] lifeless, wgrant: have you looked at reducing the query count in the package copier perchance? [21:02] wgrant was in fact looking around that area [21:02] I am wondering whether to tackle it now or leave it if someone already started [21:23] bigjools: I have some ideas. [21:23] I know roughly what needs to be don. === salgado is now known as salgado-afk [21:48] gary_poster: https://dev.launchpad.net/yellow/Subscriptions [22:11] huwshimi, https://dev.launchpad.net/AlertMessages [22:11] Yippie, build fixed! [22:11] Project db-devel build (317): FIXED in 5 hr 10 min: https://hudson.wedontsleep.org/job/db-devel/317/ [22:12] * Launchpad Patch Queue Manager: [rs=buildbot-poller] automatic merge from stable. Revisions: 12229, [22:12] 12230 included. [22:12] * Launchpad Patch Queue Manager: [rs=buildbot-poller] automatic merge from stable. Revisions: 12227, [22:12] 12228 included. [22:36] rockstar, do i remember you working on bug 316694 around the time of the prague meeting? [22:36] <_mup_> Bug #316694: Add web_link property to resources < https://launchpad.net/bugs/316694 > [22:37] if so, what happened to it? [22:38] leonardr, I may still have the branch around here. I made the change, but it broke a bunch of tests that you said were very low-level, and that's where it died (because the week ended, and I lost "free time") [22:38] rockstar: ok, we are starting to feel the need again. can you find the branch for me? [22:39] leonardr, yeah, it's going to be on an old backup unless I've pushed it. Let me do some mining. [22:39] rockstar, thanks [22:39] just knowing where to start would be helpful [22:45] Daviey, are you the one who's maintaining the UDS scheduler tool now? [22:45] Or am I confusing you with someone else/ [22:45] ? [22:46] danilos: ping [22:46] danilos: could you eyeball bug 705129 and suggest whether its operational or a bug ? [22:46] <_mup_> Bug #705129: Nightshade import queue don't work < https://launchpad.net/bugs/705129 > [22:48] lifeless, it's kinda both... it's a bug that LP doesn't automatically approve the files with the names it exports them with (which are those in the queue), but when people come to us we can fix this quickly through the UI for them (so it's operational as well) [22:49] danilos: are there docs somewhere for lp devs? (e.g. what should I do here?) [22:51] lifeless, https://help.launchpad.net/Translations/YourProject/ImportPolicy though you might not have permissions to act on it operationally [22:51] lifeless, we can add everyone in LP team to rosetta-admins to solve that though [22:52] danilos: perhaps add the ~launchpad team itself ? [22:52] lifeless, right, that's what I meant [22:53] kk [22:54] danilos: might be nice to describe where the queue is on that wiki page (for admins) [22:54] lifeless, yes, there's still quite some work for the hand-off of this that previous translations team needs to do [22:56] gmb: danilos: hi [22:56] please don't use Storm [22:56] we need the same invalidator SQLBase has. [22:56] I'm updating the wiki page now. [22:59] lifeless, if we need to use cachedproperties on that object, I'd say yes... if not, I don't think why we should pretend to know what are we going to do with this object; fwiw, it's easier to switch stuff back to SQLBase than it is to switch it to Storm [23:01] mpt, I am a commiter, but i've been trying to hand over the burden somewhat. [23:01] I guess I'm worried that folk will use cachedproperty on any model class thinking its safe - becuase it is safe with any SQLBase class [23:02] Daviey, could you give me the URL of the LP project? I've forgotten it since UDS. :-) [23:02] It would be nice to have it safe for all model classes, which just needs a similar base class to SQLBase, and us to not directly use s.b.Storm [23:02] OTOH you're right that its unnecessary overhead if we're not using it. [23:02] mpt, lp.net/summit :) [23:02] ahhhh, summit [23:02] I knew it was summit like thaht [23:03] lifeless, why not have a SafeStorm (stupid name, but you get the idea) which just provides that for any cachedproperties [23:03] thanks Daviey [23:03] danilos: Do you think folk will remember to look at the base class? [23:03] lifeless, not too sure about that [23:03] danilos: My *tendancy* would be to have a SafeStorm and use it everywhere by default; using raw Storm if we have a reason to do so. [23:04] danilos: what do you think? [23:04] StormBase or ... (bad pun incoming) Cloud [23:04] StormCloud! [23:04] I like it! [23:05] mpt, I bet you have a metric tonne of usability bugs, right? :) [23:07] Daviey, none at all. The biggest annoyance I have with Summit is where people hide the meaningful words in a session title toward the end of the title. [23:12] lifeless: pong [23:14] lifeless, yeah, +1 on that [23:14] lifeless, not the Cloud naming though :)) [23:14] lifeless, CloudyStorm, perhaps... [23:18] huwshimi, http://pastebin.ubuntu.com/556006/ [23:18] rockstart: ping, hope you haven't been mining this whole time [23:18] rockstar -^ [23:19] leonardr, no, but I have been. I found a bug in Launchpad's search as well. :) [23:19] is this it? https://code.launchpad.net/~rockstar/lazr.restful/web_link [23:19] leonardr, web_link! Yes, that's it. [23:20] I was looking for a launchpad branch for some reason. [23:20] * leonardr just went to your page of lazr.restful branches [23:20] Of course, it's one of the few lazr.restful branches I've ever had... :) [23:21] ok, i'll take a look [23:23] rockstar: you don't have any _revisions_ to that branch [23:23] it's just trunk (as of when you pushed it) [23:23] wgrant: I just noticed something amusing. Remember that bit of the doctest I was asking about? [23:24] leonardr, okay, lemme get in the backup. [23:24] danilos: could you perhaps add that in your branch? r=me for it, and then noone else needs to think. I'll happily update the wikipage with whatever name you choose [23:24] wgrant: It has oldest_spr = publisher.getPubSource(...) -- except that getPubSource() returns an SPPH :-) [23:24] danilos: I hate to ask you to add this but it makes me nervous is all [23:24] mtaylor: see discussion w/soren [23:25] lifeless, we have other Storm classes, and I think it'd be better to have a single push to have them all fixed [23:26] lifeless, preferably in the same branch, and definitely not in this one; if I was exactly sure how to achieve what you want, I'd probably do it before we sign off for the day [23:26] lifeless: ok. [23:27] lifeless, I'd be happy to be convinced tomorrow to do it, so let's talk tomorrow morning about it [23:28] lifeless: well. I certainly support some form of non-email notification... and I'm _still_ trying to get someone to fund someone to write a lpapi java binding so I can use lp-api to check things from hudson (but it seems to keep getting lost in corporate land somewhere) [23:28] StevenK: Heh. [23:33] mpt: With some help from a friendly DBA, I figured out that the figures in several of those tables are counts of all specifications, not just those in the last year. Would you prefer the all-time counts for the top-50-specs-users-in-the-last-year, or the last-year counts? [23:34] allenap, last-year for everything would be most helpful I think [23:34] mpt: Cool, will have that soon. [23:34] thank you allenap === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [23:45] leonardr, just pushed the changes. [23:47] rockstar, great [23:53] rockstar: thanks, this looks exactly like what i was writing [23:53] so, let's see what's the deal w/the tests [23:53] leonardr, great. [23:53] leonardr, if you fix this, you'll help us remove a significant amount of code in Tarmac. [23:55] rockstar: this doesn't look too bad? do you remember anything else i said about the test failures? [23:55] There are test failures, as I recall. The failures were caused in tests that were testing at a very low level, I think. [23:56] i guess webservice.txt is pretty low level [23:56] but ultimately i think the fix is pretty simple [23:58] i'll give it a try