Description of problem:[RBD] - RBD info command do not list the Image encryption information or enablement info either for parent or clone images- We do not have any commands verify if the feature is added or loaded to check for the images with encryption Version-Release number of selected component (if applicable): ceph version ceph version 17.2.5-58.el9cp (16442de8e6d5a0e3579858f2df1407d21043bc4b) quincy (stable) How reproducible: Steps to Reproduce: 1)Create RBD image1 2)Apply encryption format LUKS1/LUKS2 to the RBD image1 [root@magna021 ubuntu]# rbd encryption format mypool/myimage6 luks2 passphrase.bin 3) once successful adding encryption and look for the details -Check the rbd info mypool/myimage command and look for encryption format details or info related to it Actual results: We do not have such any info present for the users to know if the images are encrypted or any details related to that anywhere for this feature We do not have any commands verify if the feature is added or loaded to check for the images with encryption Expected results: We should have the RBD info command to show the info related to encryption enablement or any command to display the info or list of encrypted images to help users to identify encrypted and non -encrypted images RBD info output: [root@magna021 ubuntu]# rbd info mypool/myimage2 rbd image 'myimage2': size 10 GiB in 2560 objects order 22 (4 MiB objects) snapshot_count: 1 id: af1ec1d64132 block_name_prefix: rbd_data.af1ec1d64132 format: 2 features: layering, exclusive-lock, object-map, fast-diff, deep-flatten op_features: flags: create_timestamp: Wed Jan 11 06:20:41 2023 access_timestamp: Wed Jan 11 06:20:41 2023 modify_timestamp: Wed Jan 11 06:20:41 2023 [root@magna021 ubuntu]# rbd info mypool/myclone2 rbd image 'myclone2': size 10 GiB in 2560 objects order 22 (4 MiB objects) snapshot_count: 0 id: b3a1869a6dee block_name_prefix: rbd_data.b3a1869a6dee format: 2 features: layering, exclusive-lock, object-map, fast-diff, deep-flatten op_features: flags: create_timestamp: Tue Jan 17 05:30:57 2023 access_timestamp: Tue Jan 17 05:30:57 2023 modify_timestamp: Tue Jan 17 05:36:12 2023 parent: mypool/myimage2@snap2 overlap: 10 GiB Additional info:
@IIya, We dont have any option to check or confirm if the image is encrypted for the users. Can we have this in 6.1