Skip to content

Commit

Permalink
Merge pull request #198 from stackhpc/upstream/2023.1-2023-11-06
Browse files Browse the repository at this point in the history
Synchronise 2023.1 with upstream
  • Loading branch information
markgoddard authored Nov 6, 2023
2 parents 63a4d13 + 0c6c777 commit b9063d1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ansible/kolla-bifrost-hostvars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
ipv4_interface_mac: "{% raw %}{{ extra.pxe_interface_mac | default }}{% endraw %}"
ipv4_address: "{{ admin_oc_net_name | net_ip }}"
ipv4_subnet_mask: "{{ admin_oc_net_name | net_mask }}"
# If the admin network does not have a gateway defined, use the
# seed as a gateway to allow external access until other networks have
# been configured.
ipv4_gateway: "{{ admin_oc_net_name | net_gateway or admin_oc_net_name | net_ip(seed_host) }}"
# If the admin network does not have a gateway defined and seed SNAT is
# enabled, use the seed as a gateway to allow external access until other
# networks have been configured. Otherwise, do not set any gateway.
ipv4_gateway: "{{ admin_oc_net_name | net_gateway or admin_oc_net_name | net_ip(seed_host) if seed_enable_snat | bool }}"
ipv4_nameserver: "{{ resolv_nameservers }}"
network_mtu: "{{ admin_oc_net_name | net_mtu or '1500' }}"
vlan_id: "{{ '' if admin_oc_net_name == provision_oc_net_name else (admin_oc_net_name | net_vlan) }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ fixes:
- |
Fixes failure to run ``kayobe overcloud deprovision`` after Bifrost is
redeployed.
`LP#2038889 <https://bugs.launchpad.net/kolla-ansible/+bug/2038889>`__
`LP#2038889 <https://bugs.launchpad.net/kayobe/+bug/2038889>`__
14 changes: 14 additions & 0 deletions releasenotes/notes/configdrive-gateway-62366f613e6eaac9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
upgrade:
- |
If the admin network does not have a gateway defined and
``seed_enable_snat`` is ``false``, which is the default, overcloud hosts
will not have a default gateway immediately after provisioning anymore. A
default gateway on another network can still be applied during the host
configuration step.
fixes:
- |
Fixes slow fact gathering in some environments by not configuring the seed
host as the initial default gateway for overcloud hosts when
``seed_enable_snat`` is ``false``, which is the default.
`LP#2039461 <https://bugs.launchpad.net/kolla-ansible/+bug/2039461>`__

0 comments on commit b9063d1

Please sign in to comment.