Build neutron-sriov-agent image when enabled

Set kolla_enable_neutron_sriov, and the neutron-sriov-agent image does
not get built. This change fixes the issue.

Story: 2009275
Task: 43530
Change-Id: Ide13ad5d39388a3d484bb0285adf49e978239515
This commit is contained in:
Mark Goddard 2021-10-06 12:40:44 +01:00
parent f11c73ff03
commit a669ccfa26
2 changed files with 8 additions and 0 deletions

View File

@ -202,6 +202,8 @@ overcloud_container_image_regex_map:
enabled: "{{ kolla_enable_neutron | bool }}" enabled: "{{ kolla_enable_neutron | bool }}"
- regex: neutron-mlnx-agent - regex: neutron-mlnx-agent
enabled: "{{ kolla_enable_neutron_mlnx | bool }}" enabled: "{{ kolla_enable_neutron_mlnx | bool }}"
- regex: neutron-sriov-agent
enabled: "{{ kolla_enable_neutron_sriov | bool }}"
- regex: ^nova - regex: ^nova
enabled: "{{ kolla_enable_nova | bool }}" enabled: "{{ kolla_enable_nova | bool }}"
- regex: ^octavia - regex: ^octavia
@ -556,6 +558,7 @@ kolla_enable_multipathd: "no"
kolla_enable_murano: "no" kolla_enable_murano: "no"
kolla_enable_neutron_mlnx: "no" kolla_enable_neutron_mlnx: "no"
kolla_enable_neutron_provider_networks: "no" kolla_enable_neutron_provider_networks: "no"
kolla_enable_neutron_sriov: "no"
kolla_enable_octavia: "no" kolla_enable_octavia: "no"
kolla_enable_openvswitch: "{{ kolla_enable_neutron | bool }}" kolla_enable_openvswitch: "{{ kolla_enable_neutron | bool }}"
kolla_enable_ovn: "no" kolla_enable_ovn: "no"

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes an issue where the Neutron SR-IOV agent image is not built when the
service is enabled.