/srv/irclogs.ubuntu.com/2016/09/02/#launchpad.txt

=== signed8bit_Zzz is now known as signed8bit
=== signed8bit is now known as signed8bit_Zzz
=== signed8bit_Zzz is now known as signed8bit
zetherooaccording to this ' The production Launchpad.net site runs on Ubuntu 12.04 LTS' - is this still true? https://dev.launchpad.net/Running08:40
zetheroowhat I would really like to know is if a launchpad setup can be run on 14.04 or even 16.0408:45
cjwatsonzetheroo: Yes, it's still true at the moment for various reasons, but at least 14.04 should mostly work.09:17
zetheroocjwatson: ok, but 16.04 would be too new ?09:22
cjwatsonzetheroo: I don't have definite information on that.09:34
cjwatsonIt may well be OK, but I haven't tested.09:35
zetherooI tried it just now and it didn't go so well http://paste.ubuntu.com/23123491/09:36
zetherooso I am giving 14.04 a shot now09:36
cjwatsonAh, certainly some of the dependent PPAs may not be ready .09:38
cjwatsonIf you aren't ready to cope with that kind of thing, you'd be best off matching our setup.09:38
cjwatsonI hope we'll at least get onto 14.04 in a few months (we have until April ...)09:39
zetheroook, if 14.04 doesn't do it I am back to 12.04 ;)09:42
zetheroois 12.04 still getting security updates?09:46
cjwatsonYes09:47
cjwatsonUntil April09:47
zetheroook09:50
zetherooso in 14.04 when I do './rocketfuel-setup' I get '-bash: ./rocketfuel-setup: Permission denied', so I try with sudo and get 'sudo: ./rocketfuel-setup: command not found'09:54
cjwatsonI wouldn't have expected sudo to help, or to be desirable even if it did help.  Don't run Launchpad code under sudo.09:58
zetheroook09:58
cjwatsonPerhaps you have the code on a noexec filesystem?09:59
cjwatsonOr perhaps you didn't chmod +x it?09:59
zetherooach, stupid me ... yes chmod -x was the thing09:59
cjwatson+x, but yes.09:59
zetherooyes, that :D10:00
cjwatsonNow you get to wait for ages.10:01
cjwatson(Hopefully you have it in a container.)10:01
zetherooyep, running a dedicated VM for it10:03
zetherooat the command 'make schema' I get the following errors at the end:11:11
zetheroopsycopg2.ProgrammingError: permission denied to create role11:11
zetheroomake[1]: *** [create] Error 111:11
zetheroomake[1]: Leaving directory `/home/launchpad/launchpad/lp-branches/devel/database/schema'11:11
zetheroomake: *** [schema] Error 211:11
cjwatsonthat sounds like you might not have run utilities/launchpad-database-setup properly11:13
cjwatson(note the warning attached to it)11:13
zetherooI did perform './utilities/launchpad-database-setup $USER' before 'make schema'11:16
cjwatsonProbably worth checking output closely for errors.11:17
cjwatsonIt all worked fine last time I did this only a month or two ago.11:17
zetheroohttp://paste.ubuntu.com/23123797/11:18
zetherooends with 'Looks like everything went ok.' :)11:18
wgrantzetheroo: Your POSIX user cannot be named "launchpad".11:18
wgrantWell, not with the default setup scripts.11:19
zetheroooh, I guess that was a default and I just hit Enter11:19
wgrantSince "make schema" will try to create a postgres user called "launchpad", but launchpad-database-setup has already done that given your POSIX username.11:19
wgrantNo LP setup stuff creates POSIX users, so I doubt it was a default.11:20
zetheroothe only time I recall being asked for a username was when I performed the './rocketfuel-setup' command11:21
zetherooWhat is your Launchpad username? [launchpad]11:21
wgrantIt was when you created the user that you're currently logged in as.11:21
zetherooand I just hit Enter11:21
wgrantBefore you ran any Launchpad setup scripts.11:21
cjwatsonAnd that prompt is asking for your username on launchpad.net.11:21
cjwatsonWhich is not "launchpad".11:21
zetherooso my local Ubuntu user cannot be 'launchpad'?11:22
wgrantNot with the default setup scripts.11:23
zetheroook11:23
wgrantSince launchpad-database-setup creates a postgres user matching your POSIX user, but LP expects to be able to create a "launchpad" user of its own.11:23
zetheroois this why I had the last errors?11:23
wgrantYes.11:23
wgrantI suspect that security.py revoked superuser privileges from the "launchpad" role.11:24
zetheroook, then i may as well start again with a fresh install :)11:24
zetheroocan the hostname be launchpad ? :D11:26
wgrantzetheroo: That shouldn't be a problem.11:38
wgrantI haven't tested it, but nobody's run into that before.11:38
zetheroook, I'll choose another hostname just to be sure11:38
zetherooso when I am asked for my Launchpad username ... what's the benefit of placing it in here?11:49
wgrantIt uses it to download code over bzr+ssh rather than http, which is usually a lot faster.11:49
wgranthttp doesn't allow the server to use any intelligence.11:49
zetheroook11:52
cjwatsonAlso rocketfuel-setup sets things up so that "bzr push" pushes code branches to the right place, for when people are sending branches to us for merging.11:59
cjwatsonNowadays I think that could actually just use lp:~/launchpad etc. rather than lp:~${lpusername}/launchpad etc., but that's not how it's written at the moment.12:00
wgrantDoes ~ actually work for branch lookups?12:01
wgrantThat code is rather specialised.12:01
cjwatsonUsually does for me.12:01
wgrantIt's not often that I learn something about Launchpad.12:01
cjwatsonWouldn't swear it works in every case, but I reasonably often do bzr push lp:~/thing/name12:01
zetherooI am totally new to all this, so it's all Greek to me :)12:02
Saviqhi, can someone please enable arm builds on ppa:jenkaas-hackers/tools? they can be virt I think12:28
wgrantSaviq: You can do that yourself on the "Change details" page.12:30
wgrantAssuming you own the PPA.12:30
zetherooeven though I put in my launchpad ID I still see this in the output : 'You have not informed bzr of your Launchpad ID ...'12:37
Saviqwgrant, yeah I don't, not an admin of that team, will grab one of them, thanks12:41
zetheroonow that it's running, ow do I access the site in a remote browser?13:15
cjwatsonhttps://dev.launchpad.net/Running/RemoteAccess13:20
zetheroomaybe this is not what I thought it was ... I was looking for a way to host a local repository of pre-built packages13:20
cjwatsonLaunchpad is massive overkill for that13:20
zetheroook13:20
cjwatsonDid you consider reprepro?13:20
zetherooLaunchpad was the first thing I tried13:20
cjwatsonThere are a few things of that kind of shape in the Ubuntu archive13:21
zetheroook, so no 'official' way13:21
cjwatsonOr you could use launchpad.net to do the builds and mirror them locally13:22
zetherooI was thinking of something like Poudriere (FreeBSD)13:23
cjwatsonThese days I normally just throw things at Launchpad since life's too short, but I've used sbuild and reprepro in the past.  Was a while ago.13:24
zetheroook13:24
cjwatsonThere may be a more closely-integrated thing around now.13:24
zetheroowell if launchpad can do it all ... sounds good13:26
dobeyhmm, getting lots of timeouts just trying to change status on a simple bug right now13:37
xnoxyeah13:37
HeOSHello! Is there a problem with launchpad? I can't add my comment to a bug - I face the 'Timeout error' with an advice to try do it some later...13:38
zetherooisn't the login process in launchpad kinda weird? When I want to login I am taken to this Ubuntu One site which after I login just lands me on a Personal details page with some other settings ... so then I have to manually re-enter launchpad.net into the address bar - is that how it's meant to work!?13:40
zetherooand then when I go back to launchpad.net I see that I am still not logged in - so I click on login again and am taken back to Ubuntu One with a Personal Data Request, so I click the 'Yes, log me in' button and then it redirects back to launchpad.net and I am finally logged into launchpad. Thing is that I had to do this all before already so why do I have to authorize it again?13:42
dobeythat sounds like maybe your browser did something weird13:43
cjwatsonHeOS: this happens every so often due to some internal postgresql maintenance job that we haven't entirely tracked down, but it always goes away in about ten minutes13:49
HeOScjwatson, got it, thanks.)13:49
HeOSIt works fine right now.13:50
=== mpt_ is now known as mpt
=== signed8bit is now known as signed8bit_Zzz
=== signed8bit_Zzz is now known as signed8bit
=== signed8bit is now known as signed8bit_Zzz
=== signed8bit_Zzz is now known as signed8bit
=== signed8bit is now known as signed8bit_Zzz

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!