diff --git a/roles/ceph-handler/templates/restart_mds_daemon.sh.j2 b/roles/ceph-handler/templates/restart_mds_daemon.sh.j2 index f265546f9..db817e6d8 100644 --- a/roles/ceph-handler/templates/restart_mds_daemon.sh.j2 +++ b/roles/ceph-handler/templates/restart_mds_daemon.sh.j2 @@ -14,7 +14,6 @@ $DOCKER_EXEC test -S /var/run/ceph/{{ cluster }}-mds.{{ ansible_hostname }}.asok # First, restart the daemon systemctl restart ceph-mds@${MDS_NAME} -COUNT=10 # Wait and ensure the socket exists after restarting the daemds while [ $RETRIES -ne 0 ]; do $DOCKER_EXEC test -S $SOCKET && exit 0 diff --git a/roles/ceph-handler/templates/restart_mgr_daemon.sh.j2 b/roles/ceph-handler/templates/restart_mgr_daemon.sh.j2 index 2b06a04af..d9dc72801 100644 --- a/roles/ceph-handler/templates/restart_mgr_daemon.sh.j2 +++ b/roles/ceph-handler/templates/restart_mgr_daemon.sh.j2 @@ -15,7 +15,6 @@ systemctl reset-failed ceph-mgr@${MGR_NAME} # First, restart the daemon systemctl restart ceph-mgr@${MGR_NAME} -COUNT=10 # Wait and ensure the socket exists after restarting the daemds while [ $RETRIES -ne 0 ]; do $DOCKER_EXEC test -S $SOCKET && exit 0 diff --git a/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 b/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 index 5828e1ac6..628b05fe4 100644 --- a/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 +++ b/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 @@ -11,7 +11,6 @@ DOCKER_EXEC="docker exec ceph-nfs-{{ ansible_hostname }}" # First, restart the daemon {% if containerized_deployment -%} systemctl restart $NFS_NAME -COUNT=10 # Wait and ensure the pid exists after restarting the daemon while [ $RETRIES -ne 0 ]; do $DOCKER_EXEC test -f $PID && exit 0 diff --git a/roles/ceph-handler/templates/restart_rbd_mirror_daemon.sh.j2 b/roles/ceph-handler/templates/restart_rbd_mirror_daemon.sh.j2 index 44d019bfe..52113b660 100644 --- a/roles/ceph-handler/templates/restart_rbd_mirror_daemon.sh.j2 +++ b/roles/ceph-handler/templates/restart_rbd_mirror_daemon.sh.j2 @@ -14,7 +14,6 @@ $DOCKER_EXEC test -S /var/run/ceph/{{ cluster }}-client.rbd-mirror.{{ ansible_ho # First, restart the daemon systemctl restart ceph-rbd-mirror@rbd-mirror.${RBD_MIRROR_NAME} -COUNT=10 # Wait and ensure the socket exists after restarting the daemon while [ $RETRIES -ne 0 ]; do $DOCKER_EXEC test -S $SOCKET && exit 0