diff options
author | Michael Fritch <mfritch@suse.com> | 2020-04-27 23:11:49 +0200 |
---|---|---|
committer | Michael Fritch <mfritch@suse.com> | 2020-04-28 00:08:10 +0200 |
commit | c60ec03e47a596f9732f79e7c008f707f822cf4c (patch) | |
tree | d215dd7a79e7ead1cb152dbb3276cb1eebc2e34a | |
parent | Merge pull request #34705 from bk201/wip-45149 (diff) | |
download | ceph-c60ec03e47a596f9732f79e7c008f707f822cf4c.tar.xz ceph-c60ec03e47a596f9732f79e7c008f707f822cf4c.zip |
qa/workunits/cephadm/test_cephadm.sh: wait longer for monitoring stack
Give the monitoring stack (node-exporter, prom, grafana) a few more
retries to become available before giving up
Signed-off-by: Michael Fritch <mfritch@suse.com>
-rwxr-xr-x | qa/workunits/cephadm/test_cephadm.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/workunits/cephadm/test_cephadm.sh b/qa/workunits/cephadm/test_cephadm.sh index cf9e2cb17ca..dd6a77f3ca8 100755 --- a/qa/workunits/cephadm/test_cephadm.sh +++ b/qa/workunits/cephadm/test_cephadm.sh @@ -334,21 +334,21 @@ done ${CEPHADM//--image $IMAGE_MASTER/} deploy \ --name node-exporter.a --fsid $FSID cond="curl 'http://localhost:9100' | grep -q 'Node Exporter'" -is_available "node-exporter" "$cond" 5 +is_available "node-exporter" "$cond" 10 # add prometheus cat ${CEPHADM_SAMPLES_DIR}/prometheus.json | \ ${CEPHADM//--image $IMAGE_MASTER/} deploy \ --name prometheus.a --fsid $FSID --config-json - cond="curl 'localhost:9095/api/v1/query?query=up'" -is_available "prometheus" "$cond" 5 +is_available "prometheus" "$cond" 10 # add grafana cat ${CEPHADM_SAMPLES_DIR}/grafana.json | \ ${CEPHADM//--image $IMAGE_MASTER/} deploy \ --name grafana.a --fsid $FSID --config-json - cond="curl --insecure 'https://localhost:3000' | grep -q 'grafana'" -is_available "grafana" "$cond" 30 +is_available "grafana" "$cond" 50 # add nfs-ganesha nfs_stop |