Fix rabbitmq from failure during startup
Stagger the start times of the rabbitmq daemon so rabbitmq neither crashes and also properly forms a cluster. This problem exists in the latest rabbitmq 3.5.4 available on rabbitmq.com for download. Change-Id: Iac4186b3c3b586de38467294399c7ed9415244de Closes-Bug: #1490780
This commit is contained in:
parent
84535cf15a
commit
327d89bd38
@ -6,8 +6,6 @@
|
|||||||
- include: start.yml
|
- include: start.yml
|
||||||
|
|
||||||
- name: Sleep while cluster starts
|
- name: Sleep while cluster starts
|
||||||
command: sleep 15
|
command: sleep 5
|
||||||
changed_when: False
|
changed_when: False
|
||||||
failed_when: False
|
failed_when: False
|
||||||
|
|
||||||
- include: start.yml
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
- { role: mariadb, tags: mariadb, when: enable_mariadb | bool }
|
- { role: mariadb, tags: mariadb, when: enable_mariadb | bool }
|
||||||
|
|
||||||
- hosts: rabbitmq
|
- hosts: rabbitmq
|
||||||
|
serial: 1
|
||||||
roles:
|
roles:
|
||||||
- { role: rabbitmq, tags: rabbitmq, when: enable_rabbitmq | bool }
|
- { role: rabbitmq, tags: rabbitmq, when: enable_rabbitmq | bool }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user