rabbitmq setup from secondary IP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Won't Fix
|
Wishlist
|
Satya Sanjibani Routray | ||
Newton |
Won't Fix
|
Wishlist
|
Satya Sanjibani Routray |
Bug Description
If setup network is not the main interface (ie the same as ansible one), rabbitmq fails, even if the IP can be resolved:
"Hostname has to resolve to IP address of api_interface".
Ex:
network_interface: "eth1"
Analysis:
ansible/
[
{version, 1},
{nodes, [
{% for host in groups['rabbitmq'] %} {'rabbit@{{ hostvars[
{% endfor %}
]},
{gospel, {node, 'rabbit@{{ hostvars[
].
Where {{ hostvars[
It should resolve to the hostname attached to the IP of {{ network_interface }}.
Changed in kolla: | |
milestone: | none → newton-rc2 |
status: | New → Triaged |
Changed in kolla: | |
status: | Triaged → Confirmed |
importance: | Undecided → Low |
Changed in kolla: | |
milestone: | newton-rc2 → ocata-1 |
importance: | Low → Critical |
Changed in kolla: | |
milestone: | ocata-1 → ocata-2 |
Changed in kolla: | |
assignee: | nobody → Satya Sanjibani Routray (satroutr) |
assignee: | Satya Sanjibani Routray (satroutr) → nobody |
Changed in kolla: | |
assignee: | nobody → Satya Sanjibani Routray (satroutr) |
Changed in kolla: | |
milestone: | ocata-2 → ocata-3 |
Changed in kolla: | |
assignee: | Satya Sanjibani Routray (satroutr) → nobody |
Changed in kolla: | |
milestone: | ocata-3 → ocata-rc1 |
Changed in kolla: | |
milestone: | ocata-rc1 → pike-1 |
Changed in kolla: | |
milestone: | pike-2 → pike-3 |
Changed in kolla: | |
milestone: | pike-3 → pike-rc1 |
Changed in kolla: | |
milestone: | pike-rc1 → queens-1 |
Changed in kolla: | |
milestone: | queens-2 → queens-3 |
Changed in kolla: | |
milestone: | queens-3 → queens-rc1 |
Changed in kolla: | |
milestone: | queens-rc1 → queens-rc2 |
Changed in kolla: | |
milestone: | queens-rc2 → rocky-1 |
Changed in kolla: | |
milestone: | rocky-2 → rocky-3 |
Changed in kolla: | |
status: | In Progress → Won't Fix |
what's your api_interface value in globals.yml file?
In kolla, rabbitmq connect each other through api_interface, so in hosts file or dns server, the hostname name should be resolved to the {{ api_interface }} address.