There are 4 open security issues in bullseye.
commit 648de4841d6921f556fa998de09ab9687dcce903
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Dec 1 15:37:33 2026 +0100
Guard CIDR-overlap tests against reestablish thread
BGPCidrOverlapValidationTestCase inherits base.BaseTestCase and
instantiates BGPServicePlugin directly, so the class-level thread
block installed by BGPServicePluginAPITestCase.setUp never applied
to it: every test of the class started the real 12x5 s
leak-reestablishment retry thread.
In the Jenkins builds the thread then finds the leak-route tables
of the previous worker already gone, retries for a full minute and
interleaves its transactions (or their rollback) with whichever
test runs next in the same stestr worker, randomly breaking it.
This explains the leaked-thread fingerprints of the last builds
(attempt 1/12 lines appearing right after bgp.test_plugin progress
lines). Block the thread in this class's setUp as well, before the
constructor runs.
commit 8b41723f0486deb368a31ab016983085beca2f45
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Dec 1 10:22:19 2026 +0100
Move unit test selection to include/exclude list files
Use the data driven test selection of openstack-pkg-tools (>= 160):
pkgos-dh_auto_test picks up debian/tests/include-list.txt and
debian/tests/exclude-list.txt and passes them to stestr as its
inclusion and exclusion lists; the autopkgtest will use them too
once this package grows one.
Migrate the former command-line lookahead regex there (the OVN mech
driver module stuck in multiprocessing locks, the ML2 tests failing
in parallel, the two non-deterministic QoS plugin DB tests), and
blacklist the flaky upstream OVN-l3 API test class
OVNL3ExtrarouteTests: its tests randomly fail because of cross-test
state leaks in the in-memory sqlite database shared by each stestr
worker (untracked segments batch-notifier threads, network-delete
cascades, CONF residue); victims are random members of the class,
reproduced 5/9 full-suite mimics. The same test methods still run
against the SQL plugin; OVN-l3 remains covered by the functional
suite. See exclude-list.txt for the full explanation.
commit 967f5df22fbc2bdce0cf53f8a75c89ce1ca7f271
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Dec 1 10:02:16 2026 +0100
Drain leaked batch-notifier threads between unit tests
The segments plugin queues placement/Nova notifications on untracked
threads spawned by BatchNotifier.queue_event via utils.spawn_n (the
handle is discarded). In the unit test workers those threads outlive
their test: the test's keystoneauth mock is gone by the time the
thread fires its placement call, so it either raises there (the
traceback gets attributed by testtools to whichever test is running,
randomly failing OVN-l3 API tests with 404s/500s of freshly created
resources) or keeps the worker's shared in-memory sqlite busy.
Track live synced_send threads and all notifier instances
(class-level _live_threads + a WeakSet) and add
BatchNotifier.wait_for_pending(); hook it in the unit test base
cleanup so every test ends with no batch-notifier work in flight.
This shrinks but does not fully eliminate the ovn_l3 flakiness
(full-suite mimics: 2/3 failing runs before, 2/4 after); the
residual cross-test state poisoning needs an upstream-scale test
isolation fix.
commit 8a341a0bb1163855c18a46d626caf092653e65b3
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Dec 1 00:41:28 2026 +0100
Deliver the fabric neighbor advertisements back into the integration
bridge: the priority-111 kernel ND flows delivered the ICMPv6 neighbor
solicitations and advertisements coming from the fabric to the LOCAL
port only, so the host kernel ND machinery could answer for the
bridge's own addresses. A solicited neighbor advertisement, however,
can also be the reply to an ovn-controller neighbor solicitation
resolving a learned route nexthop from the main router's peering: the
LOCAL-only delivery swallowed it and that dynamic resolution could
never complete between the static MAC binding re-seeds, leaving a
window where the fabric egress of an address family deadlocks whenever
the kernel VRF's BGP nexthops move.
Deliver the type-136 advertisements to the kernel (LOCAL) and back
into the integration bridge (output to the patch port) so pinctrl
completes its resolution cycles; the solicited-node solicitations stay
kernel-only. Proven live in the PoC: with the static MAC binding seeds
removed, the fabric egress resolves through the ovn-controller
neighbor solicitation cycle and the NA deliveries are visible in the
bridge flow counters.
- ovn-bgp-2-host_zigo_na-replies-reach-br-int.patch
commit 01882b7fbd10c1837b5ab756a8b6a77a8b1a12f5
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Dec 1 00:32:42 2026 +0100
Make the BGP flows reconciliation verify the flows liveness against
the actual OVS state instead of memory: the reconciliation loop skipped
the bundle apply whenever the resolved flow requirements matched the
last applied ones, a purely in-memory state. The OpenFlow rules are not
persisted in the OVS database, so an ovs-ofctl del-flows, an
ovs-vswitchd restart or a kernel datapath flush wipes them without any
OVSDB event and without the requirements changing, and the loop then
reported the flows as applied forever, leaving the fabric egress, the
kernel ND plumbing and the multicast flood dead until the requirements
happened to change.
Tag every BGP flow with a dedicated OpenFlow cookie (0x4247) and gate
the skip on the flows being live: one dump-flows call per bridge per
reconciliation pass, re-apply when no flow carries the cookie. Any dump
failure counts as not live so the loop fails toward re-applying.
Proven live in the PoC: a del-flows on a compute's BGP bridge is healed
by the next 30 seconds reconciliation pass.
- ovn-bgp-2-host_zigo_flows-liveness-ovs-state-check.patch
commit c4afb5fc3559084639647ecc59ec1504b92ba9c6
Author: Thomas Goirand <zigo@debian.org>
Date: Tue Dec 1 00:17:11 2026 +0100
Fix the BGP fabric egress MAC binding seeder broken by the IPv6
nexthop triples: the seed command still unpacked (nexthop, bridge)
pairs and raised "too many values to unpack" on every reconcile pass.
The exception aborted the agent's reconcile loop before
EnsureChassisRouterFabricEgressCommand could run, so the chassis
routers' default routes in the Northbound froze at their first install
while the kernel VRF's BGP nexthops moved on, and the static MAC
binding seeds stopped matching the rendered routes: the fabric egress
resolution missed, packets were paused for pinctrl neighbor
solicitation whose replies are swallowed by the priority-111 LOCAL
bridge flows, and the whole IPv6 fabric egress path deadlocked.
Unpack the triples and seed both address families: the IPv4 default's
nexthops are the same leaves' IPv6 link-local addresses (carried as
RTA_VIA), so the kernel neighbor lookup resolves them too. Update the
unit tests to the triple shape, make the kernel route mock
family-aware and assert the IPv4 default's nexthops are seeded as
well.
- ovn-bgp-2-host_zigo_fix-fabric-egress-seeder-ipv6-triples.patch
commit fa5e7b3ba741abff5db601428c192c5b5c0f0e34
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 30 23:53:52 2026 +0100
Added the IPv6 mirror of the BGP fabric default routes: the
chassis routers install ::/0 fabric egress statics from the kernel
VRF's IPv6 default and the main router installs ::/0 via the chassis
peering, unbreaking the inbound and outbound paths of the IPv6
subnets of the leaked networks:
- ovn-bgp-2-host_zigo_add-ipv6-fabric-default-routes.patch
commit 155507ce2a81819eae3fc1ec820ddf8dd10b5ebd
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 30 22:31:02 2026 +0100
Re-establish the leak_routes subnets on plugin start
The leak wiring runs only in the AFTER_UPDATE subnet callback: a
neutron-api restart (an upgrade, a crash) drops the OVN state of
every leaked subnet, and nothing ever re-updates the subnets on its
own, so the fabric loses the routes to the directly mounted public
IPs until the subnet is updated by hand.
At plugin start, enumerate the SubnetBGPLeakRoutes rows and re-run
the leak for each one: LeakSubnetCommand is idempotent, so the
concurrent API workers converge on the same state. The pass runs in
a daemon thread and retries twelve times with a five seconds backoff,
as the OVN IDL may still be connecting while the plugin loads.
commit 595a37f9b73ec700ada0c6054abad46dd32581c6
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 30 22:27:39 2026 +0100
Fix the chassis management route advertisement
Folded into the ovn-bgp-2-host_zigo_expose-chassis-mgmt-route-in-sb
patch: the l3gateway-chassis Port_Binding option holds the chassis
NAME, not its UUID, so the UUID comparison never matched and the
management route was never advertised, the agent logging "No locally
bound l3gateway LRP found" on every reconciliation. Match by name
instead. The Port_Binding, Datapath_Binding and Advertised_Route row
scans also iterate over a list() snapshot, so a concurrent IDL
mutation cannot kill the reconciliation with a dictionary
changed-during-iteration RuntimeError.
commit a42aa5b6b95dd7efa032d6353de5fcbc20795643
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 30 22:27:18 2026 +0100
Snapshot the SB rows in converge_all
Folded into the ovn-bgp-2-host_zigo_ovn-agent-vif-reattach-extension
patch: converge_all() iterated the Southbound Port_Binding rows
directly, and when the IDL mutates the dict during the scan (a VM
port creation storm triggering the Bridge event), the event died with
RuntimeError: dictionary keys changed during iteration. Iterate over
a list() snapshot instead.
commit c9c71a43acb8dcbd1615e4c3991718aa1c7b1421
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 30 22:10:49 2026 +0100
Re-attach unbound VM ports in the vif-reattach extension
Folded into the ovn-bgp-2-host_zigo_ovn-agent-vif-reattach-extension
patch: once the OVS row of a VM port is lost (an OVS database restore,
a wiped bridge), ovn-controller clears the chassis column of the port
binding and the extension never looked at the port again: only the
InterfaceDeletedEvent racing ovn-controller's unbind could recover it,
and after an agent restart the port stayed unbound forever with
nothing in the stack ever re-creating the row.
Add an is_reattachable() gate used by the Port_Binding create/update
events and by converge_all(): a port bound to this chassis, or an
unbound port whose tap device still exists locally. The kernel tap
existence check keeps foreign and absent taps out, and ports bound to
another chassis are never touched. The initial SB dump of a restarted
agent now heals the lost ports.
commit fbdf0bb9d68f567cf0f79a4990f51ef69d0332db
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 30 22:10:38 2026 +0100
Retry the full BGP topology synchronization on transient IDL errors
The full synchronization runs as soon as the worker wins the topology
lock, which can be while the worker's NB IDL is still streaming its
initial monitor dump: rows not yet cached raise AttributeError on any
column access. A fresh worker hits this deterministically with a large
Northbound database, and a failed synchronization used to be swallowed
by the reconciler, leaving the worker holding the lock with an unbuilt
topology until the next lock cycle (which may never come). The
reconciliation now retries the sync five times with a two seconds
backoff; a lost OVSDB lock (RuntimeError) is not retried.
commit 51629f112e67becc5ad77a65f08ae79a22ce8858
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 30 22:10:33 2026 +0100
Ensure the main router default route once per transaction
Folded into the ovn-bgp-2-host_zigo_route-chassis-routers-to-
geneve-externals patch: running the main router default route ensure
once per chassis in the full sync's single transaction made the
may-exist route scan (ovsdbapp LrRouteAddCommand) hit the
just-inserted row, whose data does not carry external_ids yet (an
AttributeError nondeterministically killing the topology
synchronization of every fresh worker). ReconcileChassisCommand takes
an ensure_default_route flag, and the full sync passes False,
ensuring the default route once, globally, after all the chassis
peerings exist.
commit 9581e1dc82cd070df5b18ba21e86886d5c0a83a4
Author: Thomas Goirand <zigo@debian.org>
Date: Mon Nov 30 22:10:10 2026 +0100
Guard the BGP chassis-router LRP lookup against unloaded rows
_lrps_to_chassis_routers() reads router.ports, but a Logical_Router
created (or deleted) by a transaction in flight may not have its
columns loaded in the IDL cache yet: reading .ports then raises an
AttributeError which kills the whole BGP topology synchronization on
freshly started workers, leaving the worker holding the topology lock
with an unbuilt topology. A not-yet-populated row is treated as having
no chassis router peerings; the reconciliation re-runs at the next
sync once the row is loaded.
Among the 42 debian patches available in version 2:29.0.0-10 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.