[19:02] <dsmythies> Does anybody here have sufficient rights to change a bug report from private to public? I want bug 478097 changed back to public. It must have been in error that it was made private.
[21:28] <Bodsda> Hi all - I'm having troubles loggin into lp - I authenticate without a problem but I then either get to the homepage or a 'Your login was unsuccessful' page with the error "No matching endpoint found after discovering https://login.launchpad.net/+id/XBbTYWs"
[21:30] <wgrant> Bodsda: Is the problem repeatable?
[21:30] <Bodsda> wgrant: yes
[21:31] <wgrant> Bodsda: What's the URL of the page with the error message?
[21:32] <Bodsda> wgrant: https://launchpad.net/+openid-callback?starting_url=https%3A%2F%2Fanswers.launchpad.net%2Fquestions%2F%2Bquestions%3Ffield.actions.search%3DFind%2520Answers%26field.sort%3DRELEVANCY%26field.scope.target%3D%26field.status%3DOPEN%26field.status%3DSOLVED%26field.status%3DANSWERED%26field.status%3DNEEDSINFO%26field.search_text%3DNo%2520matching%2520endpoint%2520found%2520after%2520discovering%2520%26field.scope%3Dall&janrain_nonce=2014-12-02T21%3A3
[21:32] <Bodsda> whoops
[21:35] <wgrant> Hmmm.
[21:36] <beuno> hmm indeed
[21:36] <wgrant> Bodsda: Is the problem reproducible on https://qastaging.launchpad.net/+login or https://dogfood.paddev.net/+login? They both use the same SSO site.
[21:36] <wgrant> beuno: Was it throwing errors for a while that your squid might have cached?
[21:36] <Bodsda> hmmm
[21:36] <Bodsda> wgrant: yes, it fails for both of thos as well
[21:36] <beuno> wgrant, I hope we're not caching errors
[21:37] <wgrant> Bodsda: Alright, let me add some debugging.
[21:37] <Bodsda> brb gotta grab some caffeine
[21:37] <beuno> Bodsda, can you control + f5 that page?
[21:37] <wgrant> That's not going to help anything.
[21:38] <wgrant> It was his first request to dogfood.paddev.net ever.
[21:40] <beuno> right
[21:40] <beuno> so we are in the middle of some infrastructure change
[21:40] <beuno> this seems to be related
[21:40] <beuno> and happening to several folks
[21:40] <beuno> leave it with me
[21:41] <beuno> Bodsda, trying several times will get you in eventually
[21:41] <beuno> if you're in a hurry
[21:42] <teward> wgrant: is the SSO site used by launchpad the same as the standard Ubuntu SSO that the forums would also use, or is it different?
[21:43] <teward> (or to anyone even)
[21:43] <wgrant> teward: The same, just on a different domain.
[21:43] <teward> wgrant: but the same underlying auth mechanism?
[21:43] <wgrant> Same everything, including database.
[21:43] <dobey> same code. different css/images
[21:43] <wgrant> Not any more.
[21:43] <wgrant> All the same.
[21:44] <dobey> oh right
[21:44] <teward> so if there's issues that people are having with logins on Launchpad, it stands to reason similar login issues would be seen on other Ubuntu sites that use the same auth system?
[21:45] <wgrant> Not so much "would be" as "might be"
[21:45] <wgrant> If another site using SSO is seeing issues, they are probably not unrelated.
[21:45] <wgrant> Bodsda: When you return, please retry logging into dogfood.paddev.net
[21:46] <wgrant> Aha
[21:46] <teward> wgrant: yeah they're seeing a blank whitescreen on sso on the forums, saw the login issue here was wondering if its related
[21:46] <wgrant> Hm, did those two attempts fail?
[21:46] <Bodsda> wgrant: beuno: still the same problem I'm afraid
[21:46] <wgrant> Weird, we're getting endpoints back.
[21:46] <Bodsda> new one
[21:46] <Bodsda> service temporarily unavailable
[21:47] <wgrant> That was me :)
[21:47] <wgrant> Bodsda: Try now? Just once.
[21:48] <wgrant> Thanks.
[21:48] <Bodsda> wgrant: its thinking about it this time
[21:49] <wgrant> beuno: 'local_id mismatch. Expected https://login.launchpad.net/+id/XBbTYWs, got http://login.launchpad.net/+id/XBbTYWs'
[21:49] <wgrant> Different URL scheme.
[21:52] <Bodsda> wgrant: finally error'd - http://paste.ubuntu.com/9350059/
[21:52] <Bodsda> wgrant: need to switch comps - I'll be back in 2 mins
[21:55] <Bodsda> wgrant: back
[21:55] <wgrant> Bodsda: We've identified the problem and it's being fixed. Thanks for your help, should be fixed for you soon.
[21:55] <Bodsda> wgrant: cool, thanks - what was the issue?
[22:14] <wgrant> Bodsda: Should be fixed now. Can you try again on launchpad.net?
[22:16] <Bodsda> wgrant: still a no go I'm afraid
[22:17] <wgrant> Bodsda: Can you try a different browser, to rule out caching issues?
[22:18] <Bodsda> wgrant: not a caching problem - first launchpad login attempt from this laptop
[22:20] <Bodsda> wgrant: tested with IE and Firefox
[22:25] <wgrant> Bodsda: Hrm. Can you try https://dogfood.paddev.net/+login again?
[22:26] <Bodsda> wgrant: same issue
[22:27] <wgrant> Right, found the problematic squid. Thanks.
[22:27] <wgrant> Fixing now.
[22:38] <lifeless> bad squiddie!
[22:42] <beuno> oh!  a lifeless!
[22:48] <lifeless> bon jorno beuno
[22:59] <Bodsda> wgrant: got a successful login to dogfood! :)
[23:00] <Bodsda> wgrant: and to launchpad -- thanks!
[23:00] <wgrant> Bodsda: Excellent. Thanks for confirming.
[23:11] <sigmavirus24> Hey is anyone here familiar with python-launchpadlib?
[23:15] <wgrant> sigmavirus24: Sure, ask your question and someone will answer if they know.
[23:17] <sigmavirus24> I may have just figured it out actually =P
[23:19] <sigmavirus24> Nope. So I'm trying to create a bug on a project (that has bugs) but after I login and have a Launchpad object, lp.bugs.createBug(...) doesn't work because every value I try for target is wrong. The bug_target docs don't describe anything other than what it is so I'm lost as to how to get one of those
[23:20] <wgrant> sigmavirus24: What are you using? The target should be a product, distribution or distribution_source_package object.
[23:20] <sigmavirus24> I tried URLs, project name and the project I get when I use lp.projects.search(text='...')
[23:21] <sigmavirus24> Let me get a distribution and try that
[23:21] <wgrant> sigmavirus24: lp.projects.search returns a collection of projects, not a single one.
[23:21] <sigmavirus24> right, I picked the right one out of it
[23:21] <wgrant> You want eg. lp.projects['foo'], or lp.distributions['foo'], or lp.distributions['foo'].getSourcePackage(name='bar')
[23:22] <sigmavirus24> and just pass the result of lp.distributions['foo'] in for target?
[23:22] <wgrant> Right.
[23:24] <sigmavirus24> I'm still getting a 404
[23:24] <wgrant> What's the exact input and output?
[23:25] <sigmavirus24> let me stick this in a paste somewhere quick
[23:28] <sigmavirus24> https://gist.github.com/sigmavirus24/e8008ccc57c987aaea6c
[23:36] <wgrant> sigmavirus24: How are you creating the lp object? What is d?
[23:37] <sigmavirus24> lp = launchpadlib.launchpad.Launchpad.login_with('libtoken', 'production') and d = lp.distributions['project-name']
[23:37] <sigmavirus24> I have to run though and I'll probably work on this later
[23:37] <wgrant> Hm, should you should really be testing scripts like this on staging, probably :)
[23:37] <wgrant> lp.distributions['project-name'] is weird -- a project is not a distribution.
[23:39] <sigmavirus24> wgrant: everytime I tried to make a staging account I got a 500 error
[23:39] <sigmavirus24> so I gave up on that
[23:39] <sigmavirus24> I waited a good 5-10 min between each attempt
[23:39] <sigmavirus24> so I wasted way too much time on that already
[23:40] <wgrant> That's a problem that can be fixed if we're given details.
[23:40] <wgrant> sigmavirus24: What's the project you're using?
[23:41] <wgrant> The only way this makes sense is if the bug you're reporting is private by default, and you've not authorised your launchpadlib token to access private data.
[23:41] <wgrant> The default privacy depends on the project's configuration.
[23:42] <dsmythies> There is someone messing up bug reports. (see my post from earlier today). He just did another one, but that one we were able to restore. It is not clear to us how to stop him.
[23:42] <dsmythies> Reference: https://launchpad.net/~danielcandido82
[23:42] <dsmythies> Can he be baneed?
[23:42] <dsmythies> Can he be banned?
[23:43] <wgrant> dsmythies: Done.
[23:43] <dsmythies> Thanks very much.