Skip to content

fix(module): handle Debian usbip kernel modules#2544

Merged
universal-itengineer merged 1 commit into
mainfrom
fix/module/template-ng-usbip
Jun 26, 2026
Merged

fix(module): handle Debian usbip kernel modules#2544
universal-itengineer merged 1 commit into
mainfrom
fix/module/template-ng-usbip

Conversation

@universal-itengineer

@universal-itengineer universal-itengineer commented Jun 26, 2026

Copy link
Copy Markdown
Member

Description

Update the USB/IP kernel module installation NodeGroupConfiguration:

  • detect xz-compressed kernel modules (*.ko.xz) in addition to plain *.ko and zstd-compressed *.ko.zst modules;
  • use Debian's linux-image-${kernel_release} package for Debian hosts instead of Ubuntu-specific linux-modules-extra-${kernel_release};
  • keep linux-modules-extra-${kernel_release} for other Debian-like distributions such as Ubuntu.

Why do we need it, and what problem does it solve?

On Debian 13, USB/IP kernel modules are already provided by the kernel image package and are stored as *.ko.xz files. The previous check did not recognize this extension, so Bashible treated the modules as missing and tried to install linux-modules-extra-${kernel_release}.

Debian does not provide linux-modules-extra-* packages, so this resulted in Unable to locate package errors and repeated Bashible failures.

What is the expected result?

On Debian 13 nodes with USB/IP modules present as *.ko.xz, Bashible detects the modules and skips package installation.

If the modules are missing on Debian, Bashible tries the Debian kernel image package instead of the Ubuntu-specific linux-modules-extra-* package.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: module
type: fix
summary: Detect xz-compressed USB/IP kernel modules on Debian and avoid installing Ubuntu-specific kernel module packages.
impact_level: low

Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer added this to the v1.9.2 milestone Jun 26, 2026
@universal-itengineer universal-itengineer marked this pull request as ready for review June 26, 2026 09:55
@universal-itengineer universal-itengineer merged commit af33d4f into main Jun 26, 2026
32 of 36 checks passed
@universal-itengineer universal-itengineer deleted the fix/module/template-ng-usbip branch June 26, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants