|
[00:50] <StevenK> wallyworld___: https://code.launchpad.net/~stevenk/launchpad/drop-garbo-accesspolicy-redux/+merge/97779 |
|
[00:50] <StevenK> Three underscores? That's a bit excessive ... |
|
[00:51] <wallyworld___> StevenK: each time i plug or unplug my laptop from the docking station it disconnects the network |
|
[00:51] <StevenK> Handy. |
|
[00:52] <wallyworld___> you sure you won't need to re-revert the revert again :-P |
|
[00:52] <StevenK> I bloody hope not. |
|
[00:53] <wallyworld___> r=me |
|
[00:53] <StevenK> It should be redeletion :-P |
|
[01:32] <wgrant> wallyworld___: Feel like reviewing https://code.launchpad.net/~wgrant/launchpad/GRAR/+merge/97782? |
|
[01:32] <wallyworld___> wgrant: looking now |
|
[01:33] <wgrant> Thanks. |
|
[01:34] <wallyworld___> wgrant: typo line 9 otherwise good. what a silly error |
|
[01:34] <wgrant> wallyworld___: Already fixed that |
|
[01:34] <wgrant> THanks. |
|
[01:34] <wallyworld___> np, r=me |
|
[01:58] <StevenK> wgrant: Importing a bug that has <private>False</private> into a product that has private_bugs = True still creates the bug as public. |
|
[02:00] <wgrant> StevenK: :( |
|
[02:01] <wgrant> wallyworld___: I guess we probably want to display the beta banner too. |
|
[02:01] <wgrant> wallyworld___: I think we can probably turn this on RO for beta testing on Tuesday morning if we get these few things fixed up. Are you going OK, or should I work on bits once I finish the garbo job? |
|
[02:03] <wallyworld___> wgrant: the read only branch is up for review, just entering a bug for the performance issue |
|
[02:03] <wgrant> I see there's an unassigned card in Coding -- that's you? |
|
[02:03] <StevenK> wgrant: Fixing it is easy, overwrite private if product.private_bugs. A test is harder |
|
[02:04] <wgrant> Aha |
|
[02:04] <wgrant> No longer unassigned. |
|
[02:04] <wallyworld___> wgrant: not unassigned anymore. i was in the middle of doing it when i answered you irc ping |
|
[02:04] <wgrant> Heh, sorry. |
|
[02:04] <wgrant> wallyworld___: I'll review the RO branch after lunch. |
|
[02:04] <wallyworld___> ok, thanks :-) |
|
[02:05] <wgrant> StevenK: Isn't that Done-Done? |
|
[02:05] <wgrant> Heh |
|
[02:06] <StevenK> :-) |
|
[02:06] <wgrant> wallyworld___: What about disclosure.enhanced_sharing.enabled and disclosure.enhanced_sharing.writable? |
|
[02:06] <StevenK> wgrant: Doesn't your everything is broken in IE8 card move? |
|
[02:06] <wgrant> StevenK: No |
|
[02:06] <StevenK> :-( |
|
[02:06] <wgrant> StevenK: A few less things are unbroken in IE. |
|
[02:06] <wgrant> But there are more branches. |
|
[02:07] <wallyworld___> wgrant: i guess so |
|
[02:07] * mwhudson squinets |
|
[02:07] <mwhudson> i think there is the wrong parity of negatives in that sentence? |
|
[02:08] <wgrant> Um, yes. |
|
[02:12] <wgrant> wallyworld___: getPrecachedPersonsFromIDs is probably of interest. |
|
[02:12] <wallyworld___> wgrant: no kidding |
|
[02:12] <wallyworld___> but thanks :-) |
|
[02:13] <wgrant> I've seen people reimplement it before :) |
|
[02:14] <wallyworld___> the real issue will be the web service marshalling - whether that triggers lazy evaluation of properties |
|
[02:14] <wgrant> It does, but getPrecachedPersonsFromIDs is used to prevent that. |
|
[02:15] <wallyworld___> wgrant: sure, but i don't want to load data not needed on the client |
|
[02:15] <wallyworld___> there's a lot of joins etc that can be avoided |
|
[02:15] <wgrant> Indeed. |
|
[02:16] <wgrant> But you can't avoid that while still returning marshalled Persons. |
|
[02:17] <wgrant> wallyworld___: Person.api_activemembers shows the args you need. |
|
[02:17] <wgrant> It would be nice to avoid this, but the current API design makes that a bit hard. So for now I'd just precache. |
|
[02:17] <wallyworld___> wgrant: but i don't really need marshalled persons in their intirety |
|
[02:18] <wgrant> That's true. |
|
[02:18] <wallyworld___> kusy name,displayname, self_link really |
|
[02:18] <wgrant> Also icon, but you don't use that yet. |
|
[02:18] <wallyworld___> anyway, i'll see what can be done |
|
[02:32] <wgrant> wallyworld___: Reviewed |
|
[02:32] <wgrant> Hah |
|
[02:32] <wgrant> 13:32:23 < wgrant> wallyworld___: Reviewed |
|
[02:32] <wgrant> 13:32:25 -!- wallyworld_ [~quassel@27-33-46-253.static.tpgi.com.au] has joined #launchpad-dev |
|
[02:36] <wallyworld_> wgrant: what's up? |
|
[02:39] <wallyworld_> thanks for the review - the reason for making the links depend on either flag is so that it is robust enough to handle that we may want to just activate the writeable flag and expect that it all should work |
|
[02:39] <wgrant> Will the underlying APIs cope with that? |
|
[02:40] <wallyworld_> yes |
|
[02:40] <wallyworld_> well that is the intent, i'll double check to be 100% |
|
[02:41] <wallyworld_> why did you paste the "wallyworld has joined..." text? |
|
[02:42] <wgrant> wallyworld_: Because I tried to talk to you two seconds before you reconnected. |
|
[02:42] <wgrant> loltpg? :) |
|
[02:42] <wallyworld_> no. as i said to StevenK, when i disconnect the laptop from the docking station, the network hicups |
|
[02:43] <wallyworld_> i don't know why you guys dis tpg so much. it's been great for me |
|
[03:07] <StevenK> It's easy when you start the day as wallyworld and end up as wallyworld__________________________ |
|
[03:08] <wallyworld_> but that's nothing to do with tpg |
|
[03:08] <StevenK> So you say. :-P |
|
[03:10] <wgrant> StevenK: Is the migration done on prod yet? |
|
[03:10] <wallyworld_> how do you know it is? |
|
[03:12] <StevenK> wallyworld_: I'm yanking your chain. For a happy TPG customer, you sure are defensive. :-P |
|
[03:12] <wallyworld_> because you dis it so much :-) |
|
[03:13] <StevenK> wgrant: Nope. |
|
[03:13] <StevenK> 350k bugs to go |
|
[03:13] <wallyworld_> wgrant: did you put up the card about changing access for sharing to owners and not drivers? i didn't think we had agreement from the product team yet for that change? |
|
[03:15] <wgrant> wallyworld_: Did Product actually say that driver should have access? |
|
[03:15] <wgrant> That's pretty odd, since driver is approximately RM |
|
[03:15] <wgrant> I don't think we should open it up to driver yet. |
|
[03:15] <wallyworld_> wgrant: can't recall exactly where that came from but it was communicated as a requirement |
|
[03:16] <wallyworld_> in an email perhaps, can't recall |
|
[03:16] <StevenK> I think that's an OEM thing |
|
[03:16] <wgrant> Ah, right, the silliness with pmteam |
|
[03:16] <wgrant> But I'm not sure it matters massively for the initial beta next week... |
|
[03:17] <wgrant> I'd prefer to err on the side of revealing too little. |
|
[03:17] <wallyworld_> not sure. we'd best check |
|
[03:17] <wgrant> Indeed. |
|
[03:23] <StevenK> sinzui: I just fixed bug 457489, so I'm not sure why you self-assigned it. :-) |
|
[03:23] <_mup_> Bug #457489: Bug importer ignores the product.private_bugs flag <bugs> <disclosure> <easy> <lp-bugs> <privacy> <Launchpad itself:In Progress by sinzui> < https://launchpad.net/bugs/457489 > |
|
[03:23] <sinzui> StevenK, I did not see you working on it |
|
[03:24] <lifeless> sinzui: why are you awake? |
|
[03:24] <StevenK> sinzui: I even have a card for it |
|
[03:24] <sinzui> Because the bug should have been fixed. I see the public security rule trumped the default rule |
|
[03:24] <StevenK> lifeless: Clearly the bug I linked is so henious that sinzui can't sleep. |
|
[03:25] <sinzui> StevenK, I was looking a the bug, I do not look a kanban during non-work outs |
|
[03:25] <sinzui> hours |
|
[03:26] <StevenK> sinzui: Sorry if I stepped on your toes, I reproduced the bug before lunch and just finished off the branch. |
|
[03:27] <sinzui> Yeah. I wrote the test and thought, what, the call chain is right, why is it wrong |
|
[03:27] <sinzui> StevenK, you get a free review |
|
[03:27] <StevenK> Heh |
|
[03:28] <StevenK> sinzui: I love how the bug importer was setting private, creating the bug, and then re-grabbing private from the node. |
|
[03:28] <sinzui> StevenK, the public security rule still trumps your code |
|
[03:28] <sinzui> and it should not |
|
[03:30] <StevenK> sinzui: http://pastebin.ubuntu.com/885845/ |
|
[03:33] <sinzui> you missed the duplict rewrite of of security (twice no less) The bug is made private correctly, then change once by code from 5 years ago then made public by code from last year |
|
[03:33] <sinzui> There are duplicate lines which i see you saw |
|
[03:33] <sinzui> http://pastebin.ubuntu.com/885848/ |
|
[03:34] <sinzui> Your code will fail if you run my test I think |
|
[03:35] <StevenK> I think my new code is okay, since your test reads reads like mine. |
|
[03:36] <sinzui> StevenK, I believe product.createBug() -> BugSet.createBug() which ignores/overwrites any value in the private param. The bug is create private every time. |
|
[03:37] <sinzui> You code has a needless check of .private_bug. We do not do that anywhere else in lp code. Searching will reveal two methods seem to know about it |
|
[03:38] <StevenK> sinzui: Now test_public_security_bug fails since I force private = Ture |
|
[03:38] <StevenK> *True |
|
[03:38] <sinzui> why does your change still set security twice after creation! |
|
[03:39] <StevenK> Oh, bloody heck. I missed that one. |
|
[03:40] <StevenK> sinzui: http://pastebin.ubuntu.com/885859/ |
|
[03:40] <sinzui> I tested with a public security bug. I found that bug was created private but those two alterations overwrote what createBug does |
|
[03:41] <StevenK> Right. |
|
[03:44] <sinzui> StevenK, didn't you just break the public security bug case in another test. I am allowed to import a public security bug. Lp created it private, then the import makes it public, but it should only do that if the project does not have default private bugs |
|
[03:45] <StevenK> Sigh, can't we use information_type |
|
[03:45] <StevenK> That makes it so much easier. :-) |
|
[03:46] <sinzui> Damn right |
|
[03:46] <sinzui> I think bug.setPrivacyAndSecurityRelated is needed, but it must be guarded by if not self.product.private_bugs: |
|
[03:47] <StevenK> And we need the private or security_related |
|
[03:47] <StevenK> Just to deal with that case |
|
[03:49] <sinzui> StevenK, Look at by diff http://pastebin.ubuntu.com/885848/ |
|
[03:49] * wgrant randomises everything except faq_id_seq, bug_id_seq and question_id_seq. |
|
[03:50] <sinzui> We test with the public_security_bug because it was the reason there were two rules in the code to overwrite. |
|
[03:50] <sinzui> security and privacy. |
|
[03:51] <sinzui> We just want a second test that shows that .private_bugs wins in battle with public security |
|
[03:51] <StevenK> Right |
|
[03:52] <StevenK> Or I can just re-use the current test ... |
|
[03:52] <sinzui> StevenK, any, you understand what I was seeing. I am approving your branch. I see jc's branch came back with two failures, So I can fix these and go to sleep |
|
[03:56] <StevenK> I'm looking forward to CreateBugParams() taking information_type, since that setting crap can die |
|
[04:01] <wgrant> Yay, /builders in less than 100 queries |
|
[04:08] <lifeless> I'm thinking we need more soft oopses |
|
[04:08] <lifeless> -> on any page with > 100 queries |
|
[04:10] <wgrant> lifeless: I think we should soft oops anything over 2s or 100 queries, personallhy. |
|
[04:11] <wgrant> It's an awful lot of soft oopses, but all those requests are bad. |
|
[04:22] <wallyworld_> wgrant: 2 queries, static |
|
[04:22] <wallyworld_> https://code.launchpad.net/~wallyworld/launchpad/sharing-view-scalability-956634/+merge/97793 |
|
[04:23] <wallyworld_> previously it was O(n) |
|
[04:25] <wgrant> wallyworld_: Hell yeah |
|
[04:25] <wgrant> That's what I like to see. |
|
[04:25] <wallyworld_> me too |
|
[04:29] <wgrant> Mm |
|
[04:29] <wgrant> This makes API usage awkward |
|
[04:29] <wgrant> But I guess it will do for now. |
|
[04:49] <wallyworld_> wgrant: with the api usage, it depends on what data they want back. we can always add additional attributes, but for now, let's get this landed to fix the core issue |
|
[04:50] <wallyworld_> are you able to +1 it and i'll send to ec2 |
|
[04:51] <wgrant> wallyworld_: Sorry, got distracted in -ops |
|
[04:51] <wallyworld_> np |
|
[04:52] <wallyworld_> wgrant: one option is for the callers to ask for the attributes they want |
|
[04:52] <wallyworld_> otherwise they just get a minimal set like what's there now |
|
[04:52] <wallyworld_> i've used that pattern before quite successfully |
|
[04:52] <wallyworld_> that way the api can be used for any use case |
|
[04:52] <wallyworld_> and not have to over or under deliver |
|
[04:53] <wgrant> Good luck doing that with lazr.restful(client) |
|
[04:53] <wgrant> Approved |
|
[04:53] <wallyworld_> thanks |
|
[05:16] <poolie> has anyone else encountered https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/956655 by running lxc locally? |
|
[05:16] <_mup_> Bug #956655: libvirt dnsmasq causes runaway chain reaction <dnsmasq (Ubuntu):New> < https://launchpad.net/bugs/956655 > |
|
[05:55] * wallyworld_ stabs ec2 - a landing run failed and no email :-( |
|
[05:59] <wallyworld_> wgrant: why + getUtility(IAccessPolicyArtifactSource).deleteByArtifact(abstracts) ? |
|
[06:00] <wgrant> wallyworld_: Ah, good point. Because artifact deletion should remove the grants and policy links, rather than removing the grants and then failing with a foreign key violation. |
|
[06:00] <wgrant> Should probably test that directly. |
|
[06:00] <wallyworld_> yes, was wondering why exiting tests didn't fail or there wasn't a new test added |
|
[06:08] <wallyworld_> wgrant: we can't select from the access artifact grant table to see if a bug id is in there and therefore already mirrored? |
|
[06:10] <wgrant> wallyworld_: There may not be any grants. |
|
[06:10] <wgrant> We've used this pattern before. |
|
[06:10] <wgrant> For the SPR.changelog migration, IIRC |
|
[06:10] <wgrant> storing the value in memcached. |
|
[06:11] <wallyworld_> ok. and if the app is restarted, we just redo some work |
|
[06:11] <wgrant> Not the app, memcached. |
|
[06:11] <wgrant> And memcached is very rarely restarted. |
|
[06:11] <wallyworld_> that runs in a separate process, ok |
|
[06:12] <wgrant> The migration should complete within one run. |
|
[06:12] <wgrant> I believe. |
|
[06:13] <wallyworld_> ffs. another ec2 run failed with no email |
|
[06:13] <wgrant> Hm |
|
[06:14] <wgrant> Sure you've updated your lp-dev-utils? |
|
[06:14] <wgrant> Mine are emailing fine. |
|
[06:14] <wallyworld_> and only an hour in, before any of the new tests would have been run |
|
[06:14] <wallyworld_> wgrant: yes, i landed stuff yesterday ok iirc. and i just updated then and no changes |
|
[06:14] <wgrant> Maybe EC2 is being shit. |
|
[06:15] <wallyworld_> yeah :-( |
|
[06:15] <wgrant> wallyworld_: The delete() change is now tested. |
|
[06:15] <wallyworld_> wgrant: cool. i just +1'ed it anyway |
|
[06:16] <wgrant> Thanks. |
|
[06:26] <wgrant> wallyworld_: You probably conflicted with jcsackett's branch |
|
[06:27] <wallyworld_> perhaps. sorting it out now |
|
[06:27] <wgrant> I'm just sorting out the beta banner. |
|
[06:27] <wallyworld_> ok, cool. next week will be good |
|
[06:28] <wgrant> wallyworld_: I guess that page also wants the privacy banner. |
|
[06:28] <wgrant> Unconditionally. |
|
[06:29] <wallyworld_> hmmm. could do. is it really displaying private info though? |
|
[06:29] <wgrant> I guess it could be argued either way. |
|
[06:29] * wgrant just goes with the beta banner for now. |
|
[06:29] <wallyworld_> +1 |
|
[06:29] <poolie> is anyone running lxc on your laptop/etc? |
|
[06:30] <wallyworld_> no, bare metal for me |
|
[06:30] <wgrant> poolie: I run it on my laptop (oneiric) and desktop (precise) |
|
[06:30] <wgrant> Only precise's has its own libvirt. |
|
[06:30] <wgrant> s/libvirt/dnsmasq/ |
|
[06:30] <poolie> did you see anything like https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/956655 |
|
[06:30] <wgrant> But it's working for me. |
|
[06:30] <_mup_> Bug #956655: libvirt dnsmasq causes runaway chain reaction <dnsmasq (Ubuntu):New> < https://launchpad.net/bugs/956655 > |
|
[06:30] <wgrant> I'm running libvirt, lxc and system dnsmasqs |
|
[06:30] <wgrant> And it's working OK |
|
[06:31] <poolie> ok |
|
[06:31] <wgrant> I haven't rebooted in several days, though. |
|
[06:31] <wgrant> poolie: Heh |
|
[06:31] <poolie> ? |
|
[06:31] <wgrant> poolie: You know what adds that dhclient.conf thing... |
|
[06:31] <wgrant> poolie: LP's setuplxc |
|
[06:31] <poolie> oh ffs |
|
[06:31] <wgrant> :D |
|
[06:31] <poolie> i should never have run that |
|
[06:32] <poolie> it's so ridiculously intrusive |
|
[06:32] <poolie> worse than rocketfuel-setup |
|
[06:32] <poolie> despite intending to run on the host |
|
[06:32] <stub> You should run it from an lxc container. |
|
[06:32] <poolie> only inside an existing container? |
|
[06:32] <poolie> ok |
|
[06:32] <stub> Implied smiley |
|
[06:32] <lifeless> dhclient thing? |
|
[06:33] <lifeless> poolie: YHBT by stub :) |
|
[06:33] <wgrant> $ bzr grep domain-name-servers |
|
[06:33] <wgrant> utilities/setuplxc.py: 'prepend domain-name-servers {};\n'.format(lxc_gateway_address)) |
|
[06:33] <lifeless> erm wtf |
|
[06:33] <poolie> it modifies your dhclient.conf in a way that sets up an echo loop between various dnsmasqs |
|
[06:33] <lifeless> Why would it add that |
|
[06:33] <wgrant> wtf is right :) |
|
[06:33] <poolie> for fun |
|
[06:33] <lifeless> poolie: file a bug, I think it indicates a missetup host |
|
[06:33] <poolie> against what? |
|
[06:34] <lifeless> launchpad for now, which is where the setuplxc script is |
|
[06:34] <poolie> i already filed a bug |
|
[06:34] <poolie> i don't believe setuplxc's serious |
|
[06:34] <lifeless> in what way? |
|
[06:34] <poolie> it's full of stuff that does random modifications to the host |
|
[06:35] <poolie> reporting them individually doesn't seem like a good use of time |
|
[06:35] <poolie> the discussion needs to be around splitting it into bits you could safely run on a host you care about |
|
[06:35] <poolie> that should be very conservative |
|
[06:35] <poolie> and things inside the guest, that can do whatever |
|
[06:36] <lifeless> sigh |
|
[06:36] <poolie> but, per stub's troll, i don't know if that's even what it's meant for |
|
[06:36] <poolie> is it? |
|
[06:36] <lifeless> i gotta go |
|
[06:36] <poolie> ah, sorry if that's too bitter |
|
[06:36] <poolie> i can post to the list |
|
[06:36] <poolie> i thought i already did though |
|
[06:37] <poolie> ok, i mentioned this in https://bugs.launchpad.net/bugs/936817 and you replied, but no one else |
|
[06:37] <_mup_> Bug #936817: setuplxc scrambles your bzr whoami <Launchpad itself:Triaged by mbp> < https://launchpad.net/bugs/936817 > |
|
[06:38] <poolie> anyhow, thanks for that wgrant |
|
[06:39] <stub> poolie: I believe its purpose is to completely setup a Lucid lxc container with a full Launchpad development environment ready to go. |
|
[06:39] <poolie> right |
|
[06:39] <poolie> it's intended to be run on the host? |
|
[06:39] <stub> I think so, yes (I didn't write it, but I vaguely recall running it once) |
|
[06:39] <poolie> i infer it's only meant to be run on a host you don't care about, like an ec2 vm |
|
[06:40] <wgrant> wallyworld: https://code.launchpad.net/~wgrant/launchpad/sharing-beta-banner/+merge/97801 |
|
[06:40] <wallyworld_> ooh. a banner, i like banners |
|
[06:41] <stub> I ran it on a host I cared about. It seemed to survive. Would have been december or January? |
|
[06:41] <poolie> biab |
|
[06:42] <wallyworld_> wgrant: that's nice infrastructure the bugs team added. i had no idea it would be so easy |
|
[06:42] <wgrant> wallyworld_: Yep, it's pretty nice. |
|
[06:42] <wgrant> It can also link each feature to a URL, but I don't think we have anything for these yet. |
|
[06:42] <wgrant> So meh. |
|
[06:43] <wallyworld_> one thing at a time |
|
[06:43] <wallyworld_> r=me |
|
[06:43] <lifeless> poolie: so, I'm sure you'll agree that if it was *just* refactored, and you ran it to setup an lxc container for you (so ran on the host), the existing change to your resolv.conf would be wrong |
|
[06:43] <lifeless> poolie: its not particularly useful to reject identifying specific bugs just because the structure could be better |
|
[06:44] <wgrant> wallyworld_: Thanks. |
|
[06:44] <lifeless> poolie_: so, I'm sure you'll agree that if it was *just* refactored, and you ran it to setup an lxc container for you (so ran on the host), the existing change to your resolv.conf would be wrong |
|
[06:44] <lifeless> poolie_: its not particularly useful to reject identifying specific bugs just because the structure could be better |
|
[06:44] <wgrant> wallyworld_: It depends on yours, so I'll watch and land it when appropriate. |
|
[06:44] <lifeless> poolie_: its meant to be run by random developers as well as on e.g. ec2 |
|
[06:45] <wallyworld_> wgrant: ok. i'm keeping an eye on mine too so i can land if i get to it first |
|
[06:45] <lifeless> poolie_: filing bugs is a useful thing to do; suggesting ways to make similar bugs less likely is also good, *but does not replace* identifying existing flaws. |
|
[06:45] <lifeless> poolie_: the folk writing it are not unix sysadmins, so they may well make mistakes or oversights, and we should be supporting them in getting a good result |
|
[06:45] <poolie_> yes, that's all fine |
|
[06:46] <poolie_> i just thought it might be closed invalid 'it's meant to do that' |
|
[06:47] <lifeless> LP very rarely does that :) - you may get 'but X happens and we need to address it' as an answer, and if so we can have a discussion |
|
[06:47] <lifeless> speaking of bug https://bugs.launchpad.net/launchpad/+bug/936817 you have assigned it to yourself, so I suspect noone has answered because they assume its all under control |
|
[06:47] <_mup_> Bug #936817: setuplxc scrambles your bzr whoami <paralleltest> <Launchpad itself:Triaged by mbp> < https://launchpad.net/bugs/936817 > |
|
[06:48] <lifeless> poolie_: I don't know why these things have been added, I can ask gary, but I suspect something came up and the team took the most direct solution they saw. |
|
[06:48] <poolie_> yes, i'm sure that's true |
|
[06:49] <lifeless> this happens reasonably often in software dev AFAICT, and its usually 'wast'e |
|
[06:49] <lifeless> I'm not sure how to stop it without really negative velocity side effects |
|
[06:49] <wallyworld_> wgrant: found one of the ec2 issues, looks spurious, nothing to do with my changes: test_memory_hog_job |
|
[06:49] <wgrant> wallyworld_: That seems to fail on certain days. |
|
[06:49] <wallyworld_> fridays perhaps |
|
[06:49] <wgrant> wallyworld_: eg. I had two branches fail with it yesterday, one not. |
|
[06:49] <wgrant> One failed today, two did not.; |
|
[06:49] <poolie_> lifeless, what i would have liked to have happen is for one of the developers to reply to my original bug to say |
|
[06:50] <poolie_> "sorry, it's not meant to mangle your host, please tell us of any other issues" |
|
[06:50] <wgrant> It did the same thing a couple of months ago. |
|
[06:50] <wgrant> And recovered without anybody doing anything. |
|
[06:50] <poolie_> then i would have felt encouraged to do it again |
|
[06:50] <lifeless> poolie_: that would have been nice. I guarantee they haven't seen it :) |
|
[06:50] <poolie_> oh? |
|
[06:50] <lifeless> poolie_: - I failed to tag it for their queue |
|
[06:50] <poolie_> cause they're rotated? |
|
[06:50] <lifeless> poolie_: and few folk are subscribed to all LP bugs |
|
[06:51] <poolie_> :/ |
|
[06:51] <lifeless> poolie_: and you triaged it yourself, so noone who is not subscribed had cause to look at it and tag it. |
|
[06:51] <lifeless> (all of which is fine, but you can see why they probably hadn't seen it) |
|
[06:51] <lifeless> this comes under 'LP is too big, we need to split stuff out' - I've asked that this script move to lp-dev-utils |
|
[06:52] <poolie_> ok, i see |
|
[06:52] <lifeless> which is a smaller project, and they could reasonably be expected to be subscribed for the project duration, for instance. |
|
[06:53] <lifeless> anyhow, my general advice when feeling ignored by a developer of $anything, is to reach out directly and seek help from them :) |
|
[06:53] <lifeless> lol |
|
[06:53] <lifeless> I just heard a massive THUMP |
|
[06:53] <lifeless> cat trying to get out of the lounge |
|
[06:55] <poolie_> lifeless, i don't mind being ignored on it, i was just not going to run it until it was more stable |
|
[06:55] <poolie_> if the residual damage hadn't caused my whole network to fallover i wouldn't have been thinking about it |
|
[06:56] <lifeless> poolie_: anyhow, can you please file a new bug for that other damage, also on LP, and either point me at it, or tag it paralleltests |
|
[06:56] <lifeless> erm, paralleltest IIRC |
|
[06:56] <poolie_> i retargeted the existing bug |
|
[06:57] <poolie_> dnsmasq is perhaps a bit dangerous but i think the proximate cause is setuplxc |
|
[06:57] <lifeless> oh, the existing dnsmasq bug ? |
|
[06:58] <lifeless> so yeah, thats purely setuplxc doing something inappropriate |
|
[06:58] <lifeless> probably the ec2 image is missing dnsmasq |
|
[06:58] <lifeless> and so the libvirt dnsmast magic isn't kicking in |
|
[06:58] <poolie_> yes bug 956655 |
|
[06:58] <_mup_> Bug #956655: libvirt dnsmasq causes runaway chain reaction <Launchpad itself:New> < https://launchpad.net/bugs/956655 > |
|
[06:58] <poolie_> yes, and missing networkmanager |
|
[06:58] <lifeless> (or missing a rule for (host) dnsmasq usage. |
|
[06:58] <poolie_> so you need a few different things for it to kick off |
|
[06:58] <poolie_> thus my question whether it was even intended to be used on laptops |
|
[06:58] <lifeless> do you need n-m for libvirt to do its thing ? |
|
[06:59] <lifeless> definitely, its concieved as a dev + devops + ops tool |
|
[06:59] <poolie_> n-m is starting the host's dnsmasq |
|
[06:59] <poolie_> you could have dnsmasq without nm |
|
[07:00] <wgrant> wallyworld_: Ah, one thing I missed in the review: you check whether the flag values are None, rather than letting them naturally cast to bool. This makes it impossible to override them to false. |
|
[07:00] <wgrant> wallyworld_: You have to have no matches rules at all instead. |
|
[07:01] <lifeless> right, so we'll need to tease that all out, the code in setuplxc today is flawed |
|
[07:01] <wallyworld_> wgrant: can't we just delete the flag |
|
[07:01] <lifeless> EOW'ing for reals |
|
[07:02] <wgrant> wallyworld_: Occasionally we need to disable it just in one exceptional case. |
|
[07:02] <wgrant> wallyworld_: eg. to this day we have two rules for dynamic bug listings. |
|
[07:02] <wgrant> The main one to enable it globally. |
|
[07:02] <wgrant> And a second one to disable it just for one page that doesn't work with it. |
|
[07:02] <poolie_> lifeless, thanks, have a great weekend |
|
[07:02] <wallyworld_> and we can only do that if we cast to boolean? |
|
[07:03] <wgrant> wallyworld_: It will implicitly do that. |
|
[07:03] <wgrant> wallyworld_: The pattern is to just say "if getFeatureFlag('foo'):" |
|
[07:03] <wgrant> Rather than "if getFeatureFlag('foo') is not None:" |
|
[07:04] <wallyworld_> ok, will fix |
|
[07:05] <wgrant> Thanks. |
|
[07:05] <wgrant> Should be pretty trivial :) |
|
=== wallyworld_ changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugtasks: 4*10 |
|
[08:16] <wallyworld_> wgrant: you can land you beta banner branch now |
|
[08:21] <wgrant> wallyworld_: Excellent, thanks. |
|
[08:22] <wallyworld_> np |
|
[08:52] <StevenK> Quite irritating now that LP is marking merged MPs diffs as empty |
|
[08:53] <adeuring> good morning |
|
=== almaisan-away is now known as al-maisan |
|
[09:46] <lcanas> hey guys, I'm trying to get the info from https://bugs.launchpad.net/glance/+bug/950364/+activity using the launchpadlib but it seems that the content of the activity entries is not available via the API. All I can get is the total number of entries, but the "bug.activity.entries" object is always empty. Any ideas? |
|
[09:46] <_mup_> Bug #950364: the owner field in glance is tenant_name <Glance:Triaged by jaypipes> <OpenStack Dashboard (Horizon):In Progress by gabriel-hurley> <Keystone:In Progress by jaypipes> < https://launchpad.net/bugs/950364 > |
|
[09:48] <wgrant> lcanas: You can't access activity entries anonymously right now. |
|
[09:48] <wgrant> Even for public bugs. |
|
[09:48] <wgrant> But if you're authenticated at all it will work. |
|
[09:49] <lcanas> wgrant, I see, thank you! :D |
|
=== adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: adeuring | Firefighting: - | Critical bugtasks: 4*10 |
|
=== al-maisan is now known as almaisan-away |
|
[11:45] <rick_h> morning party people |
|
[11:46] <czajkowski> rick_h: ello |
|
[11:54] <nigelb> rick_h: Recovered from pycon? |
|
[11:54] <rick_h> nigelb: the process begins...I think it might take a while. |
|
[11:54] <nigelb> heh |
|
=== matsubara-afk is now known as matsubara |
|
[12:33] <wgrant> sinzui: Morning. |
|
[12:34] <sinzui> I am afraid it is |
|
[12:35] <nigelb> heh |
|
[12:35] <wgrant> Heh |
|
[12:36] <wgrant> sinzui: wallyworld and I landed several branches today which get us into a state where we could sensibly turn on a read-only version +sharing page with fully populated data on Tuesday. |
|
[12:36] <wgrant> Does that sound like a reasonable idea? |
|
[12:37] <wallyworld_> oh yeah |
|
[12:37] <sinzui> yes it does |
|
[12:42] <wgrant> Great. |
|
[12:42] <wgrant> It all looks pretty nice. |
|
[12:42] <wgrant> And it is nice and fast. |
|
=== almaisan-away is now known as al-maisan |
|
[13:18] <deryck> Morning, everyone. |
|
[13:18] <rick_h> morning |
|
[13:23] <deryck> welcome back, rick_h |
|
[13:23] <adeuring> morning |
|
[13:23] <rick_h> deryck: thanks, let the shoveling begin!! |
|
[13:23] <deryck> rick_h, a little email there to tend to? :) |
|
[13:24] <abentley> adeuring, deryck, rick_h: hi. |
|
[13:24] <rick_h> heh, not just that, but crap to do. 2-factor auth, reviews, etc. You all got busy last week |
|
[13:24] <deryck> 2-factor auth? |
|
[13:25] <deryck> oh right |
|
[13:25] <deryck> I recall now :) |
|
[13:25] <rick_h> yea, giant thread on using phone for 2-factor auth stuff |
|
[13:25] <rick_h> ordered a yubi key to try to hook into it |
|
[13:25] <adeuring> rick_h: could you have a look at this MP: https://code.launchpad.net/~stefanor/wadllib/datetime-924240/+merge/97099 ? It's about a change you made to wadllib; I have no real clue about this stuff |
|
[13:26] <rick_h> adeuring: looking, see if I can recall |
|
[13:27] <rick_h> adeuring: ah, that was for py3 compat. It's a hack, but the only way I could get tests to pass in both |
|
[13:28] <adeuring> rick_h: I assume that the round trip ET.tostring(ET.fromstring(markup)) is necessary? If so, could you explain this in the MP |
|
[13:28] <adeuring> ? |
|
[13:28] <rick_h> yes, I'm trying to remember how it works. will do |
|
[13:29] <rick_h> basically we need to foce bytes. ET return a string in py2, but unicode in py3 |
|
[13:29] <rick_h> so we have to get it to a string, and then force it into Bytes |
|
[13:29] <rick_h> for the stream to work |
|
=== mrevell_ is now known as mrevell |
|
[13:52] <jcsackett> abentley: you use bzr-colo these days for lp, right? or am i misremembering? |
|
[13:53] <abentley> jcsackett: Yes, but OTP |
|
[13:53] <jcsackett> abentley: dig. |
|
[13:53] <deryck> rick_h, https://plus.google.com/hangouts/extras/talk.google.com/orange-one-on-one |
|
=== mrevell_ is now known as mrevell |
|
[14:13] <jcsackett> sinzui: looks like you fixed some failing code for me; thanks. |
|
[14:15] <mabac> adeuring, would you land this fix? it's approved but I'm not sure it's landed: https://code.launchpad.net/~linaro-infrastructure/launchpad/fix-work-item-brackets/+merge/97584 |
|
[14:15] <adeuring> mabac: sure |
|
[14:16] <mabac> adeuring, thanks! |
|
[14:18] <sinzui> jcsackett, I am still looking into the pillar-person failure. I think it is spurious. |
|
[14:18] <jcsackett> sinzui: it certainly looks it. |
|
[14:19] <jcsackett> i've run it locally, and that failing test passes. |
|
[14:19] <wgrant> Is it MemoryHogJob again? |
|
[14:19] <sinzui> I will pqm-submit it once I merge tip into |
|
[14:19] <sinzui> yes it it |
|
[14:19] <sinzui> wgrant, yes |
|
[14:19] <wgrant> Spurious. |
|
[14:19] <abentley> jcsackett: I'm around now. |
|
[14:20] <jcsackett> abentley: awesome. i'm having a problem with my colo setup that is leading bzr lp-propose to believe my submit branch is lp:~jcsackett/launchpad/devel. i'm certain i have just set things up poorly. |
|
[14:22] <abentley> jcsackett: Okay, so bzr-colo branches are not special, they just live in a weird location (.bzr/branches). When you configure them, you may need to keep that in mind. |
|
[14:22] <jcsackett> abentley: yeah, i knew that. i bzr colo-ified a branch of lp:launchpad, and renamed the core branch "devel" instead of "trunk". |
|
[14:23] <jcsackett> abentley: my submit_branch is then listed as the branch in the .bzr/branches path. |
|
[14:23] <jcsackett> (which is cargo cult from the default rocketfuel setup, which sets lp-branches/devel as the submit) |
|
[14:23] <jcsackett> but i'm guessing that's where i've goofed? |
|
[14:24] <sinzui> jcsackett, pillar-person is merged |
|
[14:24] <jcsackett> sinzui: you're today's hero. :-) |
|
[14:25] <abentley> jcsackett: Okay, it sounds like your "devel" branch needs its public_branch configured to be bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel |
|
[14:25] <jcsackett> abentley: ah, yeah, that could be it. |
|
[14:27] <abentley> jcsackett: just trying something... |
|
[14:28] <jcsackett> abentley: i'm trying that out now. |
|
[14:29] <abentley> jcsackett: You can do this using the config command: bzr config --scope=locations -d .bzr/branches/devel public_branch=bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel |
|
[14:31] <jcsackett> abentley: it would appear that my branch was indeed badly setup with its public branch. |
|
[14:33] <abentley> jcsackett: All good now? |
|
[14:33] <jcsackett> abentley: so it would appear. thanks! :-) |
|
[14:33] <abentley> jcsackett: np |
|
[14:34] <abentley> sinzui: Do you know the root cause of the spurious MemoryHogJob failures? |
|
[14:34] <sinzui> I do not |
|
[14:34] <abentley> sinzui: Me neither. I was just curious, since I wrote it. |
|
=== al-maisan is now known as almaisan-away |
|
=== salgado is now known as salgado-lunch |
|
[15:55] <rvba> rick_h: around? |
|
[15:56] <rick_h> rvba: yep |
|
[15:56] <rvba> rick_h: quick heads up: convoy has been packaged in precise and we're using it in MAAS. |
|
[15:56] <rick_h> awesome |
|
[15:56] <rvba> Just wanted to let you know :) |
|
[15:57] <rick_h> rvba: very cool, thanks for the heads up |
|
[15:57] <rvba> The name of the package in precise is python-convoy. |
|
=== salgado-lunch is now known as salgado |
|
=== matsubara is now known as matsubara-lunch |
|
[16:31] <adeuring> has anybody seen this EC2 error: http://paste.ubuntu.com/886528/ ? |
|
[16:44] <deryck> adeuring, do you have an smtp_server specified in $HOME/.bazaar/bazaar.conf? |
|
[16:45] <adeuring> deryck: yes, but the error occurs on the EC2 instance |
|
[16:48] <deryck> adeuring, hmm, maybe this is the thing wgrant mailed he fixed in the ec2 in lp-dev-utils. which ec2 are you using? |
|
[16:49] <adeuring> deryck: a recent version in lp-dev-utils: 105 |
|
[16:50] <deryck> adeuring, ah, yeah. update to 106, the latest, and I think it will fix itself. |
|
=== salgado is now known as salgado-dentist |
|
[16:52] <adeuring> deryck: ah, thanks -- I used the wrong parent branch... |
|
[16:52] <deryck> adeuring, np! |
|
=== deryck is now known as deryck[lunch] |
|
=== adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugtasks: 4*10 |
|
[17:34] <czajkowski> any idea where I'd find mr. poolie ? |
|
[17:36] <jelmer> czajkowski: he's in .au so probably enjoying weekend at the moment :) |
|
[17:37] <czajkowski> bah |
|
[17:37] <jelmer> czajkowski: he's sometimes around in our evenings though, usually from 20 or 21 UTC |
|
[17:37] <czajkowski> timezone will be the death of me one of these days |
|
[17:37] <czajkowski> jelmer: thanks |
|
[17:37] <czajkowski> wanted to triage his bug after reading his email |
|
[17:41] <czajkowski> has anyone gotten any bug mails with no subject in them ?? |
|
[17:42] <czajkowski> have never seen or experienced this but have a user saying they are getting mail with no bug title in the subject in mail |
|
[17:45] <jelmer> I don't recall ever seeing that |
|
[17:45] <czajkowski> https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/190848 |
|
[17:45] <_mup_> Bug #190848: font in terminal does not resemble font in preview <Fontconfig:Confirmed> <GNOME Terminal:Fix Released> <Ubuntu:Invalid> <fontconfig (Ubuntu):Fix Released> <gnome-settings-daemon (Ubuntu):Invalid> <gnome-terminal (Ubuntu):Fix Released by desktop-bugs> <vte (Ubuntu):Fix Released> < https://launchpad.net/bugs/190848 > |
|
[17:45] <czajkowski> is the bug in question |
|
[17:55] <czajkowski> https://bugs.launchpad.net/launchpad/+bug/138775 hah found a bug |
|
[17:55] <_mup_> Bug #138775: Notification subject included bug number but no summary <email> <lp-bugs> <story-better-bug-notification> <Launchpad itself:Triaged> < https://launchpad.net/bugs/138775 > |
|
=== deryck[lunch] is now known as deryck |
|
=== matsubara-lunch is now known as matsubara |
|
=== salgado-dentist is now known as salgado |
|
=== almaisan-away is now known as al-maisan |
|
[19:42] <jpds> Guys, from a buglist in the API, how can I search for which ones have a specific tag? |
|
[19:43] <jelmer> jpds: I'm not sure; I usually just use the advanced search thingy, which allows you to search for both tags and search terms |
|
[19:44] <jpds> I'm trying to look for bugs people in a team are subscribed to with a certain tag. |
|
=== al-maisan is now known as almaisan-away |
|
[20:17] <benji> if anyone would like to do a teeny-tiny little review, I would appreciate it: https://code.launchpad.net/~benji/launchpad/test-bugs/+merge/97975 |
|
[20:32] <sinzui> benji, r=me |
|
[20:33] <benji> thanks sinzui |
|
|