Skip to content

Commit

Permalink
Fix default network interface
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
juliakreger committed Nov 1, 2024
1 parent d1ec051 commit b973a58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/common/config/ironic.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ enabled_vendor_interfaces = no-vendor,ipmitool,idrac,idrac-redfish,redfish,ilo,f
# 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
Expand Down

0 comments on commit b973a58

Please sign in to comment.