Files
openstack-ansible-galera_se…/releasenotes/notes/galera_wsrep_is_management-df6465a13e7914c1.yaml
Dmitriy Rabotyagov a9718f24ed Use management address when available
In case of defining different IP address for SSH and Management
network in metal scenario, as described in [1], you get SSH address
defined as `ansible_host`, which results in HAProxy configuring
backends on SSH address rather then management one, where
service is actually listening.

We use `ansible_host` as a fallback for non-OSA usage of the role.

[1] https://docs.openstack.org/openstack-ansible/latest/reference/inventory/configure-inventory.html#having-ssh-network-different-from-openstack-management-network

Change-Id: If9896e99e1b0bb58098020606765093d320943ae
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2025-09-03 17:48:08 +02:00

10 lines
359 B
YAML

---
upgrade:
- |
Default value of ``galera_wsrep_address`` has changed from
``ansible_host``, which could vary based on the deployment scenario,
to ``management_address``, which will be set to the IP of the
management network.
The fallback to ``ansible_host`` is present to avoid failures when
``management_address`` is not defined.