Skip to content

Commit 05d3f42

Browse files
committed
Install networking-mlnx
This was removed in the Gazpacho update. This restores the plugins into the neutron and nova containers.
1 parent 85ccafb commit 05d3f42

2 files changed

Lines changed: 34 additions & 6 deletions

File tree

etc/kayobe/kolla.yml

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,18 @@ kolla_sources:
165165
type: git
166166
location: https://github.com/stackhpc/networking-generic-switch.git
167167
reference: stackhpc/{{ openstack_release }}
168+
neutron-server-plugin-networking-mlnx:
169+
type: git
170+
location: https://opendev.org/x/networking-mlnx
171+
reference: stable/{{ openstack_release }}
168172
nova-base:
169173
type: git
170174
location: https://github.com/stackhpc/nova.git
171175
reference: stackhpc/{{ openstack_release }}
176+
nova-compute-plugin-networking-mlnx:
177+
type: git
178+
location: https://opendev.org/x/networking-mlnx
179+
reference: stable/{{ openstack_release }}
172180
openstack-base:
173181
type: git
174182
location: https://github.com/stackhpc/requirements.git
@@ -216,6 +224,20 @@ kolla_build_blocks:
216224
# Hyphens in the image name must be replaced with underscores. The
217225
# customization is most commonly packages. The operation should be one of
218226
# override, append or remove. The value should be a list.
227+
ethtool_packages:
228+
rocky:
229+
- libnl3-devel
230+
- pkg-config
231+
- gcc
232+
- python3-devel
233+
ubuntu:
234+
- libnl-3-dev
235+
- libnl-route-3-dev
236+
- libnl-genl-3-dev
237+
- build-essential
238+
- pkg-config
239+
- python3-dev
240+
219241
kolla_build_customizations_common:
220242
bifrost_base_pip_packages_append:
221243
- /additions/*
@@ -226,12 +248,12 @@ kolla_build_customizations_common:
226248
magnum_base_pip_packages_override:
227249
- /magnum[osprofiler]
228250
- magnum-capi-helm==1.3.0
229-
neutron_server_packages_append:
230-
- python3-libvirt
231-
nova_compute_packages_append:
232-
- python3-libvirt
233-
neutron_mlnx_agent_pip_packages_override:
234-
- networking-mlnx@git+https://opendev.org/x/networking-mlnx@master
251+
neutron_server_packages_append: "{{ ['python3-libvirt'] + ethtool_packages[kolla_base_distro] }}"
252+
neutron_server_pip_packages_append:
253+
- ethtool
254+
nova_compute_packages_append: "{{ ['python3-libvirt'] + ethtool_packages[kolla_base_distro] }}"
255+
nova_compute_pip_packages_append:
256+
- ethtool
235257

236258
#stackhpc_kolla_build_customizations:
237259

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Restores the ``networking-mlnx`` plugin to the Neutron Server and Nova
5+
Compute containers. This was inadvertently removed during the Gazpacho
6+
update.

0 commit comments

Comments
 (0)