Skip to main content

Piraeus CSI

Versions Supported​

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.

  1. Ensure that you include kernel headers that match the Palette or Palette VerteX host kernel version in the container image used by the drbd-loader init container.

    For Palette deployments, add the following line to the Dockerfile or build configuration of the drbd-loader image.

    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-loader image.

    kernel=$(ls /lib/modules/ | grep fips | head -1)
    apt-get update && apt-get install --assume-yes linux-headers-${kernel}
  2. 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_modules to 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.

ValueDescriptionRequirements
shipped_modules (Default)Installs prebuilt, presigned DRBD .deb packages from the container image.Compatible with Secure Boot.
compileBuilds 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.
warning

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.