harvester / harvester

Open source hyperconverged infrastructure (HCI) software
https://harvesterhci.io/
Apache License 2.0
3.82k stars 321 forks source link

[BUG] dm_crypt not loaded in aarch64 image #6827

Closed abonillabeeche closed 14 hours ago

abonillabeeche commented 6 days ago

Describe the bug dm_crypt not enabled on ARM image

To Reproduce

    Last Transition Time:  2024-10-17T23:30:32Z
    Message:               Kernel modules [dm_crypt] are not loaded on node altra
    Reason:                KernelModulesNotLoaded
    Status:                False
    Type:                  KernelModulesLoaded

Expected behavior

altra:~ # lsmod | grep crypt
crypto_simd            24576  1 aes_neon_blk
cryptd                 28672  1 crypto_simd
altra:~ # modprobe dm_crypt
altra:~ # lsmod | grep crypt
dm_crypt               57344  0
dm_mod                167936  4 dm_crypt,dm_multipath,dm_log,dm_mirror
crypto_simd            24576  1 aes_neon_blk
cryptd                 28672  1 crypto_simd

Environment

harvesterhci-io-github-bot commented 2 days ago

Pre Ready-For-Testing Checklist

harvesterhci-io-github-bot commented 2 days ago

Automation e2e test issue: harvester/tests#1619

ibrokethecloud commented 23 hours ago

To test:

bk201 commented 14 hours ago

I can verify this is done in both x86 and arm64 OS.

arm-vm:~ # cat /etc/os-release
NAME="SLE Micro"
VERSION="5.5"
VERSION_ID="5.5"
PRETTY_NAME="Harvester v1.4.0-rc4"
ID="sle-micro-rancher"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sle-micro-rancher:5.5"
IMAGE_REPO="registry.suse.com/suse/sle-micro/base-5.5"
IMAGE_TAG="2.0.4-5.8.105"
IMAGE="registry.suse.com/suse/sle-micro/base-5.5:2.0.4-5.8.105"
TIMESTAMP=20241018124821
GRUB_ENTRY_NAME="SLE Micro"
VARIANT="Harvester"
VARIANT_ID="Harvester-v1.4-20241023"
GRUB_ENTRY_NAME="Harvester v1.4.0-rc4"
arm-vm:~ # uname -m
aarch64
arm-vm:~ # lsmod | grep crypt
dm_crypt               57344  0
dm_mod                167936  4 dm_crypt,dm_multipath,dm_log,dm_mirror
crypto_simd            24576  1 aes_neon_blk
cryptd                 28672  1 crypto_simd