Do not disable ipv6 on loopback interface for epmd

Currently, as discussed in [1], the Erlang Port Mapper Daemon requires that
the loopback interface supports IPv6 in order to initialize properly.
Without that, rabbitmq-server cannot start and deployment fails at step 2.

Until the startup behaviour of epmd is amended, do not disable inet6 support
on loopback device to workaround the problem.

Closes-Bug: #1780065

[1] https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/15

Change-Id: I200acaeaca15e47dc2e3b2462a6254e85477ffb0
This commit is contained in:
Damien Ciabrini 2018-07-04 05:36:39 -04:00
parent de62fe3844
commit 93fb7f08b8
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ outputs:
value: {get_param: KernelDisableIPv6}
net.ipv6.conf.all.disable_ipv6:
value: {get_param: KernelDisableIPv6}
# always allow ipv6 on loopback for rabbitmq, see +bug/1780065
net.ipv6.conf.lo.disable_ipv6:
value: 0
# enable/disable ip forward for undercloud/docker
net.ipv4.ip_forward:
value: {get_param: KernelIpForward}