How to Enable LUKS Encryption for Cinder Volumes?
Problem
Environment
Procedure
$ openstack service list | grep barbican | [service-uuid] | barbican | key-manager |$ openstack secret store \ --name luks-key \ --payload-content-type 'application/octet-stream' \ --payload-content-encoding base64 \ --payload "$(openssl rand -base64 32)" ## Sample Output +---------------+------------------------------------------------------+ | Field | Value | +---------------+------------------------------------------------------+ | Secret href | https://[PCD_FQDN]/barbican/v1/secrets/[secret-id] | | Name | luks-key | | Created | None | | Status | None | | Content types | {'default': 'application/octet-stream'} | | Algorithm | aes | | Bit length | 256 | | Secret type | opaque | | Mode | cbc | | Expiration | None | +---------------+------------------------------------------------------+$ openstack volume type create luks-encrypted +-------------+--------------------------------------+ | Field | Value | +-------------+--------------------------------------+ | description | None | | id | [Volume-Type-Id] | | is_public | True | | name | luks-encrypted | +-------------+--------------------------------------+
PreviousCinder Driver Fails to Decrypt Storage Passwords set via BlueprintNextVolume Services Flapping Due to EADDRINUSE in pf9-comms Service
Last updated
