diff --git a/ansible/inventory/group_vars/all/kolla b/ansible/inventory/group_vars/all/kolla index 93c7a895c..e0bd26635 100644 --- a/ansible/inventory/group_vars/all/kolla +++ b/ansible/inventory/group_vars/all/kolla @@ -202,7 +202,7 @@ overcloud_container_image_regex_map: - regex: "neutron-\\(server\\|metadata-agent\\)" enabled: "{{ kolla_enable_neutron | bool }}" - regex: "neutron-\\(dhcp\\|l3\\|linuxbridge\\|openvswitch\\)-agent" - enabled: "{{ kolla_enable_neutron | bool and not kolla_enable_ovn | bool}}" + enabled: "{{ kolla_build_neutron_ovs | default(kolla_enable_neutron | bool and not kolla_enable_ovn | bool) }}" - regex: neutron-mlnx-agent enabled: "{{ kolla_enable_neutron_mlnx | bool }}" - regex: neutron-ovn-agent diff --git a/doc/source/deployment.rst b/doc/source/deployment.rst index 24bd7c554..13bfcefee 100644 --- a/doc/source/deployment.rst +++ b/doc/source/deployment.rst @@ -533,6 +533,12 @@ image name regular expressions:: (kayobe) $ kayobe overcloud container image build ironic- nova-api +When your environment uses OVN, OVS images will not be built. If you want to +build all Neutron images at the same time, extra variable ``kolla_build_neutron_ovs`` +needs to be set to ``true``:: + + (kayobe) $ kayobe overcloud container image build -e kolla_build_neutron_ovs=true + In order to push images to a registry after they are built, add the ``--push`` argument. diff --git a/releasenotes/notes/add_option_to_build_OVS_images_while_using_OVN-48471bbaebc953be.yaml b/releasenotes/notes/add_option_to_build_OVS_images_while_using_OVN-48471bbaebc953be.yaml new file mode 100644 index 000000000..5f03bfb91 --- /dev/null +++ b/releasenotes/notes/add_option_to_build_OVS_images_while_using_OVN-48471bbaebc953be.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + Adds a new variable ``kolla_build_neutron_ovs`` which gives users to have + option to build OVS container images while the system is using OVN. + This is useful when an user wants to build all container images at the + same time.