aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-14 13:07:25 +0000
committerGerrit Code Review <review@openstack.org>2016-09-14 13:07:25 +0000
commit119c41cdc4ee70f0fe41bd83ec7ca42de4f81b2a (patch)
tree84194e3141836cd00bd64ef5fdf50f49f5405b7a
parenta16d3a2c303e7d61d486304da96c2fd469cede78 (diff)
parent5480bd9b1d3a9efcd3618ddf12718d2621ceeb47 (diff)
downloadkolla-119c41cdc4ee70f0fe41bd83ec7ca42de4f81b2a.tar.gz
kolla-119c41cdc4ee70f0fe41bd83ec7ca42de4f81b2a.zip
Merge "Bind EPMD to api interface address"
-rw-r--r--ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j211
1 files changed, 1 insertions, 10 deletions
diff --git a/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2 b/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2
index 55eaab9d8..81ccce679 100644
--- a/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2
+++ b/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2
@@ -6,14 +6,5 @@ RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="-pa /usr/lib/rabbitmq/lib/{{ rabbitmq_versi
RABBITMQ_LOG_BASE=/var/log/kolla/rabbitmq
-# TODO(sdake, vhosakot)
-# erlang by default binds to wildcard (all interfaces) and can potentially
-# interfere with the neutron external or tenant networks. We should in theory
-# bind epmd to the host's IPv4 address to address the issue however this also
-# has issues and can crash erlang when it is compiled with IPv6 support.
-# See bugs:
-# https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1374109
-# https://bugs.launchpad.net/kolla/+bug/1562701
-# https://bugzilla.redhat.com/show_bug.cgi?id=1324922
-
+export ERL_EPMD_ADDRESS={{ api_interface_address }}
export ERL_EPMD_PORT={{ rabbitmq_epmd_port }}