Record for 127.0.1.1 is added by some distributions which makes
clustering fail, as Erlang port is binded to mgmt IP, while rabbit
expects to access it through $hostname, which would lead to 127.0.1.1.
At same time it's possbile to explicitly bind distribution port only
to single address. So we need to
ensure that hostname resolvs to mgmt IP and drop record for 127.0.1.1
Reviewed: https:/ /review. opendev. org/c/openstack /openstack- ansible- rabbitmq_ server/ +/830172 /opendev. org/openstack/ openstack- ansible- rabbitmq_ server/ commit/ e6b3ddbc1e8f1c5 58f4dcb615f5d5d 3a96348584
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit e6b3ddbc1e8f1c5 58f4dcb615f5d5d 3a96348584
Author: Dmitriy Rabotyagov <email address hidden>
Date: Mon Feb 21 14:58:33 2022 +0100
Remove affecting rabbitmq hosts record
Record for 127.0.1.1 is added by some distributions which makes
clustering fail, as Erlang port is binded to mgmt IP, while rabbit
expects to access it through $hostname, which would lead to 127.0.1.1.
At same time it's possbile to explicitly bind distribution port only
to single address. So we need to
ensure that hostname resolvs to mgmt IP and drop record for 127.0.1.1
Closes-Bug: #1960587 134ede0dc62b51c 1964b9befc5
Change-Id: I907d4714319ac7