Use a random keepalived router id in CI environment

Use the same router will result in conflict in the CI environment.

Change-Id: Id1ba69ebbf67b4cead855adbe440343c05ea3d1e
Closes-Bug: #1744913
This commit is contained in:
Jeffrey Zhang 2018-01-23 18:18:50 +08:00 committed by Jeffrey Zhang
parent 6147c137d3
commit bf4a3c9f6c

View File

@ -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"