Ensure net.ipv6.conf.lo.disable_ipv6=0

Along the same lines as https://review.opendev.org/#/c/580460/.

Currently, 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.

Change-Id: Ia747103aca99f3f45d7705248c6c1ef19aa93d71
(cherry picked from commit 7bf8d77207)
This commit is contained in:
Luca Miccini 2020-06-01 09:28:03 +02:00
parent 7b2c249105
commit fa1e82707b
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,8 @@ outputs:
value: {get_param: KernelDisableIPv6}
net.ipv6.conf.all.disable_ipv6:
value: {get_param: KernelDisableIPv6}
net.ipv6.conf.lo.disable_ipv6:
value: 0
net.ipv4.ip_forward:
value: {get_param: KernelIpForward}
net.ipv4.ip_nonlocal_bind: