]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
handler: update ganesha.pid path
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 5 Jul 2022 14:00:59 +0000 (16:00 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 5 Jul 2022 19:10:50 +0000 (21:10 +0200)
Due to some changes [1] in nfs-ganesha-4, we now have to use `/var/run/ganesha/ganesha.pid`

[1] https://github.com/nfs-ganesha/nfs-ganesha/commit/52e15c30d0997c63b72a7187e4271d911609ec13

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-handler/templates/restart_nfs_daemon.sh.j2

index b8510bd98ac84dfa3608fedbbf7d1ff2c1aed27c..c1571baa4284ebd453e9766435dc46bd71ac9ab2 100644 (file)
@@ -3,7 +3,7 @@
 RETRIES="{{ handler_health_nfs_check_retries }}"
 DELAY="{{ handler_health_nfs_check_delay }}"
 NFS_NAME="ceph-nfs@{{ ceph_nfs_service_suffix | default(ansible_facts['hostname']) }}"
-PID=/var/run/ganesha.pid
+PID=/var/run/ganesha/ganesha.pid
 {% if containerized_deployment | bool %}
 DOCKER_EXEC="{{ container_binary }} exec ceph-nfs-{{ ceph_nfs_service_suffix | default(ansible_facts['hostname']) }}"
 {% endif %}