ceph-ansible/roles/ceph-handler/templates
Dimitri Savineau 60cbfdc2a6 ceph-handler: Use /proc/net/unix for rgw socket
If for some reason, there's an old rgw socket file present in the
/var/run/ceph/ directory then the test command could fail with

test: xxxxxxxxx.asok: binary operator expected

$ ls -hl /var/run/ceph/
total 0
srwxr-xr-x. ceph-client.rgw.rgw0.rgw0.68.94153614631472.asok
srwxr-xr-x. ceph-client.rgw.rgw0.rgw0.68.94240997655088.asok

We can check the radosgw socket in /proc/net/unix to avoid using wildcard
in the socket name.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2019-11-07 14:41:11 +01:00
..
restart_mds_daemon.sh.j2 Add new container scenario 2018-11-27 16:47:40 +00:00
restart_mgr_daemon.sh.j2 Add new container scenario 2018-11-27 16:47:40 +00:00
restart_mon_daemon.sh.j2 common: use discovered_interpreter_python fact 2019-08-14 16:42:02 +02:00
restart_nfs_daemon.sh.j2 Look for additional names when checking ceph-nfs container status 2019-09-09 15:27:37 -04:00
restart_osd_daemon.sh.j2 common: use discovered_interpreter_python fact 2019-08-14 16:42:02 +02:00
restart_rbd_mirror_daemon.sh.j2 Add new container scenario 2018-11-27 16:47:40 +00:00
restart_rbd_target_api.sh.j2 add ceph-handler role 2018-09-28 15:15:49 +00:00
restart_rbd_target_gw.sh.j2 add ceph-handler role 2018-09-28 15:15:49 +00:00
restart_rgw_daemon.sh.j2 ceph-handler: Use /proc/net/unix for rgw socket 2019-11-07 14:41:11 +01:00
restart_tcmu_runner.sh.j2 add ceph-handler role 2018-09-28 15:15:49 +00:00