Skip to content

Commit d6ab606

Browse files
authored
Merge pull request #846 from stackhpc/2023.1-nova-vf-lag-noswitchdev
bump nova tag - no need to define switchdev in port bindings for VF-lag
2 parents 5492511 + 113ad11 commit d6ab606

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

etc/kayobe/kolla/globals.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ kayobe_image_tags:
1818
neutron:
1919
rocky: 2023.1-rocky-9-20231220T222020
2020
ubuntu: 2023.1-ubuntu-jammy-20231220T222020
21+
nova:
22+
rocky: 2023.1-rocky-9-20231220T222020
23+
ubuntu: 2023.1-ubuntu-jammy-20231220T222020
2124
octavia:
2225
rocky: 2023.1-rocky-9-20231220T222020
2326
ubuntu: 2023.1-ubuntu-jammy-20231220T222020
@@ -29,6 +32,7 @@ openstack_tag: "{% raw %}{{ kayobe_image_tags['openstack'][kolla_base_distro] }}
2932
bifrost_tag: "{% raw %}{{ kayobe_image_tags['bifrost'][kolla_base_distro] }}{% endraw %}"
3033
cloudkitty_tag: "{% raw %}{{ kayobe_image_tags['cloudkitty'][kolla_base_distro] }}{% endraw %}"
3134
neutron_tag: "{% raw %}{{ kayobe_image_tags['neutron'][kolla_base_distro] }}{% endraw %}"
35+
nova_tag: "{% raw %}{{ kayobe_image_tags['nova'][kolla_base_distro] }}{% endraw %}"
3236
octavia_tag: "{% raw %}{{ kayobe_image_tags['octavia'][kolla_base_distro] }}{% endraw %}"
3337
opensearch_tag: "{% raw %}{{ kayobe_image_tags['opensearch'][kolla_base_distro] }}{% endraw %}"
3438

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
fixes:
3+
- |
4+
Previously ``switchdev`` capabilities should be configured manually by a
5+
user with admin privileges using port's binding profile. This blocked
6+
regular users from managing ports with Open vSwitch hardware offloading
7+
as providing write access to a port's binding profile to non-admin users
8+
introduces security risks. For example, a binding profile may contain a
9+
``pci_slot`` definition, which denotes the host PCI address of the
10+
device attached to the VM. A malicious user can use this parameter to
11+
passthrough any host device to a guest, so it is impossible to provide
12+
write access to a binding profile to regular users in many scenarios.
13+
14+
This patch fixes this situation by translating VF capabilities reported
15+
by Libvirt to Neutron port binding profiles. Other VF capabilities are
16+
translated as well for possible future use.
17+
`LP#2008238 <https://bugs.launchpad.net/nova/+bug/2008238>`__.
18+
`LP#2020813 <https://bugs.launchpad.net/nova/+bug/2020813>`__.

0 commit comments

Comments
 (0)