Skip to content

Yoga Infiniband #1102

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

Closed
wants to merge 11 commits into from
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 @@ -23,6 +23,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_ovn: true
Expand Down
32 changes: 32 additions & 0 deletions etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,18 @@ 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://opendev.org/x/networking-mlnx
reference: stable/{{ openstack_release }}
nova-base:
type: git
location: https://github.com/stackhpc/nova.git
reference: stackhpc/{{ openstack_release }}
nova-compute-plugin-networking-mlnx:
type: git
location: https://opendev.org/x/networking-mlnx
reference: stable/{{ openstack_release }}

###############################################################################
# Kolla image build configuration.
Expand Down Expand Up @@ -414,6 +422,18 @@ kolla_build_blocks:
rm -f liblasso3_2.7.0-2build3_amd64.deb
{% endif %}
{% endraw %}
neutron_server_footer: |
{% if kolla_base_distro in ['centos', 'rocky'] %}
# Install networking-mlnx plugin and dependencies
{% raw %}
{% if base_package_type == 'rpm' %}
ADD plugins-archive /
RUN python3 -m pip --no-cache-dir install /plugins/* \
&& dnf install python3-libvirt python3-ethtool -y \
&& dnf clean all
{% endif %}
{% endraw %}
{% endif %}
nova_base_footer: |
{% if kolla_base_distro == 'centos' %}
# Fix for https://bugs.launchpad.net/nova/+bug/1955035, i.e.
Expand All @@ -424,6 +444,18 @@ kolla_build_blocks:
{% endif %}
{% endraw %}
{% endif %}
nova_compute_footer: |
{% if kolla_base_distro in ['centos', 'rocky'] %}
# Install networking-mlnx plugin and dependencies
{% raw %}
{% if base_package_type == 'rpm' %}
ADD plugins-archive /
RUN python3 -m pip --no-cache-dir install /plugins/* \
&& dnf install python3-libvirt python3-ethtool -y \
&& dnf clean all
{% endif %}
{% endraw %}
{% endif %}
magnum_base_footer: |
RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | head -n -1 | bash
{% raw %}
Expand Down
1 change: 1 addition & 0 deletions etc/kayobe/pulp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,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
Loading