From 49804b6a49349690e8890d61386b04f5ed84c5f3 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Fri, 1 Nov 2024 13:21:11 -0700 Subject: [PATCH] Fix default network interface The default interface parameter inadvertently set the default for all newly created nodes, unless they otherwise specify a network interface, to be "noop", which is only usable for standalone users. Integrated users want flat, or neutron. Given historical usage pattern, the existing defaults set via "enabled_network_interfaces" to use flat, neutron, or noop, in that order, are generally applicable. Signed-off-by: Julia Kreger --- templates/common/config/ironic.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/common/config/ironic.conf b/templates/common/config/ironic.conf index 0749871a..161792b2 100644 --- a/templates/common/config/ironic.conf +++ b/templates/common/config/ironic.conf @@ -20,8 +20,7 @@ enabled_vendor_interfaces = no-vendor,ipmitool,idrac-redfish,redfish,ilo,fake # https://review.opendev.org/c/openstack/ironic/+/907269 rbac_service_role_elevated_access=true -{{/* TODO switch to neutron provider for the non-standalone when neutron-operator is available */}} -default_network_interface={{if .Standalone}}noop{{else}}noop{{end}} +{{if .Standalone}}default_network_interface=noop{{end}} default_resource_class=baremetal hash_ring_algorithm=sha256