librbd-based clients can now set the 'rbd_read_from_replica_policy' configuration option to "default" (i.e. read from the PG's primary OSD), "balance" (send the read to a random OSD), or "localize" (send to the closest OSD as defined by the CRUSH map and the librbd client's "crush_location" config option). The RBD configuration option can be set globally, per-pool, or per-image. The "crush_location" option should be set via "ceph.conf" on a per-node basis. This feature is useful for stretch clusters where the PG's primary OSD might be across a higher-cost link as compared to other OSDs in the PG.
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.
This feature is also very useful for OCS in public clouds such as AWS, where by default OCS PGs are spread across "availability zones" (AZs) with higher latency between AZs than within them.
Feature is working as expected, hence moving this bug to verified state.
LGTM Ilya , I just added the `previously...` before `With this rel` to follow our doc standards.
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 (Red Hat Ceph Storage 5.0 bug fix and enhancement), 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/RHBA-2021:3294