charm-ceph-mon/unit_tests
Luciano Lo Giudice 1a41aa24ce Fix ceph-mon upgrade path
This PR makes some small changes in the upgrade path logic by
providing a fallback method of fetching the current ceph-mon
version and adding additional checks to see if the upgrade can
be done in a sane way.

Closes-Bug: #2024253
Change-Id: I1ca4316aaf4f0b855a12aa582a8188c88e926fa6
2023-07-06 16:59:37 -03:00
..
__init__.py First rewrite of ceph-mon with operator framework 2022-08-19 19:00:56 -03:00
ceph_crit.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_crit_luminous.json Update Nagios check for Luminous 2018-05-01 10:29:37 +12: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.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_noout.json Change noout to be a CRITICAL alert instead of WARNING. 2021-09-07 14:34:33 -06:00
ceph_noout_luminous.json Change noout to be a CRITICAL alert instead of WARNING. 2021-09-07 14:34:33 -06:00
ceph_ok.json Update ceph nagios plugin 2017-11-07 13:34:27 +13:00
ceph_ok_luminous.json Update Nagios check for Luminous 2018-05-01 10:29:37 +12: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
helpers.py Fix: make ceph_metrics test more robust 2022-09-29 15:14:41 +02:00
manage_test_relations.py Add operator-native ceph-client library 2022-10-07 13:05:53 -04:00
test_action_change_osd_weight.py Rewrite the 'change-osd-weight' to use the op framework 2022-09-08 12:28:17 -03: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 Revert "Create NRPE check to verify ceph daemons versions" 2023-02-01 12:31:16 +09:00
test_ceph_actions.py Rewrite the get-erasure-profile action with the ops framework 2022-10-26 11:28:42 +02:00
test_ceph_client_interface.py Adds operator-native mds provides library 2022-10-25 11:22:46 +02:00
test_ceph_hooks.py Ensure broker requests are re-processed on upgrade-charm 2023-06-29 19:58:49 -03:00
test_ceph_mds_relation.py Adds operator-native mds provides library 2022-10-25 11:22:46 +02:00
test_ceph_metrics.py Rewrite update status machinery with the ops framework 2022-10-06 17:22:40 +02: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_shared.py Rewrite update status machinery with the ops framework 2022-10-06 17:22:40 +02:00
test_ceph_status.py Rewrite update status machinery with the ops framework 2022-10-06 17:22:40 +02:00
test_ceph_utils.py Add support for prometheus-k8s 2022-09-06 10:14:37 +02:00
test_charm.py Fix persistent config file not update bug 2023-05-23 09:51:53 +08:00
test_check_ceph_osd_count.py Add nagios check for expected number of OSDs 2022-10-05 13:02:54 +00:00
test_check_ceph_status.py Revert "Create NRPE check to verify ceph daemons versions" 2023-02-01 12:31:16 +09:00
test_upgrade.py Fix ceph-mon upgrade path 2023-07-06 16:59:37 -03:00
test_utils.py Rewrite the 'change-osd-weight' to use the op framework 2022-09-08 12:28:17 -03:00