Skip to content

Commit 2606ac8

Browse files
authored
Merge pull request #502 from stackhpc/upstream/master-2025-12-02
Synchronise master with upstream
2 parents 044b065 + fa13678 commit 2606ac8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ansible/kolla-bifrost-hostvars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# If the admin network does not have a gateway defined and seed SNAT is
2727
# enabled, use the seed as a gateway to allow external access until other
2828
# networks have been configured. Otherwise, do not set any gateway.
29-
ipv4_gateway: "{{ (admin_oc_net_name | net_gateway) or (admin_oc_net_name | net_ip(seed_host) if seed_enable_snat | bool) }}"
29+
ipv4_gateway: "{{ (admin_oc_net_name | net_gateway) or (admin_oc_net_name | net_ip(seed_host) if seed_enable_snat | bool) or '' }}"
3030
ipv4_nameserver: "{{ resolv_nameservers }}"
3131
network_mtu: "{{ admin_oc_net_name | net_mtu or '1500' }}"
3232
vlan_id: "{{ '' if admin_oc_net_name == provision_oc_net_name else (admin_oc_net_name | net_vlan) }}"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes generation of Bifrost host variable files when ``ipv4_gateway`` is
5+
undefined. `LP#2133489 <https://bugs.launchpad.net/kayobe/+bug/2133489>`__

0 commit comments

Comments
 (0)