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.
Reviewed: https:/ /review. opendev. org/c/openstack /charm- ceph-mon/ +/831001 /opendev. org/openstack/ charm-ceph- mon/commit/ a1cffc669322a2f e1c709e09a717ff 9f78ab5680
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit a1cffc669322a2f e1c709e09a717ff 9f78ab5680
Author: Connor Chamberlain <email address hidden>
Date: Fri Feb 25 08:33:10 2022 -0700
Added safe-pg-repair action
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 67414e3d0d9b57f 4042d301830
Change-Id: I903dfe02aa3b7c