subiquity install fails: kernel modules not found

Bug #1820617 reported by Paride Legovini on 2019-03-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Critical
Dimitri John Ledkov
Bionic
Undecided
Unassigned

Bug Description

Since 2019-03-18 the disco and bionic amd64-smoke-default tests (i.e. the basic installation using all the default installer options) are failing. The installation fails because the installer tries to load some kernel modules which are not found on the system, and /lib/modules is indeed empty. The relevant syslog excerpt for a failed install follows, while attached is the full syslog.

curtin_log.1438[1688]: Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed return codes [0] (capture=False)
curtin_log.1438[1688]: modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.15.0-47-generic/modules.dep.bin'
curtin_event.1438[1708]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: FAIL: removing previous storage devices
curtin_event.1438[1708]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta
curtin_log.1438[1688]: modprobe: FATAL: Module bcache not found in directory /lib/modules/4.15.0-47-generic
curtin_log.1438[1688]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: FAIL: removing previous storage devices
curtin_log.1438[1688]: TIMED BLOCK_META: 0.323
curtin_log.1438[1688]: finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta
curtin_log.1438[1688]: Traceback (most recent call last):
curtin_log.1438[1688]: File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/main.py", line 201, in main
curtin_log.1438[1688]: ret = args.func(args)
curtin_log.1438[1688]: File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/log.py", line 97, in wrapper
curtin_log.1438[1688]: return log_time("TIMED %s: " % msg, func, *args, **kwargs)
curtin_log.1438[1688]: File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/log.py", line 79, in log_time
curtin_log.1438[1688]: return func(*args, **kwargs)
curtin_log.1438[1688]: File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 74, in block_meta
curtin_log.1438[1688]: meta_clear(devices, state.get('report_stack_prefix', ''))
curtin_log.1438[1688]: File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/commands/block_meta.py", line 1555, in meta_clear
curtin_log.1438[1688]: clear_holders.start_clear_holders_deps()
curtin_log.1438[1688]: File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/block/clear_holders.py", line 638, in start_clear_holders_deps
curtin_log.1438[1688]: util.load_kernel_module('bcache')
curtin_log.1438[1688]: File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/util.py", line 330, in load_kernel_module
curtin_log.1438[1688]: subp(['modprobe', '--use-blacklist', module])
curtin_log.1438[1688]: File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/util.py", line 266, in subp
curtin_log.1438[1688]: return _subp(*args, **kwargs)
curtin_log.1438[1688]: File "/snap/subiquity/664/lib/python3.6/site-packages/curtin/util.py", line 132, in _subp
curtin_log.1438[1688]: cmd=args)
curtin_log.1438[1688]: curtin.util.ProcessExecutionError: Unexpected error while running command.
curtin_log.1438[1688]: Command: ['modprobe', '--use-blacklist', 'bcache']
curtin_log.1438[1688]: Exit code: 1

no longer affects: curtin
Changed in livecd-rootfs (Ubuntu):
importance: Undecided → Critical
Dimitri John Ledkov (xnox) wrote :

I think, tomorrow's daily will be fixed, but we shall see.

Changed in livecd-rootfs (Ubuntu):
status: New → Fix Committed
assignee: nobody → Dimitri John Ledkov (xnox)
Michael Hudson-Doyle (mwhudson) wrote :

We built new disco images and they passed testing (and local smoke testing). Bionic is still broken though.

Changed in livecd-rootfs (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers