ceph-ansible/roles/ceph-handler/tasks
Dimitri Savineau 733596582d ceph-handler: set handler on xxx_stat result
In non containerized deployment we check if the service is running
via the socket file presence.
This is done via the xxx_socket_stat variable that check the file
socket in the /var/run/ceph/ directory.
In some scenarios, we could have the socket file still present in
that directory but not used by any process.
That's why we have the xxx_stat variable which clean those leftovers.

The problem here is that we're set the variable for the handlers status
(like handler_mon_status) based on xxx_socket_stat instead of xxx_stat.
That means we will trigger the handlers if there's an old socket file
present on the system without any process associated.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1866834

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2020-09-29 07:32:10 +02:00
..
check_running_cluster.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
check_running_containers.yml ceph-handler: add missing condition on ceph-crash 2020-07-21 23:26:11 +02:00
check_socket_non_container.yml ceph-handler: add missing condition on ceph-crash 2020-07-21 23:26:11 +02:00
handler_crash.yml ceph-crash: introduce new role ceph-crash 2020-07-21 20:22:12 +02:00
handler_mdss.yml Use a tempfile directory to store restart scripts 2020-04-06 22:55:51 +02:00
handler_mgrs.yml Use a tempfile directory to store restart scripts 2020-04-06 22:55:51 +02:00
handler_mons.yml Use a tempfile directory to store restart scripts 2020-04-06 22:55:51 +02:00
handler_nfss.yml Use a tempfile directory to store restart scripts 2020-04-06 22:55:51 +02:00
handler_osds.yml Use a tempfile directory to store restart scripts 2020-04-06 22:55:51 +02:00
handler_rbd_target_api_gw.yml ceph-handler: remove iscsigws restart scripts 2020-07-23 17:02:12 +02:00
handler_rbdmirrors.yml Use a tempfile directory to store restart scripts 2020-04-06 22:55:51 +02:00
handler_rgws.yml Use a tempfile directory to store restart scripts 2020-04-06 22:55:51 +02:00
handler_tcmu_runner.yml ceph-handler: remove iscsigws restart scripts 2020-07-23 17:02:12 +02:00
main.yml ceph-handler: set handler on xxx_stat result 2020-09-29 07:32:10 +02:00