mirror of https://github.com/ceph/ceph-ansible.git
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
parent
f3785ef7dd
commit
1556d802ff
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: collect admin and bootstrap keys
|
- 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
|
changed_when: false
|
||||||
check_mode: no
|
check_mode: no
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue