GitHub user marving123 added a comment to the discussion: Volume encryption not working as expected with KVM + CLVM_NG in CloudStack 4.23
Hi @midhunpjos, I had a look at the CloudStack 4.23 code. This seems more like an issue with **CLVM_NG** encryption support. In ClvmStorageAdaptor.java, the disk creation methods don't appear to pass the encryption passphrase to the actual QCOW2 creation process. That might explain why the root disk gets created without encryption, while the data disk fails because libvirt expects a LUKS header that isn't there. Can you check the affected volume using **qemu-img info** on the KVM host and confirm whether encryption is reported? Please use it for inspection only, without modifying the volume.. There's also a similar issue reported in [[#14663](https://github.com/apache/cloudstack/issues/14663)](https://github.com/apache/cloudstack/issues/14663), although that involves a different storage type. If the image is confirmed unencrypted, I'd suggest opening a CLVM_NG-specific bug report. This looks like something that may need a code fix rather than a configuration change. Marvin AccuwebCloud GitHub link: https://github.com/apache/cloudstack/discussions/14888#discussioncomment-19952258 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
