kickseed ignores mirror selection

Bug #662931 reported by Jeff Strunk on 2010-10-18
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
kickseed (Ubuntu)
High
Colin Watson

Bug Description

We have been using kickstart to automate installation since hardy. Our kickstart file changes very little for each release, and that is usually in the post install.

I used the attached kickstart file successfully with the netboot kernel and initrd for maverick beta.

After I updated our installer media to use the maverick release version's netboot initrd and kernel, kickseed has been downloading from gb.archive.ubuntu.com instead of the mirror we selected. There is nothing in /var/log/syslog about the mirror we wanted to use. /var/lib/preseed/log shows the choices we made in the kickstart file.

Related branches

Jeff Strunk (jstrunk-math) wrote :
Jeff Strunk (jstrunk-math) wrote :

On second thought, I think this must be a problem with debian-installer.

kickseed has not changed since lucid, but debian-installer changed on October 5th.

Jeff Strunk (jstrunk-math) wrote :

kickseed has not changed since lucid, but debian-installer changed on October 5th.

affects: kickseed (Ubuntu) → debian-installer (Ubuntu)
Graham (gmjs) wrote :

I hit the same problem with this. Again, I only set up a small number of machines (I do a single lesson in using Linux once a year) but wanted an unattended setup for the 18 machines.

Currently, I'm working around this problem by creating a preseed file (based on the ubuntu.seed in the 'preseed' directory on the alternate CD) that contains the following line:

d-i mirror/country string manual

I've also set the mirror host and directory with 'mirror/http/hostname' and 'mirror/http/directory' in this file.

After setting the mirror's country to 'manual', it appears that you can then set your own mirror url.

Hope this helps.

Graham

Jeff Strunk (jstrunk-math) wrote :

Excellent job finding the workaround. Thank you!

Colin Watson (cjwatson) wrote :

While this was probably triggered by a choose-mirror change, it really is a kickseed bug - it needs to keep up sometimes. Reassigning back and I'll fix this upstream. Thanks.

affects: debian-installer (Ubuntu) → kickseed (Ubuntu)
Changed in kickseed (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kickseed - 0.55ubuntu1

---------------
kickseed (0.55ubuntu1) natty; urgency=low

  * Resynchronise with Debian. Remaining changes:
    - Add basic RAID support. (LVM-on-RAID won't quite work yet.)
    - Add basic iSCSI support.

kickseed (0.55) unstable; urgency=low

  * Preseed mirror/country to "manual" instead of "enter information
    manually"; support for the latter has been dropped (LP: #662931).
 -- Colin Watson <email address hidden> Thu, 04 Nov 2010 12:25:06 +0000

Changed in kickseed (Ubuntu):
status: Triaged → Fix Released
Colin Watson (cjwatson) wrote :

A slightly simpler workaround than that in comment 4 is to add this line to your Kickstart file, somewhere after the 'url' line:

  preseed mirror/country string manual

Max (bos) wrote :

Adding "preseed mirror/country string manual" to the kickstart file does not seem to fix it.
Still breaks when trying to provision systems that do not have (direct) Internet access.
(on retrieving the dmraid udeb: wget: bad address "security.ubuntu.com")

Any chance of getting the fix applied to the official Lucid and Maverick netinstall initrd.gz?

Max (bos) wrote :

Ignore my last comment.

"preseed mirror/country string manual" does work as a work-around.
Made the mistake of adding it before 'url' instead of after.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments