Support #64709
openUnable to Determine Encryption Status of RBD Image
0%
Description
- Execute below provided commands to encrypt an RBD image.
- Use the rbd info command to inspect the properties of the encrypted RBD image.
- Observe that there is no explicit indication of whether the image is encrypted or not.
rbd create --size 1G devpool/test-img
rbd encryption format --cipher-alg aes-256 devpool/test-img luks2 /home/user/passphrase.bin
rbd info devpool/test-img
rbd image 'test-img':
size 1 GiB in 256 objects
order 22 (4 MiB objects)
snapshot_count: 0
id: 381d88190c10
block_name_prefix: rbd_data.381d88190c10
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
op_features:
flags:
create_timestamp: Mon Mar 4 15:02:12 2024
access_timestamp: Mon Mar 4 15:02:12 2024
modify_timestamp: Mon Mar 4 15:02:12 2024
I expected the output of the rbd info command to include a clear indication or flag confirming that the RBD image 'test-img' had been successfully encrypted using the AES-256 cipher algorithm. This indication would allow me to verify that the encryption process was completed as intended.
No data to display