charm-ceph-mon/unit_tests
Hemanth Nakkina 7bf9c879a0 optimizations to reduce charm upgrade time
charm upgrades takes longer time for ceph-mon to get into idle state
when there are more number of OSDs and ceph clients whenever there
is change in osd-relation data.
In these cases osd_relation triggers notify_client() that takes
significant amount of time as the client_relation() is executed for
every related unit on each client relation. Some of the function
calls and ceph commands can be reduced to be executed for every
relation or once per notify_client instead of executing them for
every related unit.

ceph.get_named_key() is currently executed for every related unit
and also each execution takes longer time as it is supposed to run
minimum of 2 ceph commands. This patch tries to reduce the number
of calls for ceph.get_named_key to once per relation.

Partial-Bug: #1913992
Change-Id: Ic455cd7c4876efafee221bc6e7a5ec61fee5643f
2021-04-03 17:22:45 +00:00
..
__init__.py Add get-health action to the Ceph mon charm 2018-03-22 18:41:02 +11: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_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
test_action_change_osd_weight.py Add actions to reweight and remove OSDs. 2020-10-22 09:42:11 +13:00
test_action_purge_osd.py Add actions to reweight and remove OSDs. 2020-10-22 09:42:11 +13:00
test_actions_mon.py Add get-health action to the Ceph mon charm 2018-03-22 18:41:02 +11:00
test_ceph_actions.py action: Misc tidyup and improvements 2019-02-19 14:54:41 +00:00
test_ceph_hooks.py optimizations to reduce charm upgrade time 2021-04-03 17:22:45 +00: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 BlueStore Compression support 2020-08-26 15:33:27 +02:00
test_ceph_utils.py Add support for Ceph's prometheus monitoring 2020-04-08 13:41:08 +00:00
test_check_ceph_status.py Creates nrpe check for number of OSDs 2019-05-03 10:02:31 +02:00
test_status.py Support ceph client over CMRs 2020-10-01 12:27:01 +00:00
test_upgrade.py Update cloud-archive.list when upgrading from Pike to Queens 2019-01-25 18:13:02 -03:00
test_utils.py Update cloud-archive.list when upgrading from Pike to Queens 2019-01-25 18:13:02 -03:00