Skip to content
Snippets Groups Projects
Commit dd9986cf authored by Vladislav Belogrudov's avatar Vladislav Belogrudov
Browse files

Rabbitmq servers fail to start due to wrong permissions

Rabbitmq containers mount /var/lib/rabbitmq from 'data'
containers with 'root:root' permissions because
ansible does not wait for rabbitmq bootstrap container -
the latter corrects access rights but sometimes gets
killed just after start.

Change-Id: I5cd1ce9810a1fd457dd34a1283e448204964c17d
Closes-Bug: #1487422
parent 9ddd4154
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,10 @@
RABBITMQ_CLUSTER_COOKIE: "{{ rabbitmq_cluster_cookie }}"
when: exists.rc != 0
- name: Waiting for bootstrap container
command: docker wait rabbitmq_bootstrap
when: exists.rc != 0
- name: Cleaning up boostrap container
docker:
image: "{{ rabbitmq_image_full }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment