diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index f4a17e773c..6770633dd8 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -2,6 +2,10 @@ kolla_base_distro: "{{ base_distro }}" kolla_install_type: "{{ install_type }}" +# Use a random router id, otherwise it may result in the same router id +# in the CI gate. +keepalived_virtual_router_id: "{{ 250 | random(1) }}" + {% if hostvars|length > 2 %} kolla_internal_vip_address: "{{ api_interface_address }}" enable_haproxy: "no"