Debian Codegraph @

releasenotes/notes/always-plug-vifs-for-ovs-1d033fc49a9c6c4e.yaml

raw symbols SCIP
1 ---
2 features:
3 - |
4 In this release the OVS plugin was extended to always plug VIFs even when
5 libvirt could plug the vif. This will enable faster migration leveraging
6 the multiple port bindings work completed in the Rocky release.
7 security:
8 - |
9 In this release an edgecase where libvirt plugged the VIF instead of os-vif
10 was addressed. Previously if ``ovs_hybrid_plug`` was set to ``False`` in
11 the port binding details, os-vif would only ensure the ovs bridge existed
12 and the plugging would be done by libvirt. As a result during live
13 migration, there was a short interval where a guest could receive tagged
14 broadcast, multicast, or flooded traffic to/from another tenant.
15 This vulnerability is described in `bug 1734320`_. By ensuring that
16 os-vif always creates the OVS port as part of vif plugging we enable
17 neutron to isolate the port prior to nova resuming the VM on the
18 destination node. Note that as Nova cannot rely on Neutron to send
19 ``network-vif-plugged`` events on completion of wiring up an interface
20 it cannot wait to receive a notification before proceeding with the
21 migration. As a result this is a partial mitigation and additional changes
22 will be required to fully address this bug.
23
24 .. _bug 1734320: https://bugs.launchpad.net/neutron/+bug/1734320
25 - |
26 A new config option was introduced for the OVS VIF plugin.
27 The ``isolate_vif`` option was added as a partial mitigation of
28 `bug 1734320`_. The ``isolate_vif`` option defaults to ``False`` for
29 backwards compatibility with SDN controller based OpenStack deployments.
30 For all deployments using the reference implementation of ML2/OVS with
31 the neutron L2 agents, ``isolate_vif`` should be set to ``True``.
32 This option instructs the OVS plugin to assign the VIF to the
33 Neutron dead VLAN (4095) when attaching the interface to OVS. By setting
34 the VIF's VLAN to this dead VLAN number, we eliminate the small attack
35 vector that exists for other tenants to read packets during the VIF's
36 bring up.
37