Go back to how Mirror::group_get_info() worked before BZ 2357422. After investigation by Ramana, it was determined that the concern that originally prompted the change in question can be addressed with a fixup limited to Mirror::image_get_mode(). The behavior of other APIs can be preserved.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2025:9775