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)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- ceph-mon/ +/865342 /opendev. org/openstack/ charm-ceph- mon/commit/ f4396f426e0c767 70b5ac900fe9340 61d07ad62e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/octopus
commit f4396f426e0c767 70b5ac900fe9340 61d07ad62e
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 e1c709e09a717ff 9f78ab5680)
(cherry-picked from commit a1cffc669322a2f
Change-Id: I32ed3b674211ee 3e98a2d1b07bb9f 5c7d29df5ca