ceph-mon: increase timeout waiting for admin and bootstrap keys

With a large and/or busy cluster, it can take significantly more than
30s for a restarted monitor to get to the point where
`ceph-create-keys` returns successfully. A recent upgrade of our
production cluster failed here because it took a couple of minutes for
the newly-upgraded `mon` to be ready. So increase the timeout
significantly.

This patch is applied to stable-3.2, because the affected code is
refactored in stable-4.0 and ceph-create-keys is no longer called.

Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
pull/3901/head
Matthew Vernon 2019-04-12 16:36:12 +01:00 committed by mergify[bot]
parent f3785ef7dd
commit 1556d802ff
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
---
- name: collect admin and bootstrap keys
command: ceph-create-keys --cluster {{ cluster }} -i {{ monitor_name }} -t 30
command: ceph-create-keys --cluster {{ cluster }} -i {{ monitor_name }} -t 600
changed_when: false
check_mode: no
when: