Merge "Use a random keepalived router id in CI environment"

This commit is contained in:
Zuul 2018-01-23 14:43:53 +00:00 committed by Gerrit Code Review
commit c086b2c4ec

View File

@ -2,6 +2,10 @@
kolla_base_distro: "{{ base_distro }}" kolla_base_distro: "{{ base_distro }}"
kolla_install_type: "{{ install_type }}" 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 %} {% if hostvars|length > 2 %}
kolla_internal_vip_address: "{{ api_interface_address }}" kolla_internal_vip_address: "{{ api_interface_address }}"
enable_haproxy: "no" enable_haproxy: "no"