The commit that introduced it said it was not verified end to end, which
was true then and is not now. The hypervisor could not apply SDN
configuration at all: a leftover subnet on the deneme10 vnet held
10.0.0.1, the same address as vmbr0's default gateway, so every
`ifreload -a` failed with "Nexthop has invalid gateway". With that subnet
removed, ifreload exits 0 and the rest followed.
Two permissions, found one failure at a time rather than guessed.
Creating a vnet needs SDN.Allocate on the zone and can be scoped to
/sdn/zones/hpcod. Applying needs it on /sdn and cannot be scoped, because
Proxmox applies the whole pending configuration at once. Both are in a
separate role with only the three SDN privileges, rather than added to
the provisioner's role, which is bound at / and would have spread them
across the estate. It remains narrower than what it replaced: editing the
hypervisor's network configuration took root SSH.
The acceptance run earned its keep on the way through. It failed on a
leftover vmbrC002 stanza and interface from an earlier provision, when
the module still wrote bridges by hand and Terraform's destroy had not
removed them - exactly the failure the SDN change exists to prevent. That
is why the suite asserts /etc/network/interfaces contains no vmbrC at
all, rather than only that the fabric works.
Fifteen of fifteen from an empty state: terraform 37s, self-configuration
43s, nodes 60s, 140s total; vnet c002 created and applied, no hand-written
bridge, hpcuser resolving on the nodes, a job on both, a 119G head disk,
the portal answering 401 behind a Let's Encrypt certificate, an unknown
cluster falling through to the control plane, no registry credential in
the path, and a 9xx MB node image.
What is still unverified is unchanged and stated in place: whether a
cluster can span hypervisors. The lab has one Proxmox node.