Skip to content

Synchronise master with upstream - #666

Merged
priteau merged 4 commits into
stackhpc/masterfrom
upstream/master-2026-11-23
Nov 23, 2026
Merged

priteau merged 4 commits into
stackhpc/masterfrom
upstream/master-2026-11-23

Conversation

@github-actions

Copy link
Copy Markdown

This PR contains a snapshot of master from upstream master.

markgoddard and others added 4 commits October 26, 2026 14:31
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>
@github-actions
github-actions Bot requested a review from a team as a code owner November 23, 2026 06:33
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Nov 23, 2026
@priteau
priteau enabled auto-merge November 23, 2026 08:39
@priteau
priteau merged commit 799f26b into stackhpc/master Nov 23, 2026
3 checks passed
@priteau
priteau deleted the upstream/master-2026-11-23 branch November 23, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated action performed by GitHub Actions synchronisation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants