kind: unable to load kernel module "configs"
On Linux Ubuntu 18.04 I am getting the following error/warning:
[preflight] The system verification failed. Printing the output from the verification:
KERNEL_VERSION: 4.15.0-36-generic
DOCKER_VERSION: 17.03.2-ce
DOCKER_GRAPH_DRIVER: aufs
OS: Linux
CGROUPS_CPU: enabled
CGROUPS_CPUACCT: enabled
CGROUPS_CPUSET: enabled
CGROUPS_DEVICES: enabled
CGROUPS_FREEZER: enabled
CGROUPS_MEMORY: enabled
[WARNING SystemVerification]: failed to parse kernel config: unable to load kernel module "configs": output - "modprobe: FATAL: Module configs not found in directory /lib/modules/4.15.0-36-generic\n", err - exit status 1
The reason is that the modules directory on the host looks like this:
/lib/modules/4.15.0-36-generic$ ls -al
total 5288
drwxr-xr-x 5 root root 4096 Oct 4 08:39 .
drwxr-xr-x 7 root root 4096 Oct 4 08:39 ..
lrwxrwxrwx 1 root root 40 Sep 24 07:08 build -> /usr/src/linux-headers-4.15.0-36-generic
drwxr-xr-x 2 root root 4096 Sep 24 07:08 initrd
drwxr-xr-x 15 root root 4096 Oct 4 08:39 kernel
-rw-r--r-- 1 root root 1264027 Oct 4 08:39 modules.alias
-rw-r--r-- 1 root root 1244585 Oct 4 08:39 modules.alias.bin
-rw-r--r-- 1 root root 7719 Sep 24 07:08 modules.builtin
-rw-r--r-- 1 root root 9770 Oct 4 08:39 modules.builtin.bin
-rw-r--r-- 1 root root 552081 Oct 4 08:39 modules.dep
-rw-r--r-- 1 root root 780354 Oct 4 08:39 modules.dep.bin
-rw-r--r-- 1 root root 317 Oct 4 08:39 modules.devname
-rw-r--r-- 1 root root 206127 Sep 24 07:08 modules.order
-rw-r--r-- 1 root root 540 Oct 4 08:39 modules.softdep
-rw-r--r-- 1 root root 589765 Oct 4 08:39 modules.symbols
-rw-r--r-- 1 root root 719596 Oct 4 08:39 modules.symbols.bin
drwxr-xr-x 3 root root 4096 Oct 4 08:39 vdso
kind mounts modules directory into the Docker image, but not also build
subdirectory.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (15 by maintainers)
Commits related to this issue
- fix #61: properly handle service-proxy-name label — committed to yankay/kind by mcluseau 3 years ago
- Merge pull request #61 from Stratio/iamjanr-patch-4 Update CHANGELOG.md — committed to stg-0/kind by iamjanr a year ago
well in that case kind should probably just map the
/boot/config...
file to silence the warning.@neolit123: You can’t close an active issue/PR unless you authored it or you are a collaborator.
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.