7054b27dbb
deploy rabbitmq cluster by train with ipv6 report: unable to connect to epmd (port 4369) on control-1: address (cannot connect to host/port) Closes-Bug: #1856725 Change-Id: I36ebb4e196ece8a304269e8c85e39dda72faae50 Signed-off-by: yj.bai <bai.yongjun@99cloud.net>
11 lines
628 B
Django/Jinja
11 lines
628 B
Django/Jinja
RABBITMQ_NODENAME=rabbit@{{ ansible_hostname }}
|
|
RABBITMQ_LOG_BASE=/var/log/kolla/{{ project_name }}
|
|
RABBITMQ_DIST_PORT={{ role_rabbitmq_cluster_port }}
|
|
RABBITMQ_PID_FILE={{ rabbitmq_pid_file }}
|
|
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="-kernel inetrc '/etc/rabbitmq/erl_inetrc' {% if api_address_family == 'ipv6' %}-proto_dist inet6_tcp {% endif %}{{ rabbitmq_server_additional_erl_args }}"
|
|
RABBITMQ_CTL_ERL_ARGS="{% if api_address_family == 'ipv6' %}-proto_dist inet6_tcp {% endif %}"
|
|
|
|
export ERL_EPMD_ADDRESS={{ api_interface_address }}
|
|
export ERL_EPMD_PORT={{ role_rabbitmq_epmd_port }}
|
|
export ERL_INETRC=/etc/rabbitmq/erl_inetrc
|