aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Zhang <zhang.lei.fly@gmail.com>2016-09-24 11:24:11 +0800
committerJeffrey Zhang <zhang.lei.fly@gmail.com>2016-09-24 11:25:28 +0800
commit7608f1ee65333d83dbbaff80e3c94270f81373b1 (patch)
tree1f19adb82b2a3c15ce44091a43ddc99edc1b85b7
parent911dfe4ef7c3cfd012ce3887ec491b8ee4581730 (diff)
downloadkolla-7608f1ee65333d83dbbaff80e3c94270f81373b1.tar.gz
kolla-7608f1ee65333d83dbbaff80e3c94270f81373b1.zip
Revert "Bind EPMD to api interface address"
This issue still exsits when disable ipv6 feature. This reverts commit 5480bd9b1d3a9efcd3618ddf12718d2621ceeb47. Change-Id: I1e6c6bff5585cf5a49890668203d6971112c32f1
-rw-r--r--ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j211
1 files changed, 10 insertions, 1 deletions
diff --git a/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2 b/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2
index 81ccce679..564967cb9 100644
--- a/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2
+++ b/ansible/roles/rabbitmq/templates/rabbitmq-env.conf.j2
@@ -6,5 +6,14 @@ RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="-pa /usr/lib/rabbitmq/lib/{{ rabbitmq_versi
RABBITMQ_LOG_BASE=/var/log/kolla/rabbitmq
-export ERL_EPMD_ADDRESS={{ api_interface_address }}
+# 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 }}