/srv/irclogs.ubuntu.com/2013/06/17/#ubuntu-installer.txt

=== kentbout is now known as kentb
antaruscjwatson: mornin'16:13
antaruscjwatson: I have a log, it turns out that 50mirror isn't even being called, and 'choose-mirror' is being run from main-menu16:14
antaruscjwatson: the problem for us is that choose-mirror (the C binary?) is trying to 'validate' our mirror16:14
antaruscjwatson: but our mirror doesn't follow the standard format16:14
antaruscjwatson: so 'validation' fails16:14
antaruscjwatson: even though our mirror is totally able to serve packages16:14
antaruscjwatson: so nominally I want to skip choose-mirror: we have a apt-setup generator that will fill in the right lines for us :/16:15
xnoxantarus: hmm.... well use early-command or partman-early-command to replace choose-mirror with whatever you want it to do =)16:34
antarusxnox: it was unclear to me if choose-mirror was installed during early-command16:35
antarusbut yes that was raised :/16:35
cjwatsonEh, early-command shouldn't be necessary.  One moment16:35
cjwatsonantarus: I'd like to look at the log myself, if possible16:36
antaruscjwatson: yeah, I'm just redacted bits16:42
antarusredacting*16:42
antaruscjwatson: hmmm it looks like in this log I tried setting d-i mirror/http and d-i mirror/directory and d-i mirror/proxy16:45
antarusand the only bug was in d-i mirror proxy, because my proxy ACL was bogus16:46
antarus(I am not sure what you are looking for in the log, per se, and I've changed a few parameters since Friday ;p)16:46
antarus(The logs are super helpful, in terms of the DEBCONF_DEBUG stuff, but they have not uncovered any bugs or odd behavior, the code is behaving as expected.)16:49
cjwatsonantarus: I always find it much easier to read through it myself than to operate at one remove16:50
cjwatsonAnd they give me exact values for everything16:50
antarustrue enough16:50
cjwatsonFor instance "mirror/http" doesn't exist so either you've mistranscribed or your preseed file is wrong16:50
cjwatsonThis is the sort of thing I prefer to look at directly in the log16:50
cjwatsonTells me about order of events too16:50
antaruspft! ;p16:51
cjwatsonAnd I'm not sure how your mirror might not follow the standard format in a way that can't be handled16:51
antarusblame thomas16:51
antarus:)16:51
cjwatsonWell, no, I'm not sure this is *possible*16:51
cjwatsonYou may just be unaware of the facilities16:51
antarusahh16:51
antaruslet me look at my error log again, perhaps we can just fiddle with mirror/http/directory or soemthing16:53
antarusI admit when this was set up it was a rush job done by someone else, luckily that fellow is back from holiday16:53
cjwatsonThere's also a thing to tweak handling of security16:53
cjwatsonapt-setup/security_{host,path}16:53
cjwatsonchoose-mirror is always run for netboot installs because the netboot installer retrieves bits of itself from the mirror too16:54
cjwatsonSo fixing up your mirror preseeding is mandatory for netboot installs16:55
antarusyeah it is possible that we are actualyl being naughty and fetching from us.archive.ubuntu.com16:57
antarus(but just the installer bits)16:57
cjwatsonIf you fix that up then you *can* skip the choose-mirror call in apt-setup, but it may not buy you very much16:58
cjwatsonThe only plausible alternative is to PXE-boot something like a monolithic d-i mini.iso which you've built specially; that's possible but it's starting to get a bit off the reservation16:59
cjwatson(The monolithic flavour has everything built into the initrd rather than relying on the network.  But it's not built by default and mainly intended for use by d-i developers.)17:00
antarusahh17:02
antarusso I talked to the guy who set this upe17:02
antarushis understanding is that our repo names are not the repo names the installer is expecting17:02
antaruswhich is a bug we need to fix in the future17:03
antarus;p17:03
cjwatsonI need concrete details if at all possible17:03
cjwatsonPreferably that log :)17:03
antaruswell here17:03
antaruslet me set the mirror lines to point at rapture17:03
antarusand do an install17:03
antarusand then I'll have that log17:03
cjwatsonThere are definitely meant to be ways to cope with this kind of thing, and if it can't then I suspect I will consider it a d-i bug17:04
antaruson a positive note, this did lead to a bug in our pxe infrastructure that downcased extra arguments ;p17:06
cjwatsonheh17:08
antarusahh17:09
antarus        asprintf(&command, "wget -q %s://%s%s/dists/%s/Release -O - | grep -E '^(Suite|Codename):'",17:09
antarus                 protocol, hostname, directory, name);17:09
antarusI see17:09
antaruswhere is 'name' set..17:10
antarusit is possible that if we preseed 'suite' to be the right name, it would work17:11
antarusits not clear if preseeding the suite has other negative naming effects17:11
cjwatsonThat's one possibility, yes17:12
cjwatsonFor the most part I think it should be OK17:12
* antarus nods17:12
antarusI'll try taht next17:12
antaruscjwatson: ok, how shall I get this log to you?17:17
cjwatsoncjwatson@ubuntu.com is fine17:18
cjwatsonfeel free to encrypt if necessary17:18
antarusnah I've removed all of the juicy bits ;p17:21
antarusugh17:21
antaruschromeos--17:21
antarusok log sent17:29
antarushrm, suite sets codename...17:48
antarusso I need to change that as well17:48
cjwatsonShould be picked up from the archive's Release file17:48
cjwatson(I'll have a look properly later, getting towards dinnertime here)17:48
antarusoh17:49
antarusCodename: ubuntu-precise-proposed-main-20130614-217:49
antarusyeah17:49
antarusthats a bug on our side17:49
antarus;p17:49
antaruscjwatson: the more I look at this, the more the hate piles on ;)20:21
* antarus thinks he has something that will work though20:26
antaruscjwatson: and another bug in our mirroring system ;p22:29

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