Open mseralessandri opened 5 days ago
Having a look at this :)
dm-crypt
is known to be missing from the linux-image-kvm
kernel which is 22.04 specific. On 24.04 kernels or on other 22.04 kernel flavor it's not an issue as the module is more readily available. With 22.04 switching to the linux-image-virtual
kernel should fix it.
Getting access to dm-crypt
was the reason why in MicroCloud's CI switched to 24.04: https://github.com/canonical/microcloud/commit/cdc23b5ddb240ab09ea3e2c9a050492caf512c4a
The question is why it hangs rather than error out though
The question is why it hangs rather than error out though
Right, I hadn't read the full issue description :/
microcloud init
hangs onConfiguring cluster-wide devices ...
when Ceph encryption is selected on Ubuntu 22.04. Encryption requires a kernel withdm_crypt
enabled which is not available on Ubuntu 22.04. The required steps are detailed in the MicroCloud doc.However
microcloud init
should not hang and should exit with an error.OS Version:
Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-119-generic x86_64)
Snap versions:How to reproduce: I tried with a single node MicroCloud configuration selecting
yes
toDo you want to encrypt the selected disks? (yes/no) [default=no]: