Repository navigation
Synchronise master with upstream - #666
Merged
Merged
Conversation
Previously, the set of networks attached to each host group was defined as a hard-coded list in that group's variables, such as compute_default_network_interfaces in group_vars/all/compute. This had a number of drawbacks: * The mapping was duplicated across the group variable files, and had diverged between them. * Conditions were expressed inline within each list, so adjusting which hosts are attached to a network meant overriding a whole group's list. * Some networks were attached to hosts with no use for them, such as the workload provisioning network on all controllers even when Ironic is disabled. Map each network role to hosts explicitly instead. Every role gains a <role>_net_required flag determining whether that role applies to the host being evaluated, and network_role_names lists the known roles. A new net_default_interfaces filter walks those roles, keeps the ones required by the host, and resolves them to network names via the existing <role>_net_name and <role>_net_names variables. Each group's <group>_default_network_interfaces now defers to the resulting network_interfaces_default. Operators can now change which hosts are attached to a network by setting the relevant <role>_net_required flag in networks.yml, rather than overriding an entire group's interface list. This changes the default mapping of several networks. See the release note for a role-by-role description of the old and new behaviour. Co-Authored-By: Rafal Lewandowski <rafal@stackhpc.com> Change-Id: If604adb0815f583c3fee4772f90ad53b84180372 Signed-off-by: Rafal Lewandowski <rafal@stackhpc.com> Signed-off-by: Will Szumski <will@stackhpc.com>
The inspection network was never added to the networks registered in Neutron. Register it unless it is the same as the provisioning or cleaning network. Also fix the inspection subnet gateway falling back to the provisioning network's gateway. Closes-Bug: #2174614 Change-Id: I00497fd6b780fd381a9791efcd1039d8b4264870 Assisted-By: Claude Code claude-opus-5-5 Signed-off-by: Doug Szumski <doug@stackhpc.com>
priteau
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains a snapshot of master from upstream master.