There are 4 open security issues in bullseye.
commit baacdb914d01f05078a55254568185c72b2bb5a9
Author: Thomas Goirand <zigo@debian.org>
Date: Thu Nov 26 23:22:03 2026 +0100
Removed --dynamic-progress
commit 9ff920341f4980d83a54d0f3246606ffefa3110b
Author: Thomas Goirand <zigo@debian.org>
Date: Thu Nov 26 23:18:52 2026 +0100
Add ovn-bgp-2-host_zigo_extnet_ patch series
* Made leak_routes work without an attached router: the leak/unleak
commands now wire the BGP main router directly to the tenant
switch (an LSP router-port link whose peering LRP carries the
subnet's gateway IP in its networks, with an idempotent addvalue
for the second address family) instead of creating a static route
through the transport interconnect, so the dynamic-routing
connected-as-host redistribution announces every used IP of the
tenant switch as /32 and /128 host routes tracked to each VM port;
enabling leak_routes now requires a gateway_ip and rejects
networks carrying router interfaces (their gateway IPs would
conflict with the anycast gateway), adding a router interface to
a network with leaked subnets is rejected as well, unleaking only
removes the LRP/LSP pair when the last family goes (legacy static
routes are still cleaned up), and the leak nexthop seeding
machinery (static route fast path, SB Port_Binding watch, seed
registry) is removed with its tests:
- ovn-bgp-2-host_zigo_extnet_routerless-leak-validation.patch
- ovn-bgp-2-host_zigo_extnet_routerless-wire-commands.patch
* Refreshed the hunk offsets of the route-chassis-routers patch so
every hunk applies cleanly under dpkg-source (patch -F 0):
- ovn-bgp-2-host_zigo_route-chassis-routers-to-geneve-externals.patch
commit a56ebbadeeb0cbd9cd210c3ebe8b394ce275d886
Author: Thomas Goirand <zigo@debian.org>
Date: Thu Nov 26 23:16:14 2026 +0100
Refresh route-chassis-routers patch hunk offsets
dpkg-source applies quilt patches with zero fuzz; a hunk that only
applies with an offset is a defect in the queue. Re-refresh the
route-chassis-routers-to-geneve-externals patch so every hunk
applies cleanly at its stated position.
commit 19c2a70e867e3c1b2b01006a95b6ef869d109649
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 23 12:21:48 2026 +0100
Reconcile the chassis router fabric egress in the agent loop and
seed its MAC bindings
Reconciled the chassis router fabric egress in the agent's
per-cycle reconciliation loop (the full chassis reconciliation
only runs from chassis events, which never fire for the
pre-existing chassis rows of a redeployed fleet) and seeded its
MAC bindings: the chassis routers carry no learned routes (the
learned-route exposure is limited to the main router), so their
fabric egress is the 0.0.0.0/0 static routes whose nexthops are
the leaves' IPv6 link local addresses, which pinctrl never
resolves and which therefore parked the spliced floating IP
return traffic with an all-zero destination MAC on every chassis;
EnsureChassisRouterFabricEgressCommand takes the agent's own BGP
bridge names (the SB Chassis row's external_ids are wiped by the
ovn-controller re-acquisition) and the seeding resolves each
nexthop to the leaf's MAC from the kernel neighbor table of the
BGP bridge the FRR unnumbered session runs on and seeds it as a
Static_MAC_Binding row with override_dynamic_mac:
- ovn-bgp-2-host_zigo_reconcile-chassis-fabric-egress-in-agent-loop.patch
commit e65f135fc13471dcb727f4c45001233e7b6c02cf
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 23 11:24:01 2026 +0100
Re-anchor the quilt patches above the amended seeding patch
The eager-seed amendment grew the shared helper's body, shifting the
line anchors of every patch below it that touches the same files
(enslave-bgp-bridges, expose-chassis-mgmt-route,
complete-vrf-kernel-config, delete-stale-bgp-peer-ports). Refreshed so
the whole queue applies cleanly, and while re-anchoring the enslave
patch fixed its unit test import order (H306: the conf.services import
was inserted before the agent.commands one).
commit c234ecc59c53c520eefd14ce2e095252496d9070
Author: Thomas Goirand <zigo@debian.org>
Date: Sun Nov 22 12:24:52 2026 +0100
Reconcile BGP arp_proxy on virtual port VIP change
A VIP re-assignment on a virtual port that stays virtual (a fixed-IP
update keeping the virtual type) only changes the port's virtual-ip
option: no type change means VirtualPortTypeChangedEvent does not
fire, the BGP arp_proxy keeps serving the stale VIP and never
publishes the new one until an unrelated event re-reconciles the
network.
- ovn-bgp-2-host_zigo_arp-proxy-vip-option-change.patch
commit dc51858b31231309e33e37d4c10b497c1b4dcc59
Author: Thomas Goirand <zigo@debian.org>
Date: Fri Nov 20 15:56:43 2026 +0100
Use --dynamic-progress when running tests.
commit e70fd402b81fec636923ba0a22cc96530c47f865
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Nov 24 22:07:09 2026 +0100
Describe the 2:29.0.0-10 upload's net state in its changelog entry
A changelog entry describes the upload, not the surgery history:
removed the surgery bullets, the bullets of the three dropped
patches, and rewrote the expose and kernel-config bullets to the
final behavior (the management /32 sourced from lo via the upstream
hostdev convention, V4 only; the VRF kernel configuration only, the
FRR render being no longer the agent's job). Also repaired the
dch-wrapped patch name references.
# Conflicts:
# debian/changelog
commit 340f30bc663e5447bcb7e328fa13b7297e03902c
Author: Thomas Goirand <zigo@debian.org>
Date: Fri Nov 20 15:53:58 2026 +0100
Drop the agent-side FRR VRF session management and the
agent-owned management /32 on the BGP bridge (the chassis router VRF
fabric session is managed outside the agent now, and the node's
management address lives on lo, the upstream hostdev convention):
- ovn-bgp-2-host_agent-manages-vrf-frr-session.patch
- ovn-bgp-2-host_reconcile-mgmt-route-before-frr-session.patch
- ovn-bgp-2-host_agent-owns-mgmt-32-on-bgp-bridge.patch
Reworked the chassis management route publishing to read the node's
V4 address from lo through the upstream hostdev_ips property
instead of the fork-only frr_router_id knob, shrinking [bgp] back
to its pure upstream shape:
- ovn-bgp-2-host_expose-chassis-mgmt-route-in-sb.patch
Shrunk the kernel plumbing patch to the VRF kernel configuration
only (the FRR render parts died with the dropped patches):
- ovn-bgp-2-host_complete-vrf-frr-and-kernel-config.patch
Re-anchored the stale BGP peer port deletion and pinned the
reconciliation loop's 4-step order with a new test:
- ovn-bgp-2-host_delete-stale-bgp-peer-ports.patch
commit 9567adfa4cec392917eeff041597c6aeb4ac474c
Author: Thomas Goirand <zigo@debian.org>
Date: Thu Nov 19 16:29:09 2026 +0100
Learn shared VRRP VMAC with FDB instead of static flows
Learned the shared VRRP VMAC through FDB instead of static per-parent
flows: ports with a virtual MAC allowed address pair now keep
the VMAC only in port_security and get unknown in their addresses,
with a one-shot maintenance task rewriting ports created with the
old addresses; requires the OVN FDB-learning fixes shipped in ovn
26.03.3-4 (LP: #2170987):
- ovn-bgp-2-host_learn-shared-vmac-with-fdb.patch
commit dfaeaf2976b790306af91449171ef0690a3ea05b
Author: Thomas Goirand <zigo@debian.org>
Date: Thu Nov 19 16:21:46 2026 +0100
Put BGP virtual port IPs to arp_proxy
Added virtual port IPs to the BGP arp_proxy option alongside the
floating IPs of flat provider networks (LP: #2167394):
- ovn-bgp-2-host_put-virtual-ips-to-arp-proxy.patch
commit 367cc98255b3fd3f06b0cb464f5630b532d73135
Author: Thomas Goirand <zigo@debian.org>
Date: Thu Nov 19 16:19:38 2026 +0100
Reconcile BGP topology on OVSDB lock acquisition
Reconciled the BGP topology when the OVSDB topology lock is acquired
(ovsdbapp lock-event notification) instead of once at startup behind
a racy has_lock() guard, so whichever worker wins the lock
reconciles; bumped the python3-ovsdbapp dependency to >= 2.19.0:
- ovn-bgp-2-host_reconcile-on-ovsdb-lock-acquisition.patch
commit 5cc04d56c0d6c152a64536fb78fba6a4ed3e1ee1
Author: Thomas Goirand <zigo@debian.org>
Date: Thu Nov 19 16:18:07 2026 +0100
Retract the wrong-knob unknown-unicast flood patch
The flood unknown-unicast patch was a wrong knob: OVN derives has_unknown
from the literal "unknown" in the logical switch port addresses
(northd.c), never from the LS other_config the patch set, so it was a
harmless no-op. Upstream practice (neutron Gerrit 1016458) also puts
"unknown" in port addresses to get unknown-unicast flooding through the
FDB path, confirming the retraction.
commit 0754e2d84e802bd6d61cf44eb1ba6cd0a82e5d0e
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 23:17:48 2026 +0100
Flood unknown unicast out of external network switches
The DGP egresses reply traffic onto the external network switch
addressed to the fabric-side next hop MAC, which ovn-controller only
switches after it has learned that MAC into the SB FDB table. Until
the MAC is learned, or after its FDB entry aged out - for example
across an SB outage - the packet falls through to the l2_unknown
stage, which OVN renders as a plain drop for switches not carrying
the "unknown" other-config, unlike the historical flood. Every
floating IP reply then dies on the switch and external reachability
silently breaks.
Mark the switches hosting the main router peer ports with
other_config:unknown=true so unknown unicast floods to the localnet
ports again; the copies the flood hands to the BGP routers are
dropped by their anti-spoof rules, so this only restores the
physical egress.
commit a271cd0a0164a3dc043a39a5d1d0eb7c33002bfe
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 23:02:24 2026 +0100
Revert "Delete stale BGP peer ports through lsp_del"
This reverts commit 96facc031b009e92367984cde1c9d142415079b8.
commit 625e6cbeee2052918f3c25d3cec2751286ca2804
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 22:40:34 2026 +0100
Delete stale BGP peer ports through lsp_del
A Logical_Switch_Port row lives in a non-root table: a bare db_destroy
generates no transaction operation and the ovsdb-server garbage
collection never fires while the parent Logical_Switch still references
the port. The stale lsp-neutron-<net>-to-bgp-lr-main port kept peering
the main router LRP alongside its bgp-lsp- successor, northd kept
rendering duplicate Advertised_Route rows and failed every SB sync
transaction on the unique index, freezing the whole Southbound pipeline
(no port binding repairs, no HA_Chassis ref updates, no route updates,
floating IPs included). lsp_del first removes the port from the parent
switch ports set, which is the operation that actually lands in the
database.
commit 94c8881897355ef54286fef4bd9d5b0ca31f8fa9
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 22:07:49 2026 +0100
Delete stale BGP peer ports on BGP-attached switches
A leftover port from the earlier naming convention
(lsp-<switch>-to-<main-router>, current convention
bgp-lsp-<switch>-to-<main-router>) kept two router ports peering the
same main router LRP. For that shape ovn-northd generated two
identical Advertised_Route rows and failed the whole SB sync
transaction on the table's unique index, over and over, leaving no
route of the BGP topology - floating IPs included - advertised.
Add a reconcile step in the BGP agent extension walking the NB
router-type LSPs via db_list and deleting the ones that peer a
bgp-lr-main LRP without following the current bgp-lsp naming, via
db_destroy. Idempotent, never touches ports of other routers, and
keeps the management /32 announcements intact.
Verified live on the PoC: with the agent restarted, the SB
Advertised_Route table is populated (floating IPs, SNATs and subnet
gateway /32s of ext-net1 and the tenant networks) and FRR announces
them toward the leaf fabric (e.g. 192.168.124.132 observed
advertised).
commit 33e372a0508438f53bf354e5ceeb7b8c48c85aa8
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 17:04:01 2026 +0100
Render BGP flows for every NIC of the BGP bridge
Rendered BGP flows for every fabric NIC of the BGP bridge instead
of installing none when the bridge carried anything other than
exactly one NIC, generalizing nic_ofport to nic_ofports and
rendering the catch-all, host IP, ICMPv6 and kernel ND/multicast
flow sets once per NIC, and delivered IPv6 ND and multicast to
the kernel with priority-111 LOCAL flows for ICMPv6 types 135/136
and a priority-110 NORMAL flow for the 33:33::/16 multicast range
so the host kernel can answer for the bridge's own addresses and
the unnumbered BGP session can resolve the leaf link-local
address:
- ovn-bgp-2-host_flows-for-all-bgp-bridge-nics.patch
commit cffa77eab4994ad68ad7a73644cd1acdb2fd59f0
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 16:58:39 2026 +0100
Let the agent own the management address on the BGP bridge
The chassis router VRF fabric session announces the node's
management /32 through redistribute connected, which requires the
address to exist on the BGP bridge enslaved to the VRF. The SB
management route advertisement alone proved fragile: its kernel-side
blackhole can vanish from the VRF table, silently unannouncing the
node from routed parts of the fabric.
Add a reconcile step ensuring <frr_router_id>/32 (or /128 for IPv6)
on the first BGP bridge, the one the unnumbered fabric session peers
over. Idempotent and only ever adding, gated on frr_router_id without
which the operator owns the management reachability. The step runs in
the periodic loop before the SB management route publication and the
FRR session reconciliation, so the connected route is announced from
the session's first convergence, and it re-establishes the address by
itself after a reboot.
commit d7cc6932b6984383d73bc9a7478bebd15826bfa6
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 16:35:41 2026 +0100
Publish management route before FRR session reconciliation
The periodic reconciliation loop reconciled the FRR VRF session
before publishing the node's management /32 as the chassis router's
Advertised_Route. On a fresh or restarted session, bgpd then came up
and announced the VRF table before the management /32 landed in it,
leaving routed parts of the fabric without reachability to the node
until the next loop.
Reconcile the management route advertisement first so the session
announces it from the first convergence.
commit 6012edc98efbd579ac2024d946777c972f2df92f
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 16:28:32 2026 +0100
Render BGP flows for every NIC of the BGP bridge
Rendered BGP flows for every fabric NIC of the BGP bridge instead
of installing none when the bridge carried anything other than
exactly one NIC, generalizing nic_ofport to nic_ofports and
rendering the catch-all, host IP, ICMPv6 and kernel ND/multicast
flow sets once per NIC, and delivered IPv6 ND and multicast to
the kernel with priority-111 LOCAL flows for ICMPv6 types 135/136
and a priority-110 NORMAL flow for the 33:33::/16 multicast range
so the host kernel can answer for the bridge's own addresses and
the unnumbered BGP session can resolve the leaf link-local
address:
- ovn-bgp-2-host_flows-for-all-bgp-bridge-nics.patch
commit c2919d9f9276112ef1521d8a1ea19d0d6bf1c51c
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 14:37:58 2026 +0100
Make the VRF session converge on fresh agent start
Made the chassis router VRF fabric session converge from a fresh
agent start without hand-applied fixes, by advertising the RFC 5549
extended nexthop capability, redistributing connected, table and
table-direct routes in the V4 address-family, and applying the
priority-500 VRF lookup rule, tcp/udp l3mdev_accept and a disabled
bridge accept_ra from the agent.
commit cfe10ecc92a5ccf898b32f4d8637944b79cedfdf
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 16 01:09:29 2026 +0100
Set the VRF session BGP router-id in the agent block
FRR cannot auto-derive a router-id inside the chassis router VRF
(its only member, the BGP bridge, carries link-local addresses
only), and bgpd then rejects every incoming BGP connection with
"BGP identifier is missing for peer br-ex" while refusing to dial
out itself, leaving the VRF session flapping in Active state.
Pass [bgp]/frr_router_id through to render_vrf_block() so the
agent emits "bgp router-id" inside its VRF session block, and
append the missing changelog bullets for the FRR session
ownership and management route exposure patches.
commit 4a32cf6d1e04cbe6527d426e74b227c9c8750bf6
Author: Thomas Goirand <zigo@debian.org>
Date: Sun Nov 15 23:59:58 2026 +0100
Publish the node's management /32 on its chassis router
Once the BGP bridges are enslaved to the chassis router VRF, the
default-table BGP session that announced the node's management /32 is
gone, and routed parts of the fabric lose reachability to the node.
The route exchange imports the SB Advertised_Route rows of the chassis
router into the VRF table, from where the VRF fabric session announces
them. When [bgp]/frr_router_id is set (the node's management loopback
IP), the agent publishes it as a blackhole-shaped Advertised_Route on
the chassis router's locally bound gateway LRP: locally it loses
against the local table, and on the fabric the BGP nexthop is the VRF
session. The command is idempotent and runs on the periodic
reconciliation loop alongside the FRR session management.
commit 15a424c3fbcda726872ab94bf1b63c9d4302a667
Author: Thomas Goirand <zigo@debian.org>
Date: Sun Nov 15 23:36:46 2026 +0100
Let the agent own the FRR VRF session config
The routes the route exchange imports into the chassis router VRF
only reach the fabric if FRR announces them from a BGP instance
inside that VRF, peering unnumbered over the BGP bridges. That
session is pure runtime state owned by the agent: the VRF name is
derived from [bgp]/chassis_router_vrf_id, the bridge is the one the
agent enslaves to the VRF, and the routes come from the VRF's kernel
table. The installer's frr.conf must not encode those OVN internals.
When [bgp]/frr_asn is set the agent renders the VRF session block
(neighbor peering over the bridge, redistribute kernel in both
address families), merges it idempotently into [bgp]/frr_config_file
between marker comments and restarts frr when the file changed. The
reconciliation runs on the periodic loop, which also retries the
bridge enslavement after ovn-controller creates the VRF device
asynchronously (no event fires for a VRF appearing, so an
enslavement skipped at agent start was never retried before). When
frr_asn is unset the agent does not touch FRR at all: the operator
keeps full ownership of frr.conf.
commit cd77700f135f7c3613197fc75ce4a5f7256f6d4f
Author: Thomas Goirand <zigo@debian.org>
Date: Sun Nov 15 13:43:21 2026 +0100
Rebuild the ovn-bgp quilt patches as upstream diffs
The six session-made quilt patches were built by copying whole files
from the upstream clone, which leaked the post-29.0.0 drift into the
enslave patch (the privsep_safe_utils import: a mass ImportError at
unit test discovery, Jenkins red) and silently reverted the learned
route seeding, flows liveness and eager seeding work in the agent
extension and its tests.
Rebuild the six patches as the whole upstream commit diffs
(697ebfd197, 633cceb5ca, cce274557a, 7f137c481f, c4e9ee19b1,
84706ae902): the agent extension and its unit tests are three-way
merged so none of the quilt-only work is reverted, the ip_lib import
migration (upstream post-29.0.0) is not carried, the ovsdb_nb_commands
import hunk is dropped from preserve-statics (already brought in by
ensure-main), and the full sync insertion is re-anchored after the
ensure-main one. Every adaptation is documented in the patch headers.
The seed patch gets its Origin header (Eduardo Olivares' abandoned
review 995938, the upstream static MAC binding workaround).
Verified: the full queue applies on the pristine 29.0.0 orig with zero
fuzz and offsets; stestr --dynamic on unstable passes
test_async_process (31 tests, the module that failed discovery in
Jenkins) and the whole agent.ovn.extensions + services.bgp +
objects.test_router set (720 tests, 0 failed).
commit 818d2277c735f5351f97cd286ef659e9ae1617e0
Author: Thomas Goirand <zigo@debian.org>
Date: Sun Nov 15 12:32:36 2026 +0100
Enslave BGP bridges to the chassis router VRF
The routes of the chassis routers are exchanged with the kernel VRF
table that ovn-controller maintains: the peering LRPs carry the
dynamic-routing-maintain-vrf option, which makes ovn-controller create
the ovnvrf<id> device. The routing suite deployed on the host runs its
fabric sessions inside that VRF, which requires the BGP bridges to be
enslaved to the VRF device.
Add two privsep entry points to enslave a link to a master device and
to look up the master of a link, and use them from the BGP agent
extension to enslave each BGP bridge to the chassis router VRF when the
bridge is created. The VRF device is created asynchronously by
ovn-controller once the dynamic-routing-maintain-vrf option lands on
the peering LRPs, so this is retried from the bridge port created event
until it succeeds.
commit d12fca40b1f751cc32ed42363f14e1e45b5711dc
Author: Thomas Goirand <zigo@debian.org>
Date: Sun Nov 15 00:43:49 2026 +0100
Documented the geneve external network BGP flow
How such networks are reconciled (the main router carrying the subnet
gateway IPs, the chassis routers routing through the peering), the
floating IP request/reply paths (the NAT advertisement chassis
tracking, the learned-route MAC binding seeding) and the fabric
requirement of disabled reverse path filtering:
- ovn-bgp-2-host_document-geneve-external-bgp-flow.patch
commit 0d3b947670b65411a8543643c1553993d82da43d
Author: Thomas Goirand <zigo@debian.org>
Date: Sun Nov 15 00:38:58 2026 +0100
Seeded the learned routes' static MAC bindings eagerly
The LearnedRouteStaticMacBindingEvent only dispatches for rows
appearing after the agent's post-fork SB idl registration, so the rows
of the initial dump never fired it; the seeding now also runs in the
agent's flows reconciliation loop through a shared helper (idempotent).
The shared helper also seeds the learned routes attached to the local
chassis router's fabric LRPs: it resolves the fabric peer's link local
nexthop to its MAC from the kernel neighbor table of the matching BGP
bridge (kept warm by the FRR unnumbered sessions) and seeds it as a
Static_MAC_Binding with override_dynamic_mac, gated on the route's LRP
being a Port_Binding of this chassis carrying the bridge's network
name external ID. Leaving those nexthops to dynamic ND resolution
deadlocks the floating IP return path on every chassis but the pin
holder: pinctrl never resolves the fabric peers' MACs, so the spliced
replies park with an all-zero destination MAC.
- ovn-bgp-2-host_zigo_eager-seed-learned-route-mac-bindings.patch
commit 5fb6ed3abb6c2edd973a108e1ad9e719f3992f3f
Author: Thomas Goirand <zigo@debian.org>
Date: Sun Nov 15 00:23:33 2026 +0100
Routed the chassis routers to the geneve external networks
A static route per external subnet on every chassis router, pointing
at the main router's link local address on the chassis/main peering
(the request path of every floating IP), installed by the chassis,
external-network-switch and subnet gateway reconciliations and removed
on external network deletion:
- ovn-bgp-2-host_route-chassis-routers-to-geneve-externals.patch
Preserved the policies and static routes on router reconciliation:
ReconcileRouterCommand wrote back empty policies and static_routes
columns on existing routers, wiping the chassis routers' routes and
the leaked subnet routes at each full synchronization:
- ovn-bgp-2-host_preserve-router-statics-on-reconcile.patch
commit 96b22d2977c47a4a810a9c9feccfa1acfa125f36
Author: Thomas Goirand <zigo@debian.org>
Date: Sun Nov 15 00:00:00 2026 +0100
Wired geneve external networks in the BGP service plugin
The event matchers, the neutron switch reconciliation and the full
sync only gated on flat provider networks, leaving geneve external
networks without a main router connection (no reachable gateway for
the attached routers' SNAT/default egress); the main router now
connects to geneve external network switches directly, carrying the
subnet gateway IPs, detected through the broadcast-arps-to-all-routers
other_config marker:
- ovn-bgp-2-host_wire-geneve-external-networks.patch
commit e77b942890f6ba370179724eb5266db855d477f7
Author: Thomas Goirand <zigo@debian.org>
Date: Sat Nov 14 23:47:45 2026 +0100
Ensured the main router default route points at a valid egress
The bootstrap fake LRP static 0.0.0.0/0 shadowed the fabric-learned
default route and blackholed matching transit traffic; replaced it
with EnsureMainRouterDefaultRouteCommand (also cleaning up the legacy
fake LRP and route on reconciled deployments), called from the full
sync and the chassis reconciliation/deletion paths:
- ovn-bgp-2-host_ensure-main-router-default-route-via-chassis.patch
commit 1602787f7911095ba0956b14dd1cfea4e81febfe
Author: Thomas Goirand <zigo@debian.org>
Date: Sat Nov 14 15:07:53 2026 +0100
Unwrap the idl ofport atom in the BGP patch port lookup
Interface.ofport is an optional column: the idl wraps the value into
a single-element list, and the patch_port_ofport lookup returned it
verbatim, so every generated BGP flow carried "output:[75]" /
"in_port=[75]" instead of a port number. ovs-ofctl then rejected the
whole atomic bundle with "output to unknown port" on every
reconciliation pass, on a bridge that was otherwise perfectly able to
accept the very same flows applied manually with a scalar port.
Return the unwrapped scalar instead; the functional tests exercise
the real idl list form and the unit tests mock the property.
commit 03b2f0c3f76ed2cf5233b4ae2353859105c664b3
Author: Thomas Goirand <zigo@debian.org>
Date: Sat Nov 14 02:47:14 2026 +0100
Fix silent BGP bundle failures and Learned_Route refs
Two more live findings from the lab compute running the rebuilt
agent:
The ovs-ofctl bundle apply failed silently ("output to unknown port"
while the patch ports were being recreated right after the agent
start): OVSBridge.run_ofctl() logs and returns None instead of
raising (the upstream TODO acknowledges it is brittle), so
configure_flows() recorded the apply as successful and the
requirements idempotency check then skipped every retry, leaving the
bridge with the old manual flows pointing at dead ofports. The apply
now raises on the None return so the applied state is cleared and
the next reconciliation pass retries.
Learned_Route.logical_port is a strong reference to a Port_Binding
row: the idl resolves it into a row object, and the seeding event
passed that row where a port name string was expected, crashing the
match with "Row instance has no attribute 'startswith'" and never
seeding any Static_MAC_Binding. Resolve the referenced row's
logical_port name first and skip routes whose reference cannot be
resolved; the unit tests use reference-style rows now.
commit 4095ecffb4f1fbce74fd8465031c6d152dc475b1
Author: Thomas Goirand <zigo@debian.org>
Date: Sat Nov 14 02:03:25 2026 +0100
Look the BGP patch port up by name, not by peer
With the flows liveness fix the requirements are actually evaluated
once the IDLs are up, and the chassis bridge patch_port_ofport
selection crashed on the agent: Interface.peer is not registered in
the agent's OVS IDL (observed live: name, ofport and type are present
while peer is absent despite register_all), raising AttributeError on
every reconciliation tick.
The patch port is identified by its name instead: ovn-controller
names the localnet patch port of the per-chassis BGP logical switch
patch-<LSP name>-to-br-int, and the LSP name is derived from the
chassis name and the bridge name exactly as the agent creates it
(bgp-lsp-bgp-ls-<chassis>-<bridge>-localnet, verified against the lab
chassis). Drop the now unused idlutils import and renumber the
liveness patch hunks accordingly.
commit de6f0e21eea73a51514eac5b1d2af02762bfd9de
Author: Thomas Goirand <zigo@debian.org>
Date: Sat Nov 14 01:06:56 2026 +0100
Gate the BGP agent SB/NB readiness on the post-fork events
The liveness patch resolved the SB/NB/OVS API handles from the
ovsdbapp Backend class attribute (_ovsdb_connection + is_running).
Neutron ships its own Backend subclass for the OVN schemas which
deliberately scopes the ovsdbapp connection per instance (a plain
ovsdb_connection = None class attribute shadowing the ovsdbapp
property in the MRO), so the class attribute stays None forever for
the SB/NB API classes: the readiness check reported "not connected"
on every reconciliation tick even with the IDLs up (observed live on
the lab compute: the agent idle with the SB/NB sockets established).
Gate the SB/NB readiness on the OVNAgentExtensionAPI post-fork
events instead (set exactly when the agent assigns the loaded IDL
objects), fetch the API objects through the agent_api accessors
behind the gate, and take the OVS handle from the agent too. Rework
the unit tests accordingly (stub the post-fork events and the OVS
external_ids read).
commit 724c3ac788e44d103c42e85c7f4371e847d80a33
Author: Thomas Goirand <zigo@debian.org>
Date: Sat Nov 14 00:18:53 2026 +0100
* Seeded the SB Static_MAC_Binding of the BGP leak route nexthop (the
tenant router's external gateway port is bound to no chassis so
nobody answers ARP for it on the BGP interconnect logical switch,
the leaked subnet was only reachable through a hand-inserted
MAC_Binding row):
- ovn-bgp-2-host_seed-leak-nexthop-mac-binding.patch
commit 62ab0c384047b9b1c24abf4c089171dca1b74881
Author: Thomas Goirand <zigo@debian.org>
Date: Sat Nov 14 00:07:34 2026 +0100
* Fixed the BGP agent flows liveness: the event threads no longer block
on the SB/NB IDL readiness (they froze silently and never applied any
BGP flow when the OVN SB server was slow or unreachable at agent
start, and a failed flow bundle was never retried), configure_flows
is idempotent per requirements generation, and a dedicated
reconciliation thread re-applies the flows when requirements become
met:
- ovn-bgp-2-host_fix-bgp-agent-flows-liveness.patch
commit e37d7b01eed29f0e5f15372463d2daf745f9c3db
Author: Thomas Goirand <zigo@debian.org>
Date: Fri Nov 13 21:28:01 2026 +0100
Fixed the BGP agent bridge-mapping parsing keying mappings by bridge
name, which collapsed "external:br-ex" and the agent's own
"br-ex:br-ex" self-mapping into one entry, made the agent re-write
ovn-bridge-mappings on every event, dropping the external mapping so
ovn-controller destroyed the provider and interconnect localnet patch
ports, blackholing fabric-to-tenant traffic:
- ovn-bgp-2-host_fix-bgp-agent-bridge-mapping-parsing.patch
commit 09332c118f2e7a43ffa69a5c643b194737ff0488
Author: Thomas Goirand <zigo@debian.org>
Date: Wed Nov 11 14:57:01 2026 +0100
Prefix our quilt patches with ovn-bgp-2-host_
Rename the four patches written for the BGP-2-the-host campaign so
their filenames carry the campaign prefix (underscore before the
topic), and update debian/patches/series and the changelog bullet
references accordingly. No patch content is changed.
commit 10dc78b00e570069f55f776f70929ae5ecc702d2
Author: Thomas Goirand <zigo@debian.org>
Date: Wed Nov 11 14:43:15 2026 +0100
Refreshed segment-notifier patch to remove hunk offsets
fix-test-segment-notifier-batch-wait.patch applied with two 20-line
hunk offsets; dpkg-source tolerates offsets but the quilt hygiene rule
requires a queue that applies without any warnings. Refresh only moves
the hunks: the applied content is identical.
commit f74c819ef3c7b554a46b2f2743317ffa9c93c393
Author: Thomas Goirand <zigo@debian.org>
Date: Wed Nov 11 14:43:08 2026 +0100
Added patch limiting BGP learned-route LRP exposure
ovn-controller attaches learned routes to every logical router port of
the dynamic-routing routers except those carrying the
dynamic-routing-no-learning option. Upstream only stamps that option on
the chassis-router-side LRP of the chassis/main peering, leaving the
main router's interconnect LRP and the chassis routers' provider
network LRPs learning. Learned routes landing there render the provider
subnet as ECMP with an unreachable next-hop, flapping the floating IP
return path with roughly 50% packet loss.
Stamp both LRP families with dynamic-routing-no-learning so learned
routes only ever attach to the main router's chassis peering LRPs,
which carry the neutron-bgp-lrp-to-chassis-router external ID and are
the ports the static MAC binding seeding fix operates on. Both are
re-asserted at every reconciler full sync, so existing deployments
converge on agent restart without recreating ports.
commit f8e04983a2c373afb73ccb107bb3c57156e61e8b
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Nov 10 21:06:51 2026 +0100
Added VIF re-attach extension patch for OVN agent
New quilt patch: a "vif-reattach" OVN agent extension, always on,
which re-converges the OVS plugging state of VM ports from the
Port_Binding and OVS lifecycle events. When the OVS Interface row of
a bound VM port goes missing (an OVS database restore, a wiped
bridge, as seen during the OpenVSwitch 4.0 upgrade incident),
ovn-controller waits forever for the interface and the VM stays
unreachable; the extension re-attaches the tap immediately on the OVS
Interface deletion and integration bridge re-creation events,
restores lost external_ids (iface-id, attached-macs, attached-ips)
on port updates, and cleans up leftover rows on unbind/delete.
Guards keep it out of other components' way: only VM Port_Bindings,
no vif-plug-type ports (SR-IOV representors), no interference with
live migrations (additional_chassis), interface type system-only for
cleanup, iface-id match for every mutation, and creation only when
the kernel device still exists (freshly bound ports stay with
os-vif). No periodic reconciliation, purely event-driven; converges
on the initial SB dump so the agent self-heals at startup.
Includes the stevedore entry point, 32 unit tests and 4 functional
tests on the OVN agent fixture.
commit 0dfa941589eed34aa2bd3c38789f535d250a6113
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Nov 10 20:22:29 2026 +0100
Added patch seeding static MAC bindings for BGP
New quilt patch: the BGP agent extension now watches the SB
Learned_Route table (added to the agent's sb_idl table filter, with
Static_MAC_Binding and Datapath_Binding) and seeds a
Static_MAC_Binding row with override_dynamic_mac=true for every
learned route attached to a BGP main router peering LRP, resolving
the learned nexthop (the fabric peer's link-local address, imported
verbatim by ovn-controller) to the chassis router's peering LRP MAC,
derived deterministically from the peer LRP name. Without this, the
MAC binding lookup resolves dynamically to the fabric peer's own MAC,
which the peering link never delivers to, blackholing all traffic
coming from the BGP fabric on the BGP main router. Learned routes on
other routers' peerings are ignored.
Lab-verified on the OVN BGP dynamic-routing setup: this is the
"MAC_Binding flip + static pinning" recipe, made automatic.
commit 0814d59d49bb3518770b4906747c5c29c07fda77
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Nov 10 20:07:38 2026 +0100
Added patch fixing BGP bridge patch port selection
The BGP chassis bridge's patch_port_ofport() returned the first patch
port found on the provider bridge, steering wire-side frames into the
wrong logical switch when the bridge carries multiple patch ports
(BGP localnet, provider network, interconnect localnet). The patch
port is now selected by the iface-id of its peer interface on the
integration bridge, which carries the localnet LSP name of the
per-chassis BGP logical switch.
Added patch fixing the BGP chassis bridge patch port selection when
the provider bridge carries multiple patch ports:
- fix-bgp-agent-wrong-patch-port.patch
Among the 15 debian patches available in version 2:29.0.0-9 of the package, we noticed the following issues:
Automatic checks made by the Debian l10n team found some issues with the translations contained in this package. You should check the l10n status report for more information.
Issues can be things such as missing translations, problematic translated strings, outdated PO files, unknown languages, etc.