Skip to content

Commit f0edc21

Browse files
jovialtomclark0
andauthored
(2023.1) Reintroduce networking-mlnx (#1211)
* Reintroduce networking-mlnx * Use stackhpc fork * Use images built from StackHPC branch * Pin ironic neutron agent This wasn't rebuilt * Update kolla-image-tags.yml * Remove WIP references * Adds release note * Update kolla-image-tags.yml * Simplify * Update etc/kayobe/kolla-image-tags.yml --------- Co-authored-by: Tom Clark <[email protected]>
1 parent f7b7b4e commit f0edc21

File tree

5 files changed

+32
-3
lines changed

5 files changed

+32
-3
lines changed

etc/kayobe/environments/ci-builder/stackhpc-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ kolla_enable_magnum: true
2222
kolla_enable_manila: true
2323
kolla_enable_mariabackup: true
2424
kolla_enable_neutron_sriov: true
25+
kolla_enable_neutron_mlnx: true
2526
kolla_enable_octavia: true
2627
kolla_enable_opensearch: true
2728
kolla_enable_prometheus: true

etc/kayobe/kolla-image-tags.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ kolla_image_tags:
3030
manila:
3131
rocky-9: 2023.1-rocky-9-20240809T102431
3232
neutron:
33-
rocky-9: 2023.1-rocky-9-20240809T102431
33+
rocky-9: 2023.1-rocky-9-20240916T114629
34+
ubuntu-jammy: 2023.1-ubuntu-jammy-20240916T114629
3435
nova:
35-
rocky-9: 2023.1-rocky-9-20240723T140948
36-
ubuntu-jammy: 2023.1-ubuntu-jammy-20240723T140948
36+
rocky-9: 2023.1-rocky-9-20240916T114629
37+
ubuntu-jammy: 2023.1-ubuntu-jammy-20240916T114629
3738
octavia:
3839
rocky-9: 2023.1-rocky-9-20240730T090421
3940
ubuntu-jammy: 2023.1-ubuntu-jammy-20240730T090421

etc/kayobe/kolla.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ kolla_sources:
147147
type: git
148148
location: https://github.com/stackhpc/networking-generic-switch.git
149149
reference: stackhpc/{{ openstack_release }}
150+
neutron-server-plugin-networking-mlnx:
151+
type: git
152+
location: https://github.com/stackhpc/networking-mlnx
153+
reference: stackhpc/{{ openstack_release }}
154+
nova-compute-plugin-networking-mlnx:
155+
type: git
156+
location: https://github.com/stackhpc/networking-mlnx
157+
reference: stackhpc/{{ openstack_release }}
150158

151159
###############################################################################
152160
# Kolla image build configuration.
@@ -339,6 +347,12 @@ kolla_build_blocks:
339347
{% set magnum_capi_packages = ['magnum-capi-helm==1.1.0'] %}
340348
RUN {{ macros.install_pip(magnum_capi_packages | customizable("pip_packages")) }}
341349
{% endraw %}
350+
nova_compute_header:
351+
# See: https://review.opendev.org/c/openstack/kolla/+/878663/1/docker/neutron/neutron-mlnx-agent/Dockerfile.j2
352+
RUN sed -e "s/^pyzmq===20.0.0/pyzmq==21.*/g" -i /requirements/upper-constraints.txt
353+
neutron_server_header:
354+
# See: https://review.opendev.org/c/openstack/kolla/+/878663/1/docker/neutron/neutron-mlnx-agent/Dockerfile.j2
355+
RUN sed -e "s/^pyzmq===20.0.0/pyzmq==21.*/g" -i /requirements/upper-constraints.txt
342356
prometheus_alertmanager_repository_version: | # 2023.1 kolla has 0.24.0
343357
{% raw %}
344358
ARG prometheus_alertmanager_version=0.26.0
@@ -431,6 +445,12 @@ kolla_build_customizations_common:
431445
- /additions/*
432446
ironic_inspector_pip_packages_append:
433447
- /additions/*
448+
neutron_server_packages_append:
449+
- python3-libvirt
450+
- python3-ethtool
451+
nova_compute_packages_append:
452+
- python3-libvirt
453+
- python3-ethtool
434454

435455
kolla_build_customizations_rocky:
436456
kolla_toolbox_packages_remove:

etc/kayobe/pulp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ stackhpc_pulp_images_kolla:
491491
- neutron-dhcp-agent
492492
- neutron-l3-agent
493493
- neutron-metadata-agent
494+
- neutron-mlnx-agent
494495
- neutron-openvswitch-agent
495496
- neutron-server
496497
- neutron-sriov-agent
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
features:
3+
- |
4+
Adds the ``networking-mlnx`` mechanism driver to the Neutron Server
5+
container and ``ebrctl``utility to the Nova Compute container. This allows
6+
you to use the ``kolla_enable_neutron_mlnx`` feature flag.

0 commit comments

Comments
 (0)