2015-06-17 08:11:44 +00:00
|
|
|
---
|
2015-08-18 14:03:44 +00:00
|
|
|
# The options in this file can be overridden in 'globals.yml'
|
2015-06-17 08:11:44 +00:00
|
|
|
|
|
|
|
# The "temp" files that are created before merge need to stay persistent due
|
|
|
|
# to the fact that ansible will register a "change" if it has to create them
|
|
|
|
# again. Persistent files allow for idempotency
|
2015-10-01 07:43:18 +00:00
|
|
|
container_config_directory: "/var/lib/kolla/config_files"
|
2015-06-17 08:11:44 +00:00
|
|
|
|
2016-05-19 02:39:37 -04:00
|
|
|
# The directory to merge custom config files the kolla's config files
|
|
|
|
node_custom_config: "/etc/kolla/config"
|
|
|
|
|
2016-05-18 13:04:14 -04:00
|
|
|
# The project to generate configuration files for
|
|
|
|
project: ""
|
|
|
|
|
2015-06-17 08:11:44 +00:00
|
|
|
# The directory to store the config files on the destination node
|
2016-05-18 13:04:14 -04:00
|
|
|
node_config_directory: "/etc/kolla/{{ project }}"
|
2015-08-20 17:09:54 +00:00
|
|
|
|
2015-07-12 03:02:33 +00:00
|
|
|
|
2015-08-18 14:03:44 +00:00
|
|
|
###################
|
|
|
|
# Kolla options
|
|
|
|
###################
|
2016-06-09 20:29:54 +00:00
|
|
|
|
|
|
|
# Which orchestration engine to use. Valid options are [ ANSIBLE, KUBERNETES ]
|
|
|
|
orchestration_engine: "ANSIBLE"
|
|
|
|
|
2015-08-27 13:06:35 +00:00
|
|
|
# Valid options are [ COPY_ONCE, COPY_ALWAYS ]
|
2016-03-01 15:49:15 +00:00
|
|
|
config_strategy: "COPY_ALWAYS"
|
2015-07-12 03:02:33 +00:00
|
|
|
|
2016-11-03 10:37:21 +01:00
|
|
|
# Valid options are [ centos, oraclelinux, ubuntu ]
|
2015-08-18 14:03:44 +00:00
|
|
|
kolla_base_distro: "centos"
|
|
|
|
# Valid options are [ binary, source ]
|
|
|
|
kolla_install_type: "binary"
|
|
|
|
|
2016-02-26 01:02:25 +00:00
|
|
|
kolla_internal_vip_address: "{{ kolla_internal_address }}"
|
2016-02-28 11:13:05 +08:00
|
|
|
kolla_internal_fqdn: "{{ kolla_internal_vip_address }}"
|
2016-02-26 01:02:25 +00:00
|
|
|
kolla_external_vip_address: "{{ kolla_internal_vip_address }}"
|
|
|
|
kolla_external_fqdn: "{{ kolla_internal_fqdn if kolla_external_vip_address == kolla_internal_vip_address else kolla_external_vip_address }}"
|
2015-08-18 14:03:44 +00:00
|
|
|
|
2016-02-18 07:59:53 -05:00
|
|
|
kolla_enable_sanity_checks: "no"
|
2015-11-20 10:35:25 -06:00
|
|
|
|
|
|
|
kolla_enable_sanity_keystone: "{{ kolla_enable_sanity_checks }}"
|
2015-12-02 14:19:01 -06:00
|
|
|
kolla_enable_sanity_glance: "{{ kolla_enable_sanity_checks }}"
|
2016-02-27 16:22:34 -08:00
|
|
|
kolla_enable_sanity_cinder: "{{ kolla_enable_sanity_checks }}"
|
2016-02-29 11:24:06 +03:00
|
|
|
kolla_enable_sanity_swift: "{{ kolla_enable_sanity_checks }}"
|
2015-08-18 14:03:44 +00:00
|
|
|
|
2016-06-09 20:29:54 +00:00
|
|
|
|
|
|
|
####################
|
|
|
|
# kolla-kubernetes
|
|
|
|
####################
|
|
|
|
# By default, Kolla API services bind to the network address assigned
|
|
|
|
# to the api_interface. Allow the bind address to be an override. In
|
|
|
|
# some cases (Kubernetes), the api_interface address is not known
|
|
|
|
# until container runtime, and thus it is necessary to bind to all
|
|
|
|
# interfaces "0.0.0.0". When used outside of Kubernetes, binding to
|
|
|
|
# all interfaces may present a security issue, and thus is not
|
|
|
|
# recommended.
|
|
|
|
api_interface_address: "{{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] if orchestration_engine == 'ANSIBLE' else '0.0.0.0' }}"
|
|
|
|
|
2015-08-18 14:03:44 +00:00
|
|
|
####################
|
|
|
|
# Database options
|
|
|
|
####################
|
2016-02-26 01:02:25 +00:00
|
|
|
database_address: "{{ kolla_internal_fqdn }}"
|
2015-08-18 14:03:44 +00:00
|
|
|
database_user: "root"
|
2016-05-06 15:51:55 +01:00
|
|
|
database_port: "3306"
|
2015-08-18 14:03:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
####################
|
|
|
|
# Docker options
|
|
|
|
####################
|
2015-11-22 00:34:29 +00:00
|
|
|
docker_registry_email:
|
2015-08-18 14:03:44 +00:00
|
|
|
docker_registry:
|
2016-06-14 12:32:50 +05:30
|
|
|
docker_namespace: "kolla"
|
2015-08-18 14:03:44 +00:00
|
|
|
docker_registry_username:
|
|
|
|
|
2016-09-23 02:25:23 -04:00
|
|
|
# Valid options are [ never, on-failure, always, unless-stopped ]
|
|
|
|
docker_restart_policy: "unless-stopped"
|
2015-08-18 14:03:44 +00:00
|
|
|
|
|
|
|
# '0' means unlimited retries
|
|
|
|
docker_restart_policy_retry: "10"
|
|
|
|
|
2015-11-22 00:34:29 +00:00
|
|
|
# Common options used throughout docker
|
|
|
|
docker_common_options:
|
|
|
|
auth_email: "{{ docker_registry_email }}"
|
|
|
|
auth_password: "{{ docker_registry_password }}"
|
|
|
|
auth_registry: "{{ docker_registry }}"
|
|
|
|
auth_username: "{{ docker_registry_username }}"
|
|
|
|
environment:
|
|
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
|
|
restart_policy: "{{ docker_restart_policy }}"
|
|
|
|
restart_retries: "{{ docker_restart_policy_retry }}"
|
|
|
|
|
2015-08-18 14:03:44 +00:00
|
|
|
|
2016-03-31 15:32:00 -03:00
|
|
|
####################
|
|
|
|
# keepalived options
|
|
|
|
####################
|
2016-07-14 20:10:09 +08:00
|
|
|
# Arbitrary unique number from 0..255
|
2016-03-31 15:32:00 -03:00
|
|
|
keepalived_virtual_router_id: "51"
|
|
|
|
|
|
|
|
|
2015-08-18 14:03:44 +00:00
|
|
|
####################
|
|
|
|
# Networking options
|
|
|
|
####################
|
2016-08-11 15:41:29 +00:00
|
|
|
network_interface: "eth0"
|
|
|
|
neutron_external_interface: "eth1"
|
2016-02-18 13:50:39 -05:00
|
|
|
kolla_external_vip_interface: "{{ network_interface }}"
|
2015-08-18 14:03:44 +00:00
|
|
|
api_interface: "{{ network_interface }}"
|
|
|
|
storage_interface: "{{ network_interface }}"
|
2016-05-16 11:38:46 +08:00
|
|
|
cluster_interface: "{{ network_interface }}"
|
2015-08-18 14:03:44 +00:00
|
|
|
tunnel_interface: "{{ network_interface }}"
|
2016-07-30 01:11:35 +00:00
|
|
|
bifrost_network_interface: "{{ network_interface }}"
|
2016-11-01 07:34:02 -04:00
|
|
|
tunnel_interface_address: "{{ hostvars[inventory_hostname]['ansible_' + tunnel_interface]['ipv4']['address'] }}"
|
2015-08-18 14:03:44 +00:00
|
|
|
|
2016-09-13 11:24:53 +01:00
|
|
|
# Valid options are [ openvswitch, linuxbridge, sfc ]
|
2015-08-18 14:03:44 +00:00
|
|
|
neutron_plugin_agent: "openvswitch"
|
|
|
|
|
|
|
|
# The default ports used by each service.
|
2016-08-04 06:51:11 +00:00
|
|
|
aodh_api_port: "8042"
|
|
|
|
|
2016-08-08 16:48:11 +00:00
|
|
|
barbican_api_port: "9311"
|
|
|
|
|
2016-03-29 13:25:43 -04:00
|
|
|
ceilometer_api_port: "8777"
|
|
|
|
|
2016-08-17 10:09:42 +00:00
|
|
|
congress_api_port: "1789"
|
|
|
|
|
2016-08-01 02:27:39 +02:00
|
|
|
cloudkitty_api_port: "8889"
|
|
|
|
|
2016-03-31 10:40:55 -04:00
|
|
|
iscsi_port: "3260"
|
|
|
|
|
2016-08-01 05:17:43 +00:00
|
|
|
gnocchi_api_port: "8041"
|
|
|
|
|
2016-05-06 15:51:55 +01:00
|
|
|
mariadb_port: "{{ database_port }}"
|
2015-08-10 05:56:41 +00:00
|
|
|
mariadb_wsrep_port: "4567"
|
|
|
|
mariadb_ist_port: "4568"
|
|
|
|
mariadb_sst_port: "4444"
|
|
|
|
|
2015-08-10 05:02:25 +00:00
|
|
|
rabbitmq_port: "5672"
|
|
|
|
rabbitmq_management_port: "15672"
|
|
|
|
rabbitmq_cluster_port: "25672"
|
|
|
|
rabbitmq_epmd_port: "4369"
|
|
|
|
|
2016-01-18 21:00:45 +00:00
|
|
|
mongodb_port: "27017"
|
|
|
|
mongodb_web_port: "28017"
|
|
|
|
|
2015-09-16 18:39:51 -07:00
|
|
|
haproxy_stats_port: "1984"
|
|
|
|
|
2015-07-12 03:02:33 +00:00
|
|
|
keystone_public_port: "5000"
|
|
|
|
keystone_admin_port: "35357"
|
2016-08-07 13:58:50 +10:00
|
|
|
keystone_ssh_port: "8023"
|
2015-07-12 03:02:33 +00:00
|
|
|
|
|
|
|
glance_api_port: "9292"
|
|
|
|
glance_registry_port: "9191"
|
|
|
|
|
|
|
|
nova_api_port: "8774"
|
2015-08-06 13:14:23 +00:00
|
|
|
nova_metadata_port: "8775"
|
2015-09-20 04:41:37 +00:00
|
|
|
nova_novncproxy_port: "6080"
|
2015-10-18 07:55:34 +00:00
|
|
|
nova_spicehtml5proxy_port: "6082"
|
2015-07-12 03:02:33 +00:00
|
|
|
|
|
|
|
neutron_server_port: "9696"
|
2015-07-27 10:38:35 +00:00
|
|
|
|
2015-08-04 07:39:22 +00:00
|
|
|
cinder_api_port: "8776"
|
2015-07-27 10:38:35 +00:00
|
|
|
|
2015-08-14 13:26:04 +00:00
|
|
|
memcached_port: "11211"
|
|
|
|
|
2015-08-18 14:05:54 +00:00
|
|
|
swift_proxy_server_port: "8080"
|
|
|
|
swift_object_server_port: "6000"
|
|
|
|
swift_account_server_port: "6001"
|
|
|
|
swift_container_server_port: "6002"
|
2016-04-21 12:47:15 -04:00
|
|
|
swift_rsync_port: "10873"
|
2015-08-18 01:49:17 +00:00
|
|
|
|
2016-08-04 17:20:20 +00:00
|
|
|
sahara_api_port: "8386"
|
|
|
|
|
2015-08-02 12:26:30 -07:00
|
|
|
heat_api_port: "8004"
|
|
|
|
heat_api_cfn_port: "8000"
|
|
|
|
|
2015-08-28 10:49:29 +01:00
|
|
|
murano_api_port: "8082"
|
2015-08-02 12:26:30 -07:00
|
|
|
|
2015-08-28 11:26:40 -04:00
|
|
|
ironic_api_port: "6385"
|
|
|
|
|
2015-10-17 18:13:51 +02:00
|
|
|
magnum_api_port: "9511"
|
|
|
|
|
2015-12-23 23:17:47 +02:00
|
|
|
rgw_port: "6780"
|
2015-08-28 11:26:40 -04:00
|
|
|
|
2015-12-28 08:38:30 +09:00
|
|
|
mistral_api_port: "8989"
|
|
|
|
|
2016-02-24 16:05:36 +01:00
|
|
|
kibana_server_port: "5601"
|
2016-01-14 11:06:29 +01:00
|
|
|
|
2016-01-20 08:27:00 +01:00
|
|
|
elasticsearch_port: "9200"
|
|
|
|
|
2016-03-01 10:46:48 -05:00
|
|
|
manila_api_port: "8786"
|
|
|
|
|
2016-07-05 09:47:21 +01:00
|
|
|
watcher_api_port: "9322"
|
|
|
|
|
2016-07-27 06:23:29 +00:00
|
|
|
influxdb_admin_port: "8083"
|
|
|
|
influxdb_http_port: "8086"
|
|
|
|
|
2016-07-08 19:12:50 +02:00
|
|
|
senlin_api_port: "8778"
|
|
|
|
|
2016-09-02 00:48:01 -04:00
|
|
|
etcd_client_port: "2379"
|
|
|
|
etcd_peer_port: "2380"
|
|
|
|
|
2016-03-29 13:25:43 -04:00
|
|
|
kuryr_port: "23750"
|
|
|
|
|
2016-10-18 16:36:05 +08:00
|
|
|
searchlight_api_port: "9393"
|
|
|
|
|
2016-10-25 22:50:09 +05:30
|
|
|
grafana_server_port: "3000"
|
|
|
|
|
2016-02-29 13:51:11 -05:00
|
|
|
public_protocol: "{{ 'https' if kolla_enable_tls_external | bool else 'http' }}"
|
2016-02-12 12:37:13 -05:00
|
|
|
internal_protocol: "http"
|
|
|
|
admin_protocol: "http"
|
|
|
|
|
2015-08-18 14:03:44 +00:00
|
|
|
####################
|
2016-02-04 19:11:05 +05:30
|
|
|
# OpenStack options
|
2015-08-18 14:03:44 +00:00
|
|
|
####################
|
2016-11-17 01:21:01 +08:00
|
|
|
openstack_release: "4.0.0"
|
2015-08-18 14:03:44 +00:00
|
|
|
openstack_logging_debug: "False"
|
|
|
|
|
|
|
|
openstack_region_name: "RegionOne"
|
2015-08-18 01:49:17 +00:00
|
|
|
|
2016-08-03 02:35:58 +00:00
|
|
|
openstack_service_workers: "{{ [ansible_processor_vcpus, 5]|min if orchestration_engine == 'ANSIBLE' else '1'}}"
|
2016-05-16 21:53:16 +08:00
|
|
|
|
2015-11-05 03:27:57 +00:00
|
|
|
# Optionally allow Kolla to set sysctl values
|
|
|
|
set_sysctl: "yes"
|
|
|
|
|
2015-10-18 07:55:34 +00:00
|
|
|
# Valid options are [ novnc, spice ]
|
|
|
|
nova_console: "novnc"
|
|
|
|
|
2016-02-04 19:11:05 +05:30
|
|
|
# OpenStack authentication string. You should only need to override these if you
|
2015-08-18 01:49:17 +00:00
|
|
|
# are changing the admin tenant/project or user.
|
|
|
|
openstack_auth:
|
2016-02-26 01:02:25 +00:00
|
|
|
auth_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}"
|
2015-08-18 01:49:17 +00:00
|
|
|
username: "admin"
|
|
|
|
password: "{{ keystone_admin_password }}"
|
|
|
|
project_name: "admin"
|
|
|
|
|
2015-08-18 14:03:44 +00:00
|
|
|
# These roles are required for Kolla to be operation, however a savvy deployer
|
2015-11-26 10:51:16 +05:30
|
|
|
# could disable some of these required roles and run their own services.
|
2015-08-18 14:03:44 +00:00
|
|
|
enable_glance: "yes"
|
|
|
|
enable_haproxy: "yes"
|
|
|
|
enable_keystone: "yes"
|
|
|
|
enable_mariadb: "yes"
|
2016-04-08 09:06:52 -04:00
|
|
|
enable_memcached: "yes"
|
2015-08-18 14:03:44 +00:00
|
|
|
enable_neutron: "yes"
|
|
|
|
enable_nova: "yes"
|
|
|
|
enable_rabbitmq: "yes"
|
|
|
|
|
2016-07-29 20:23:13 +02:00
|
|
|
# Additional optional OpenStack features and services are specified here
|
2016-08-04 06:51:11 +00:00
|
|
|
enable_aodh: "no"
|
2016-08-08 16:48:11 +00:00
|
|
|
enable_barbican: "no"
|
2016-07-29 20:23:13 +02:00
|
|
|
enable_cadf_notifications: "no"
|
2016-03-29 13:25:43 -04:00
|
|
|
enable_ceilometer: "no"
|
2016-04-08 09:06:52 -04:00
|
|
|
enable_central_logging: "no"
|
2015-08-29 11:49:57 +00:00
|
|
|
enable_ceph: "no"
|
2015-12-23 23:17:47 +02:00
|
|
|
enable_ceph_rgw: "no"
|
2015-08-18 14:03:44 +00:00
|
|
|
enable_cinder: "no"
|
2016-08-17 18:07:10 +03:00
|
|
|
enable_cinder_backend_iscsi: "no"
|
2016-07-23 22:48:54 +08:00
|
|
|
enable_cinder_backend_lvm: "no"
|
2016-02-13 23:50:46 -03:30
|
|
|
enable_cinder_backend_nfs: "no"
|
2016-08-01 02:27:39 +02:00
|
|
|
enable_cloudkitty: "no"
|
2016-08-17 10:09:42 +00:00
|
|
|
enable_congress: "no"
|
2016-09-02 00:48:01 -04:00
|
|
|
enable_etcd: "no"
|
2016-08-01 05:17:43 +00:00
|
|
|
enable_gnocchi: "no"
|
2016-07-27 07:02:04 +00:00
|
|
|
enable_grafana: "no"
|
2015-08-02 12:26:30 -07:00
|
|
|
enable_heat: "yes"
|
2015-08-10 14:08:59 -04:00
|
|
|
enable_horizon: "yes"
|
2016-07-27 06:23:29 +00:00
|
|
|
enable_influxdb: "no"
|
2015-08-28 11:26:40 -04:00
|
|
|
enable_ironic: "no"
|
2016-10-04 15:36:53 +00:00
|
|
|
enable_iscsid: "{{ enable_cinder_backend_iscsi | bool or enable_cinder_backend_lvm | bool or enable_ironic | bool }}"
|
2016-03-29 13:25:43 -04:00
|
|
|
enable_kuryr: "no"
|
2015-10-17 18:13:51 +02:00
|
|
|
enable_magnum: "no"
|
2016-04-08 09:06:52 -04:00
|
|
|
enable_manila: "no"
|
2016-10-10 13:21:04 -03:00
|
|
|
enable_manila_backend_generic: "no"
|
|
|
|
enable_manila_backend_hnas: "no"
|
2015-12-28 08:38:30 +09:00
|
|
|
enable_mistral: "no"
|
2016-01-18 21:00:45 +00:00
|
|
|
enable_mongodb: "no"
|
2016-07-08 13:34:04 -03:00
|
|
|
enable_multipathd: "no"
|
2016-04-08 09:06:52 -04:00
|
|
|
enable_murano: "no"
|
2016-06-29 15:34:18 +02:00
|
|
|
enable_neutron_vpnaas: "no"
|
2016-08-17 15:12:48 +00:00
|
|
|
enable_neutron_dvr: "no"
|
2016-05-10 20:26:58 +00:00
|
|
|
enable_neutron_lbaas: "no"
|
2016-06-16 12:55:55 +02:00
|
|
|
enable_neutron_qos: "no"
|
2016-08-08 09:17:10 +08:00
|
|
|
enable_neutron_agent_ha: "no"
|
2016-08-31 07:46:41 +00:00
|
|
|
enable_rally: "no"
|
2016-08-04 17:20:20 +00:00
|
|
|
enable_sahara: "no"
|
2016-10-18 16:36:05 +08:00
|
|
|
enable_searchlight: "no"
|
2016-07-08 19:12:50 +02:00
|
|
|
enable_senlin: "no"
|
2016-04-08 09:06:52 -04:00
|
|
|
enable_swift: "no"
|
2016-07-23 17:34:03 +00:00
|
|
|
enable_telegraf: "no"
|
2016-05-26 20:58:03 +08:00
|
|
|
enable_tempest: "no"
|
2016-08-21 01:01:04 -05:00
|
|
|
enable_vmtp: "no"
|
2016-07-05 09:47:21 +01:00
|
|
|
enable_watcher: "no"
|
2016-01-18 21:00:45 +00:00
|
|
|
|
2015-08-28 11:26:40 -04:00
|
|
|
ironic_keystone_user: "ironic"
|
2016-02-29 15:08:30 +00:00
|
|
|
neutron_keystone_user: "neutron"
|
|
|
|
nova_keystone_user: "nova"
|
2015-08-02 12:26:30 -07:00
|
|
|
|
2015-12-28 08:03:25 +00:00
|
|
|
# Nova fake driver and the number of fake driver per compute node
|
|
|
|
enable_nova_fake: "no"
|
|
|
|
num_nova_fake_per_node: 5
|
2015-10-18 19:38:42 +00:00
|
|
|
|
2016-09-09 10:20:18 +01:00
|
|
|
# Monitoring options are specified here
|
|
|
|
enable_collectd: "no"
|
2016-07-13 10:00:27 +00:00
|
|
|
|
2016-05-23 17:45:52 +02:00
|
|
|
####################
|
|
|
|
# Logging options
|
|
|
|
####################
|
|
|
|
|
|
|
|
elasticsearch_address: "{{ kolla_internal_vip_address }}"
|
|
|
|
elasticsearch_protocol: "{{ internal_protocol }}"
|
|
|
|
|
2016-08-05 14:31:28 +08:00
|
|
|
enable_elasticsearch: "{{ 'yes' if enable_central_logging | bool else 'no' }}"
|
|
|
|
enable_kibana: "{{ 'yes' if enable_central_logging | bool else 'no' }}"
|
2016-05-23 17:45:52 +02:00
|
|
|
|
2015-08-18 14:03:44 +00:00
|
|
|
####################
|
|
|
|
# RabbitMQ options
|
|
|
|
####################
|
|
|
|
rabbitmq_user: "openstack"
|
2016-10-03 23:34:50 +08:00
|
|
|
rabbitmq_version: "rabbitmq_server-3.6/plugins/rabbitmq_clusterer-3.6.x.ez/rabbitmq_clusterer-3.6.x-667f92b0/ebin"
|
2015-08-18 14:03:44 +00:00
|
|
|
|
2015-09-16 18:39:51 -07:00
|
|
|
####################
|
|
|
|
# HAProxy options
|
|
|
|
####################
|
|
|
|
haproxy_user: "openstack"
|
2016-02-26 01:02:25 +00:00
|
|
|
haproxy_enable_external_vip: "{{ 'no' if kolla_external_vip_address == kolla_internal_vip_address else 'yes' }}"
|
2016-02-29 13:51:11 -05:00
|
|
|
kolla_enable_tls_external: "no"
|
|
|
|
kolla_external_fqdn_cert: "{{ node_config_directory }}/certificates/haproxy.pem"
|
2016-10-18 09:49:54 +08:00
|
|
|
kolla_external_fqdn_cacert: "{{ node_config_directory }}/certificates/haproxy-ca.crt"
|
2015-09-16 18:39:51 -07:00
|
|
|
|
2016-03-23 12:02:49 +01:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Kibana options
|
|
|
|
####################
|
|
|
|
kibana_user: "kibana"
|
|
|
|
|
|
|
|
|
2016-08-17 16:53:40 +08:00
|
|
|
####################
|
2016-09-06 10:52:48 +02:00
|
|
|
# Keystone options
|
2016-08-17 16:53:40 +08:00
|
|
|
####################
|
|
|
|
keystone_admin_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}/v3"
|
|
|
|
keystone_internal_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3"
|
|
|
|
keystone_public_url: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ keystone_public_port }}/v3"
|
|
|
|
|
2016-11-10 21:32:03 +08:00
|
|
|
# Valid options are [ uuid, fernet ]
|
2016-08-07 13:58:50 +10:00
|
|
|
keystone_token_provider: "uuid"
|
|
|
|
fernet_token_expiry: 86400
|
|
|
|
|
|
|
|
|
2016-07-24 07:04:02 +00:00
|
|
|
#######################
|
|
|
|
# Glance options
|
|
|
|
#######################
|
|
|
|
glance_backend_file: "{{ not enable_ceph | bool }}"
|
|
|
|
glance_backend_ceph: "{{ enable_ceph }}"
|
|
|
|
|
|
|
|
|
2016-09-08 12:42:01 +01:00
|
|
|
#######################
|
|
|
|
# Ceilometer options
|
|
|
|
#######################
|
2016-09-29 01:14:55 +08:00
|
|
|
# Valid options are [ mongodb, mysql, gnocchi ]
|
2016-09-08 12:42:01 +01:00
|
|
|
ceilometer_database_type: "mongodb"
|
|
|
|
|
|
|
|
|
2016-09-22 00:17:47 +08:00
|
|
|
#################
|
|
|
|
# Gnocchi options
|
|
|
|
#################
|
|
|
|
# Vaid options are [file, ceph]
|
|
|
|
gnocchi_backend_storage: "{{ 'ceph' if enable_ceph|bool else 'file' }}"
|
|
|
|
|
|
|
|
|
2015-08-18 14:03:44 +00:00
|
|
|
#################################
|
2016-07-18 10:39:09 +00:00
|
|
|
# Cinder options
|
2015-08-18 14:03:44 +00:00
|
|
|
#################################
|
2016-07-18 10:39:09 +00:00
|
|
|
cinder_backend_ceph: "{{ enable_ceph }}"
|
2016-10-13 12:49:07 +03:00
|
|
|
cinder_volume_group: "cinder-volumes"
|
2016-10-06 12:40:39 +00:00
|
|
|
|
|
|
|
#######################
|
|
|
|
# Cloudkitty options
|
|
|
|
#######################
|
|
|
|
# Valid options are [ ceilometer, gnocchi ]
|
|
|
|
cloudkitty_collector_backend: "ceilometer"
|
|
|
|
|
|
|
|
|
2016-07-20 06:02:18 +00:00
|
|
|
#######################
|
|
|
|
# Nova options
|
|
|
|
#######################
|
|
|
|
nova_backend_ceph: "{{ enable_ceph }}"
|
|
|
|
nova_backend: "{{ 'rbd' if nova_backend_ceph | bool else 'default' }}"
|
|
|
|
|
2016-09-08 12:49:02 +01:00
|
|
|
|
|
|
|
#######################
|
|
|
|
# Horizon options
|
|
|
|
#######################
|
|
|
|
horizon_backend_database: "no"
|
|
|
|
|
2015-10-18 19:38:42 +00:00
|
|
|
###################
|
|
|
|
# Ceph options
|
|
|
|
###################
|
2015-10-18 20:34:17 +00:00
|
|
|
# Ceph can be setup with a caching to improve performance. To use the cache you
|
2015-11-26 10:51:16 +05:30
|
|
|
# must provide separate disks than those for the OSDs
|
2015-10-18 20:34:17 +00:00
|
|
|
ceph_enable_cache: "no"
|
|
|
|
# Valid options are [ forward, none, writeback ]
|
|
|
|
ceph_cache_mode: "writeback"
|
|
|
|
|
2016-03-19 02:48:22 +00:00
|
|
|
# Valid options are [ ext4, btrfs, xfs ]
|
|
|
|
ceph_osd_filesystem: "xfs"
|
|
|
|
|
2016-07-05 11:05:26 +01:00
|
|
|
# Set to 'yes-i-really-really-mean-it' to force wipe disks with existing partitions for OSDs. Only
|
|
|
|
# set if you understand the consequences!
|
|
|
|
ceph_osd_wipe_disk: ""
|
|
|
|
|
2016-06-30 17:25:09 -04:00
|
|
|
# These are /etc/fstab options. Comma separated, no spaces (see fstab(8))
|
2016-03-19 02:48:22 +00:00
|
|
|
ceph_osd_mount_options: "defaults,noatime"
|
|
|
|
|
2015-10-18 19:38:42 +00:00
|
|
|
# A requirement for using the erasure-coded pools is you must setup a cache tier
|
|
|
|
# Valid options are [ erasure, replicated ]
|
|
|
|
ceph_pool_type: "replicated"
|
2015-10-18 19:46:16 +00:00
|
|
|
|
|
|
|
ceph_cinder_pool_name: "volumes"
|
|
|
|
ceph_cinder_backup_pool_name: "backups"
|
|
|
|
ceph_glance_pool_name: "images"
|
2016-09-22 00:17:47 +08:00
|
|
|
ceph_gnocchi_pool_name: "gnocchi"
|
2015-10-18 19:46:16 +00:00
|
|
|
ceph_nova_pool_name: "vms"
|
2015-10-18 20:34:17 +00:00
|
|
|
|
|
|
|
ceph_erasure_profile: "k=4 m=2 ruleset-failure-domain=host"
|
|
|
|
ceph_rule: "default host {{ 'indep' if ceph_pool_type == 'erasure' else 'firstn' }}"
|
|
|
|
ceph_cache_rule: "cache host firstn"
|