2017-05-18 08:20:14 -07:00
|
|
|
---
|
2017-10-01 23:21:38 +08:00
|
|
|
kolla_base_distro: "{{ base_distro }}"
|
|
|
|
kolla_install_type: "{{ install_type }}"
|
2017-05-18 08:20:14 -07:00
|
|
|
|
2018-01-23 18:18:50 +08:00
|
|
|
# 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) }}"
|
|
|
|
|
2018-03-05 14:33:04 +00:00
|
|
|
{% if scenario != "bifrost" %}
|
2017-10-01 23:21:38 +08:00
|
|
|
{% if hostvars|length > 2 %}
|
2017-05-18 08:20:14 -07:00
|
|
|
kolla_internal_vip_address: "{{ api_interface_address }}"
|
2017-10-17 11:18:44 -07:00
|
|
|
enable_haproxy: "no"
|
2017-05-18 08:20:14 -07:00
|
|
|
{% else %}
|
|
|
|
kolla_internal_vip_address: "169.254.169.10"
|
|
|
|
{% endif %}
|
2018-03-05 14:33:04 +00:00
|
|
|
{% endif %}
|
2017-05-18 08:20:14 -07:00
|
|
|
|
|
|
|
network_interface: "{{ api_interface_name }}"
|
|
|
|
docker_restart_policy: "never"
|
2017-11-15 10:12:54 +08:00
|
|
|
{% if need_build_image %}
|
2017-05-18 08:20:14 -07:00
|
|
|
# NOTE(Jeffrey4l): use different a docker namespace name in case it pull image from hub.docker.io when deplying
|
|
|
|
docker_namespace: "lokolla"
|
|
|
|
docker_registry: "{{ api_interface_address }}:4000"
|
2017-11-15 10:12:54 +08:00
|
|
|
{% else %}
|
|
|
|
# use docker hub images
|
|
|
|
docker_namespace: "kolla"
|
2017-10-17 11:18:44 -07:00
|
|
|
openstack_release: "{{ zuul.branch | basename }}"
|
2017-11-15 10:12:54 +08:00
|
|
|
{% endif %}
|
2018-03-05 14:33:04 +00:00
|
|
|
{% if scenario != "bifrost" %}
|
2017-05-18 08:20:14 -07:00
|
|
|
neutron_external_interface: "fake_interface"
|
|
|
|
enable_horizon: "yes"
|
|
|
|
enable_heat: "no"
|
|
|
|
openstack_logging_debug: "True"
|
|
|
|
openstack_service_workers: "1"
|
2018-03-05 14:33:04 +00:00
|
|
|
{% endif %}
|
2017-05-22 10:03:36 -07:00
|
|
|
|
2018-01-16 11:14:54 +07:00
|
|
|
# This is experimental feature, disable if gate fail.
|
|
|
|
glance_enable_rolling_upgrade: "yes"
|
|
|
|
|
2017-10-17 11:18:44 -07:00
|
|
|
{% if scenario == "ceph" %}
|
2017-05-22 10:03:36 -07:00
|
|
|
enable_ceph: "yes"
|
|
|
|
enable_cinder: "yes"
|
2018-04-30 15:35:04 +00:00
|
|
|
ceph_pool_pg_num: 8
|
|
|
|
ceph_pool_pgp_num: 8
|
2017-05-22 10:03:36 -07:00
|
|
|
{% endif %}
|
2018-03-08 07:50:16 +00:00
|
|
|
|
|
|
|
keystone_token_provider: "fernet"
|