Skip to content
Snippets Groups Projects
Commit 2c76dd4a authored by Sayantani Goswami's avatar Sayantani Goswami Committed by sayantani
Browse files

Fix RabbitMQ server error in bifrost

Update playbooks to ensure rabbitMQ server starts successfully in the
bifrost container.

Change-Id: I73e3d7f2b50221aeff75576d594f64abcea2d43b
Closes-Bug: #1658768
parent b87502b9
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,11 @@ ...@@ -3,9 +3,11 @@
command: > command: >
docker exec bifrost_deploy docker exec bifrost_deploy
bash -c '/bifrost/scripts/env-setup.sh && source /bifrost/env-vars bash -c '/bifrost/scripts/env-setup.sh && source /bifrost/env-vars
&& ansible-playbook -vvvv -i /bifrost/playbooks/inventory/localhost && cp /etc/bifrost/rabbitmq-env.conf /etc/rabbitmq/rabbitmq-env.conf &&
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/localhost
/bifrost/playbooks/install.yaml -e @/etc/bifrost/bifrost.yml /bifrost/playbooks/install.yaml -e @/etc/bifrost/bifrost.yml
-e @/etc/bifrost/dib.yml -e skip_package_install=true' -e @/etc/bifrost/dib.yml -e skip_package_install=true'
- name: Installing ssh keys - name: Installing ssh keys
command: > command: >
docker exec bifrost_deploy docker exec bifrost_deploy
......
...@@ -19,6 +19,13 @@ ...@@ -19,6 +19,13 @@
- "dib" - "dib"
- "servers" - "servers"
- name: Copying over rabbitmq config
template:
src: "{{ item }}"
dest: "{{ node_config_directory }}/bifrost/{{ item }}"
with_items:
- "rabbitmq-env.conf"
- name: Template ssh keys - name: Template ssh keys
template: template:
src: "{{ item.src }}" src: "{{ item.src }}"
......
# Defaults to rabbit. This can be useful if you want to run more than one node
# per machine - RABBITMQ_NODENAME should be unique per erlang-node-and-machine
# combination. See the clustering on a single machine guide for details:
# http://www.rabbitmq.com/clustering.html#single-machine
#NODENAME=rabbit
# By default RabbitMQ will bind to all interfaces, on IPv4 and IPv6 if
# available. Set this if you only want to bind to one network interface or#
# address family.
#NODE_IP_ADDRESS=127.0.0.1
HOME=/var/lib/rabbitmq
# Defaults to 5672.
#NODE_PORT=5672
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