Piraeus CSI
Versions Supported
- 2.8.x
For Palette or Palette VerteX deployments that use Piraeus/LINSTOR-backed storage, and where the drbd-loader init container is configured with LB_HOW=compile, the container image must include the appropriate Linux kernel headers.
The drbd-loader dynamically compiles the DRBD kernel module at runtime on the target node when LB_HOW=compile is set. This compilation process requires access to the kernel headers and related build tooling that match the running kernel on the host.
If the required kernel headers are missing or do not match the running kernel version, the module compilation fails, and the DRBD kernel module does not load.
Therefore, when using LB_HOW=compile, ensure that you follow these guidelines.
-
Ensure that you include kernel headers that match the Palette or Palette VerteX host kernel version in the container image used by the
drbd-loaderinit container.For Palette deployments, add the following line to the Dockerfile or build configuration of the
drbd-loaderimage.apt-get update && apt-get install --assume-yes linux-headers-$(uname --kernel-release)For Palette VerteX deployments, add the following line to the Dockerfile or build configuration of the
drbd-loaderimage.kernel=$(ls /lib/modules/ | grep fips | head -1)
apt-get update && apt-get install --assume-yes linux-headers-${kernel} -
Your nodes must have internet access at runtime to download the DRBD source code from the LINBIT repositories for the compilation process to succeed.
If your nodes do not have internet access, such as in airgapped environments, you need to use precompiled modules by setting
LB_HOW=shipped_modulesto use prebuilt DRBD modules instead of compiling dynamically.
DRBD Kernel Module Loading
Piraeus requires the Distributed Replicated Block Device (DRBD) kernel module on each node. The drbd-module-loader init
container in the linstor-satellite pod loads this module using the mode set by the LB_HOW environment variable in the
piraeus-operator pack. On the Palette Management Appliance and VerteX Management Appliance, you select the mode with the DRBD
Compile Mode option when you create the management cluster in Local UI. Starting with Palette and Palette VerteX
4.9.14, the following modes are available.
| Value | Description | Requirements |
|---|---|---|
shipped_modules (Default) | Installs prebuilt, presigned DRBD .deb packages from the container image. | Compatible with Secure Boot. |
compile | Builds the DRBD kernel module from source on the target node at install time using Dynamic Kernel Module Support (DKMS). | The OS image must include kernel headers that match the running kernel. Not compatible with Secure Boot. |
Do not select compile on nodes with Secure Boot enabled. Modules compiled on the node are unsigned, and the kernel
refuses to load them. This causes the drbd-module-loader init container to fail and the installation to stall.
Most deployments should keep the default value, shipped_modules. The compile mode also requires a container image
with kernel headers that match the host kernel.