Skip to content

(2023.1) Reintroduce networking-mlnx #1211

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 12 commits into from
Sep 19, 2024
1 change: 1 addition & 0 deletions etc/kayobe/environments/ci-builder/stackhpc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ kolla_enable_magnum: true
kolla_enable_manila: true
kolla_enable_mariabackup: true
kolla_enable_neutron_sriov: true
kolla_enable_neutron_mlnx: true
kolla_enable_octavia: true
kolla_enable_opensearch: true
kolla_enable_prometheus: true
Expand Down
7 changes: 4 additions & 3 deletions etc/kayobe/kolla-image-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ kolla_image_tags:
manila:
rocky-9: 2023.1-rocky-9-20240809T102431
neutron:
rocky-9: 2023.1-rocky-9-20240809T102431
rocky-9: 2023.1-rocky-9-20240916T114629
ubuntu-jammy: 2023.1-ubuntu-jammy-20240916T114629
nova:
rocky-9: 2023.1-rocky-9-20240723T140948
ubuntu-jammy: 2023.1-ubuntu-jammy-20240723T140948
rocky-9: 2023.1-rocky-9-20240916T114629
ubuntu-jammy: 2023.1-ubuntu-jammy-20240916T114629
octavia:
rocky-9: 2023.1-rocky-9-20240730T090421
ubuntu-jammy: 2023.1-ubuntu-jammy-20240730T090421
Expand Down
20 changes: 20 additions & 0 deletions etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,14 @@ kolla_sources:
type: git
location: https://github.com/stackhpc/networking-generic-switch.git
reference: stackhpc/{{ openstack_release }}
neutron-server-plugin-networking-mlnx:
type: git
location: https://github.com/stackhpc/networking-mlnx
reference: stackhpc/{{ openstack_release }}
nova-compute-plugin-networking-mlnx:
type: git
location: https://github.com/stackhpc/networking-mlnx
reference: stackhpc/{{ openstack_release }}

###############################################################################
# Kolla image build configuration.
Expand Down Expand Up @@ -339,6 +347,12 @@ kolla_build_blocks:
{% set magnum_capi_packages = ['magnum-capi-helm==1.1.0'] %}
RUN {{ macros.install_pip(magnum_capi_packages | customizable("pip_packages")) }}
{% endraw %}
nova_compute_header:
# See: https://review.opendev.org/c/openstack/kolla/+/878663/1/docker/neutron/neutron-mlnx-agent/Dockerfile.j2
RUN sed -e "s/^pyzmq===20.0.0/pyzmq==21.*/g" -i /requirements/upper-constraints.txt
neutron_server_header:
# See: https://review.opendev.org/c/openstack/kolla/+/878663/1/docker/neutron/neutron-mlnx-agent/Dockerfile.j2
RUN sed -e "s/^pyzmq===20.0.0/pyzmq==21.*/g" -i /requirements/upper-constraints.txt
prometheus_alertmanager_repository_version: | # 2023.1 kolla has 0.24.0
{% raw %}
ARG prometheus_alertmanager_version=0.26.0
Expand Down Expand Up @@ -431,6 +445,12 @@ kolla_build_customizations_common:
- /additions/*
ironic_inspector_pip_packages_append:
- /additions/*
neutron_server_packages_append:
- python3-libvirt
- python3-ethtool
nova_compute_packages_append:
- python3-libvirt
- python3-ethtool

kolla_build_customizations_rocky:
kolla_toolbox_packages_remove:
Expand Down
1 change: 1 addition & 0 deletions etc/kayobe/pulp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ stackhpc_pulp_images_kolla:
- neutron-dhcp-agent
- neutron-l3-agent
- neutron-metadata-agent
- neutron-mlnx-agent
- neutron-openvswitch-agent
- neutron-server
- neutron-sriov-agent
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
features:
- |
Adds the ``networking-mlnx`` mechanism driver to the Neutron Server
container and ``ebrctl``utility to the Nova Compute container. This allows
you to use the ``kolla_enable_neutron_mlnx`` feature flag.
Loading