mirror of https://github.com/ceph/ceph-ansible.git
fabaec6351
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
|
||
---|---|---|
.. | ||
check_running_cluster.yml | ||
check_running_containers.yml | ||
check_socket_non_container.yml | ||
handler_crash.yml | ||
handler_mdss.yml | ||
handler_mgrs.yml | ||
handler_mons.yml | ||
handler_nfss.yml | ||
handler_osds.yml | ||
handler_rbd_target_api_gw.yml | ||
handler_rbdmirrors.yml | ||
handler_rgws.yml | ||
handler_tcmu_runner.yml | ||
main.yml |