ceph-ansible/roles
Dimitri Savineau 94cdef2757 ceph-handler: Fix rgw socket in restart script
If the SOCKET variable isn't defined in the script then the test
command won't fail because the return code is 0

$ test -S
$ echo $?
0

There multiple issues in that script:
  - The default SOCKET value isn't defined.
  - Update the wget parameters because the command is doing a loop.
We now use the same option than curl.
  - The check_rest function doesn't test the radosgw at all due to
a wrong test command (test against a string) and always returns 0.
This needs to use the DOCKER_EXEC variable in order to execute the
command.

$ test 'wget http://192.168.100.11:8080'
$ echo $?
0

Resolves: #3926

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit c90f605b51)
2019-07-08 10:38:35 -04:00
..
ceph-agent remove ceph-agent role and references 2019-06-17 14:42:08 -04:00
ceph-client remove all NBSPs char in stable-3.2 branch 2019-04-10 13:27:48 +02:00
ceph-common remove all NBSPs char in stable-3.2 branch 2019-04-10 13:27:48 +02:00
ceph-common-coreos don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
ceph-config tests: Update ansible ssh_args variable 2019-06-17 12:02:36 -04:00
ceph-defaults ceph-infra: make chronyd default NTP daemon 2019-06-18 10:46:34 +02:00
ceph-docker-common validate: change default value for `radosgw_address` 2018-11-28 23:54:06 +01:00
ceph-facts ceph-infra: make chronyd default NTP daemon 2019-06-18 10:46:34 +02:00
ceph-fetch-keys ceph-fetch-keys: refact 2018-10-17 11:26:11 +00:00
ceph-handler ceph-handler: Fix rgw socket in restart script 2019-07-08 10:38:35 -04:00
ceph-infra ceph-infra: make chronyd default NTP daemon 2019-06-18 10:46:34 +02:00
ceph-iscsi-gw iscsi: assign application (rbd) to pool 'rbd' 2019-06-13 14:43:25 +02:00
ceph-mds update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-mgr update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-mon update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-nfs ceph-nfs: use template module for configuration 2019-06-24 20:47:25 +02:00
ceph-osd ceph-disk: Set max open files limit on container 2019-06-24 10:06:11 +02:00
ceph-rbd-mirror update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-restapi Change docker_container parameter network to network_mode 2019-03-18 13:23:10 +00:00
ceph-rgw update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-validate/tasks don't install NTPd on Atomic 2019-06-18 10:46:34 +02:00
ceph.ceph-common rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
ceph.ceph-docker-common ceph-docker-common: add symlink to ceph.ceph-docker-common 2017-01-16 10:42:42 -06:00