mirror of https://github.com/ceph/ceph-ansible.git
0dbca448d1
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>
(cherry picked from commit
|
||
---|---|---|
.. | ||
restart_mds_daemon.sh.j2 | ||
restart_mgr_daemon.sh.j2 | ||
restart_mon_daemon.sh.j2 | ||
restart_nfs_daemon.sh.j2 | ||
restart_osd_daemon.sh.j2 | ||
restart_rbd_mirror_daemon.sh.j2 | ||
restart_rbd_target_api.sh.j2 | ||
restart_rbd_target_gw.sh.j2 | ||
restart_rgw_daemon.sh.j2 | ||
restart_tcmu_runner.sh.j2 |