charm-ceph-mon/unit_tests
Connor Chamberlain a1cffc6693 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
Change-Id: I903dfe02aa3b7c67414e3d0d9b57f4042d301830
2022-06-23 18:18:35 +08:00
..
__init__.py Add get-health action to the Ceph mon charm 2018-03-22 18:41:02 +11:00
ceph_crit_luminous.json Update Nagios check for Luminous 2018-05-01 10:29:37 +12:00
ceph_crit.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_degraded_luminous.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_error.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_many_warnings_luminous.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_nodeepscrub_luminous.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_nodeepscrub.json Don't return Critical when ceph is in warning state. 2018-11-21 16:49:14 +01:00
ceph_noout_luminous.json Change noout to be a CRITICAL alert instead of WARNING. 2021-09-07 14:34:33 -06:00
ceph_noout.json Change noout to be a CRITICAL alert instead of WARNING. 2021-09-07 14:34:33 -06:00
ceph_ok_luminous.json Update Nagios check for Luminous 2018-05-01 10:29:37 +12:00
ceph_ok.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_params.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_warn.json Creates nrpe check for number of OSDs 2019-05-03 10:02:31 +02:00
test_action_change_osd_weight.py Add list-crush-rules action 2022-03-29 17:02:12 +02:00
test_action_delete_user.py Add get-or-create-user and delete-user actions for ceph auth 2022-06-09 07:11:08 -05:00
test_action_get_or_create_user.py Add get-or-create-user and delete-user actions for ceph auth 2022-06-09 07:11:08 -05:00
test_action_list_crush_rules.py Add list-crush-rules action 2022-03-29 17:02:12 +02:00
test_action_list_inconsistent.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_action_list_pools.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_action_pg_repair.py Added safe-pg-repair action 2022-06-23 18:18:35 +08:00
test_action_purge_osd.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_actions_mon.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_ceph_actions.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_ceph_hooks.py Remove functionality for auth-supported 2022-03-22 11:30:32 +01:00
test_ceph_networking.py Add support for user-provided ceph config 2016-07-03 16:17:23 +01:00
test_ceph_ops.py Add profile-name parameter in create-pool action 2022-02-11 16:35:30 +01:00
test_ceph_utils.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_check_ceph_status.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_status.py Display information if missing OSD relation 2022-01-13 14:44:56 +10:30
test_upgrade.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00
test_utils.py Use unittest.mock instead of mock 2021-12-16 09:37:23 +00:00