Comment 8 for bug 1923218

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-mon (stable/octopus)

Reviewed: https://review.opendev.org/c/openstack/charm-ceph-mon/+/865342
Committed: https://opendev.org/openstack/charm-ceph-mon/commit/f4396f426e0c76770b5ac900fe934061d07ad62e
Submitter: "Zuul (22348)"
Branch: stable/octopus

commit f4396f426e0c76770b5ac900fe934061d07ad62e
Author: Connor Chamberlain <email address hidden>
Date: Fri Feb 25 08:33:10 2022 -0700

    Backport pg-repair action (octopus)

    This action automatically repairs inconsistent placement groups
    which are caused by read errors.

    PGs are repaired using `ceph pg repair <pgid>`.

    Action is only taken if on of a PG's shards has a "read_error",
    and no action will be taken if any additional errors are found.
    No action will be taken if multiple "read_errors" are found.

    This action is intended to be safe to run in all contexts.

    Closes-Bug: #1923218
    (cherry-picked from commit a1cffc669322a2fe1c709e09a717ff9f78ab5680)

    Change-Id: I32ed3b674211ee3e98a2d1b07bb9f5c7d29df5ca