Missing linux-modules-extra
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-sysconfig |
Fix Released
|
Medium
|
Unassigned |
Bug Description
# Expected behaviour
When configuring a target kernel version we want to install the corresponding linux-image but also linux-modules-extra
# Actual behaviour
If the configured kernel is already active we do not get linux-modules-extra
# Steps to repro
* Bring up a machine
* Install linux-image-X.Y and ensure linux-modules-
* Add a sysconfig unit
* Configure a desired kernel version X.Y on the charm
* Observe: we don't get linux-modules-extra
# Details
When configuring a target kernel version the charm checks if this work is actually necessary (to possibly save a reboot). However this checks the running kernel, so if the kernel is already at the target version we also skip the extra modules install.
I'd propose to split out a check for linux-modules-extra and install that in any case.
Related branches
- Drew Freiberger (community): Approve
- 🤖 prod-jenkaas-bootstack (community): Approve (continuous-integration)
- Paul Goins: Approve
-
Diff: 188 lines (+42/-34)2 files modifiedsrc/lib/lib_sysconfig.py (+21/-23)
src/tests/unit/test_lib.py (+21/-11)
Changed in charm-sysconfig: | |
importance: | Undecided → Medium |
Changed in charm-sysconfig: | |
status: | New → In Progress |
Changed in charm-sysconfig: | |
status: | In Progress → Fix Released |
milestone: | none → 21.10 |