Page MenuHomePhabricator

Stretch installer "No kernel modules were found" error
Closed, ResolvedPublic

Description

When attempting to install stretch on a ganeti VM a "No kernel modules were found." error occurs

┌────────────────┤ [!!] Download installer components ├─────────────────┐
│                                                                       │
│ No kernel modules were found. This probably is due to a mismatch      │
│ between the kernel used by this version of the installer and the      │
│ kernel version available in the archive.                              │
│                                                                       │
│ If you're installing from a mirror, you can work around this problem  │
│ by choosing to install a different version of Debian. The install     │
│ will probably fail to work if you continue without kernel modules.    │
│                                                                       │
│ Continue the install without loading kernel modules?                  │
│                                                                       │
│     <Go Back>                                       <Yes>    <No>     │
│                                                                       │
└───────────────────────────────────────────────────────────────────────┘

Logs:

Oct 11 15:25:05 debconf: --> GET mirror/http/proxy
Oct 11 15:25:05 debconf: <-- 0 http://webproxy.eqiad.wmnet:8080
Oct 11 15:25:05 anna[5174]: 2017-10-11 15:25:05 URL:http://mirrors.wikimedia.org/debian//dists/stretch/main/debian-installer/binary-amd64/Packages.xz [50688/50688] -> "/tmp/_fetch-url_net-retriever-5178-Packages.5211" [1]
Oct 11 15:25:05 debconf: --> GET mirror/http/proxy
Oct 11 15:25:05 debconf: <-- 0 http://webproxy.eqiad.wmnet:8080
Oct 11 15:25:05 anna[5174]: 2017-10-11 15:25:05 URL:http://mirrors.wikimedia.org/debian//dists/stretch/contrib/debian-installer/binary-amd64/Packages.xz [32/32] -> "/tmp/_fetch-url_net-retriever-5178-Packages.5232" [1]
Oct 11 15:25:05 debconf: --> GET mirror/http/proxy
Oct 11 15:25:05 debconf: <-- 0 http://webproxy.eqiad.wmnet:8080
Oct 11 15:25:05 anna[5174]: 2017-10-11 15:25:05 URL:http://mirrors.wikimedia.org/debian//dists/stretch/non-free/debian-installer/binary-amd64/Packages.xz [32/32] -> "/tmp/_fetch-url_net-retriever-5178-Packages.5253" [1]
Oct 11 15:25:05 anna[5174]: WARNING **: no packages matching running kernel 4.9.0-3-amd64 in archive
Oct 11 15:25:05 debconf: --> INPUT critical anna/no_kernel_modules

It looks like http://mirrors.wikimedia.org/debian//dists/stretch/main/debian-installer/binary-amd64/Packages.xz references kernel 4.9.0-4 while installer references 4.9.0-3. Do we need to bump up the version of the installer kernel?

Package: kernel-image-4.9.0-4-amd64-di
Source: linux
Version: 4.9.51-1
Installed-Size: 7412
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: amd64
Provides: kernel-image, zlib-modules
Description: Linux kernel image and core modules for the Debian installer
Description-md5: ef67d014234f605a7bae7acdb8e87188
Kernel-Version: 4.9.0-4-amd64
Section: debian-installer
Priority: standard
Filename: pool/main/l/linux/kernel-image-4.9.0-4-amd64-di_4.9.51-1_amd64.udeb
Size: 4497932
MD5sum: a740e5d5fa4fa4ecfb5e692535e36e1e
SHA256: fe83c0e5cbad4ffcba4347b0f779d9d60486184c17f309d1d92e02159ff1516c

Event Timeline

herron claimed this task.
herron added a subscriber: MoritzMuehlenhoff.

@MoritzMuehlenhoff pointed out that there is an update script in /home/faidon on puppetmaster1001 which fetches current netboot files and copies them into a directory deployed by puppet.

puppetmaster1001:/home/faidon# bash update-netboot-stretch.sh
--2017-10-11 17:47:39--  http://mirrors.wikimedia.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/netboot.tar.gz
Resolving webproxy.eqiad.wmnet (webproxy.eqiad.wmnet)... 2620:0:861:1:208:80:154:22, 208.80.154.22
Connecting to webproxy.eqiad.wmnet (webproxy.eqiad.wmnet)|2620:0:861:1:208:80:154:22|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 29791951 (28M) [application/octet-stream]
Saving to: ‘netboot.tar.gz’

netboot.tar.gz                                                   100%[==========================================================================================================================================================>]  28.41M  78.8MB/s   in 0.4s

2017-10-11 17:47:39 (78.8 MB/s) - ‘netboot.tar.gz’ saved [29791951/29791951]

--2017-10-11 17:47:39--  http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/stretch/current/firmware.cpio.gz
Resolving webproxy.eqiad.wmnet (webproxy.eqiad.wmnet)... 2620:0:861:1:208:80:154:22, 208.80.154.22
Connecting to webproxy.eqiad.wmnet (webproxy.eqiad.wmnet)|2620:0:861:1:208:80:154:22|:8080... connected.
Proxy request sent, awaiting response... 302 Found
Location: http://gensho.ftp.acc.umu.se/cdimage/unofficial/non-free/firmware/stretch/current/firmware.cpio.gz [following]
--2017-10-11 17:47:40--  http://gensho.ftp.acc.umu.se/cdimage/unofficial/non-free/firmware/stretch/current/firmware.cpio.gz
Reusing existing connection to [webproxy.eqiad.wmnet]:8080.
Proxy request sent, awaiting response... 200 OK
Length: 37110179 (35M) [application/x-gzip]
Saving to: ‘firmware.cpio.gz’

firmware.cpio.gz                                                 100%[==========================================================================================================================================================>]  35.39M  11.4MB/s   in 3.1s

2017-10-11 17:47:43 (11.4 MB/s) - ‘firmware.cpio.gz’ saved [37110179/37110179]

This followed by a puppet run on install1002 fixed the "No kernel modules were found" error