OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.23k stars 479 forks source link

Few LUKS-related issues #6467

Closed OpenNebulaSupport closed 8 months ago

OpenNebulaSupport commented 8 months ago

Description Few issues: 1) There are two LUKS-related attributes mentioned in oned.conf:

$ grep -i luks /etc/one/oned.conf
IMAGE_ENCRYPTED_ATTR = "LUKS_PASSWORD"
INHERIT_IMAGE_ATTR      = "LUKS_SECRET"

but only LUKS_SECRET is used in the OpenNebula code. It looks like LUKS_PASSWORD should be removed from the oned.conf file.

2) A value for LUKS_SECRET is UUID registered in libvirtd on the hypervisor nodes but not secret itself which is confusing. Shouldn't LUKS_SECRET be renamed into LUKS_UUID?

3) There is no LUKS_SECRET attribute description in the OpenNebula documentations.

Details

Progress Status

mkutouski commented 8 months ago

It looks like LUKS_PASSWORD will be needed for implementing that feature.