kolla-ansible/tests/templates/globals-default.j2
Michal (inc0) Jastrzebski 478e2cf9c9 Enable multinode scenarios in zuulv3
Another step to migrate to new CI

Change-Id: Id9bf9b4b1114f5be66f6c028a0db16d869efeceb
Depends-On: Iaacdca31b27b7033ec08499bcea7061b9d3ec279
2017-12-27 09:21:35 -08:00

35 lines
952 B
Django/Jinja

---
kolla_base_distro: "{{ base_distro }}"
kolla_install_type: "{{ install_type }}"
{% if hostvars|length > 2 %}
kolla_internal_vip_address: "{{ api_interface_address }}"
enable_haproxy: "no"
{% else %}
kolla_internal_vip_address: "169.254.169.10"
{% endif %}
network_interface: "{{ api_interface_name }}"
docker_restart_policy: "never"
{% if need_build_image %}
# 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"
{% else %}
# use docker hub images
docker_namespace: "kolla"
openstack_release: "{{ zuul.branch | basename }}"
{% endif %}
neutron_external_interface: "fake_interface"
enable_horizon: "yes"
enable_heat: "no"
openstack_logging_debug: "True"
openstack_service_workers: "1"
{% if scenario == "ceph" %}
enable_ceph: "yes"
enable_cinder: "yes"
ceph_pool_pg_num: 64
ceph_pool_pgp_num: 64
{% endif %}