Bind EPMD to api interface address

Closes-Bug: #1562701
Change-Id: Ica68bdee81223232995bc21ad5e5d5fbf9e8b05f
This commit is contained in:
Jeffrey Zhang 2016-09-14 09:52:38 +08:00
parent 7db277b145
commit 5480bd9b1d
No known key found for this signature in database
GPG Key ID: B178EDF8751547E8
1 changed files with 1 additions and 10 deletions

View File

@ -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 }}