feat(config): enable device-mapper so hcloud CSI volumes can detach #45
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/defconfig-device-mapper"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Hetzner CSI driver cannot detach a volume on this kernel, so no hcloud volume can ever move between nodes. This blocks moving any workload off Mayastor.
LinuxMountService.Unpublishcallscryptsetup statuson every NodeUnpublishVolume to test for LUKS. With no device-mapper, cryptsetup cannot open/dev/mapper/control, exits 1 instead of 4, and unpublish fails forever. The kubelet keeps the volume innode.status.volumesInUse, the VolumeAttachment is never removed, and a pod scheduled elsewhere sits in Multi-Attach forever. Reproduced on 2026-09-03: a 10Gi volume attached, formatted ext4 and wrote at 233 MB/s on one node, then could not move to a second.BLK_DEV_DMis insideif MD, soMDmust be set too, and both are tristate so they must be=yunderCONFIG_MODULES=n.DM_CRYPTis not needed for the detach fix; it rides along so encrypted Hetzner volumes remain possible without a second fleet reboot.arm64 already listed
BLK_DEV_DM,DM_MIRRORandDM_ZEROwith noMD, so kconfig dropped all of them. That is repaired here for consistency; no arm64 node exists.https://claude.ai/code/session_01MdSbMhzabSbpG8TtP9Ur3H