From cd24b6d98e1b82ab9c255e3e5ddbaed99c49067f Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Fri, 29 Apr 2022 17:09:47 +0100 Subject: [PATCH] ironic: Set MTU on provisioning and cleaning Neutron networks Previously we were not applying an MTU defined in Kayobe networks.yml to the provisioning and cleaning networks in Neutron. This could lead to issues when nodes communicate with the Ironic and Inspector APIs. Change-Id: Id9418e4e88c52056412daa22462aa611bfcc59ae --- ansible/provision-net.yml | 2 ++ releasenotes/notes/provision-net-mtu-befdda04224f49a6.yaml | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/provision-net-mtu-befdda04224f49a6.yaml diff --git a/ansible/provision-net.yml b/ansible/provision-net.yml index 7476608eb..54a5b4fc6 100644 --- a/ansible/provision-net.yml +++ b/ansible/provision-net.yml @@ -18,6 +18,7 @@ venv: "{{ virtualenv_path }}/openstacksdk" provision_net: name: "{{ kolla_ironic_provisioning_network }}" + mtu: "{{ provision_wl_net_name | net_mtu | default(omit, True) }}" provider_network_type: "{% if provision_wl_net_name | net_vlan %}vlan{% else %}flat{% endif %}" provider_physical_network: "{{ provision_wl_net_name | net_physical_network | default('physnet1', True) }}" provider_segmentation_id: "{{ provision_wl_net_name | net_vlan }}" @@ -31,6 +32,7 @@ allocation_pool_end: "{{ provision_wl_net_name | net_neutron_allocation_pool_end }}" cleaning_net: name: "{{ kolla_ironic_cleaning_network }}" + mtu: "{{ cleaning_net_name | net_mtu | default(omit, True) }}" provider_network_type: "{% if cleaning_net_name | net_vlan %}vlan{% else %}flat{% endif %}" provider_physical_network: "{{ cleaning_net_name | net_physical_network | default('physnet1', True) }}" provider_segmentation_id: "{{ cleaning_net_name | net_vlan }}" diff --git a/releasenotes/notes/provision-net-mtu-befdda04224f49a6.yaml b/releasenotes/notes/provision-net-mtu-befdda04224f49a6.yaml new file mode 100644 index 000000000..ce736f5d2 --- /dev/null +++ b/releasenotes/notes/provision-net-mtu-befdda04224f49a6.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes an issue where the MTU defined in Kayobe was not applied to Ironic + provisioning and cleaning networks in Neutron.