ceph-ansible/roles/ceph-mon/tasks
Dimitri Savineau 6294244c4f 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>
(cherry picked from commit 733596582d)
2020-09-29 09:23:45 -04:00
..
ceph_keys.yml mon: call mon_status from asok 2019-10-24 10:19:16 -04:00
deploy_monitors.yml ceph_key: set state as optional 2020-09-14 15:37:56 -04:00
main.yml ceph-handler: set handler on xxx_stat result 2020-09-29 09:23:45 -04:00
secure_cluster.yml rename docker_exec_cmd variable 2019-05-16 16:39:13 +02:00
start_monitor.yml container: isolate systemd tasks 2019-10-01 10:27:51 -04:00
systemd.yml container: isolate systemd tasks 2019-10-01 10:27:51 -04:00