Skip to content

bump nova tag - no need to define switchdev in port bindings for VF-lag #846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions etc/kayobe/kolla/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ kayobe_image_tags:
neutron:
rocky: 2023.1-rocky-9-20231220T222020
ubuntu: 2023.1-ubuntu-jammy-20231220T222020
nova:
rocky: 2023.1-rocky-9-20231220T222020
ubuntu: 2023.1-ubuntu-jammy-20231220T222020
octavia:
rocky: 2023.1-rocky-9-20231220T222020
ubuntu: 2023.1-ubuntu-jammy-20231220T222020
Expand All @@ -29,6 +32,7 @@ openstack_tag: "{% raw %}{{ kayobe_image_tags['openstack'][kolla_base_distro] }}
bifrost_tag: "{% raw %}{{ kayobe_image_tags['bifrost'][kolla_base_distro] }}{% endraw %}"
cloudkitty_tag: "{% raw %}{{ kayobe_image_tags['cloudkitty'][kolla_base_distro] }}{% endraw %}"
neutron_tag: "{% raw %}{{ kayobe_image_tags['neutron'][kolla_base_distro] }}{% endraw %}"
nova_tag: "{% raw %}{{ kayobe_image_tags['nova'][kolla_base_distro] }}{% endraw %}"
octavia_tag: "{% raw %}{{ kayobe_image_tags['octavia'][kolla_base_distro] }}{% endraw %}"
opensearch_tag: "{% raw %}{{ kayobe_image_tags['opensearch'][kolla_base_distro] }}{% endraw %}"

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
fixes:
- |
Previously ``switchdev`` capabilities should be configured manually by a
user with admin privileges using port's binding profile. This blocked
regular users from managing ports with Open vSwitch hardware offloading
as providing write access to a port's binding profile to non-admin users
introduces security risks. For example, a binding profile may contain a
``pci_slot`` definition, which denotes the host PCI address of the
device attached to the VM. A malicious user can use this parameter to
passthrough any host device to a guest, so it is impossible to provide
write access to a binding profile to regular users in many scenarios.

This patch fixes this situation by translating VF capabilities reported
by Libvirt to Neutron port binding profiles. Other VF capabilities are
translated as well for possible future use.
`LP#2008238 <https://bugs.launchpad.net/nova/+bug/2008238>`__.
`LP#2020813 <https://bugs.launchpad.net/nova/+bug/2020813>`__.