]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: increase default retry_max value
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 3 Feb 2020 16:25:06 +0000 (17:25 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 3 Feb 2020 16:25:06 +0000 (17:25 +0100)
commitfed96416dcb691ab0df23ccdf23ddd6fc72f6158
tree9c5d707621a6a6d191a9a269008dff6bf65c8218
parentc5af4b35053f56b0e9b299bf18e5a9b658cda2b2
cephadm: increase default retry_max value

When playing with cephadm, at multiple times, I've reached the max
number of attempt in `is_available()`

Increasing the `retry_max` helps to avoid failure like following:

```
INFO:cephadm:mgr not available, waiting (1/5)...
INFO:cephadm:mgr not available, waiting (2/5)...
INFO:cephadm:mgr not available, waiting (3/5)...
INFO:cephadm:mgr not available, waiting (4/5)...
INFO:cephadm:mgr not available, waiting (5/5)...
ERROR: mgr not available after 5 tries

```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/cephadm/cephadm