Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronise 2024.1 with upstream #660

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Conversation

github-actions[bot]
Copy link

This PR contains a snapshot of 2024.1 from upstream stable/2024.1.

The variable kolla_same_external_internal_vip in group_vars/all.yml
was set to true or false depending on the jinja2 equality operator
- == - which only checks if two objects are the same.

This is problematic because IPs can be the same but have different
string representations, e.g. leading zeroes in some octets, but still
repesent the same instance of an IP.

Example: 192.168.1.1 and 192.168.001.001 are the same.

Fix this, by using the ansible.utils.ipaddr() jinja2 filter instead
to increase robustness.

Closes-Bug: #2076889
Introduced-By: https://review.opendev.org/c/openstack/kolla/+/285005

Signed-off-by: Sven Kieske <[email protected]>
Change-Id: Ied43b9d0c4b33bb514d367f3f99c2e30e104d139
(cherry picked from commit a5f0e16)
@priteau priteau enabled auto-merge January 13, 2025 08:51
@priteau priteau merged commit caceefa into stackhpc/2024.1 Jan 13, 2025
3 checks passed
@priteau priteau deleted the upstream/2024.1-2025-01-13 branch January 13, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants