2015-06-17 08:11:44 +00:00
---
2015-08-18 14:03:44 +00:00
# You can use this file to override _any_ variable throughout Kolla.
2017-02-10 12:03:56 +08:00
# Additional options can be found in the
2017-02-15 15:47:23 +08:00
# 'kolla-ansible/ansible/group_vars/all.yml' file. Default value of all the
2017-02-10 12:03:56 +08:00
# commented parameters are shown here, To override the default value uncomment
# the parameter and change its value.
2015-06-17 08:11:44 +00:00
2021-03-26 14:19:39 -03:00
###################
# Ansible options
###################
# This variable is used as the "filter" argument for the setup module. For
# instance, if one wants to remove/ignore all Neutron interface facts:
# kolla_ansible_setup_filter: "ansible_[!qt]*"
# By default, we do not provide a filter.
#kolla_ansible_setup_filter: "{{ omit }}"
# This variable is used as the "gather_subset" argument for the setup module.
# For instance, if one wants to avoid collecting facts via facter:
# kolla_ansible_setup_gather_subset: "all,!facter"
# By default, we do not provide a gather subset.
#kolla_ansible_setup_gather_subset: "{{ omit }}"
2022-04-28 16:20:01 +03:00
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743 : yes
2017-08-25 13:13:27 +05:30
###############
2015-06-17 08:11:44 +00:00
# Kolla options
2017-08-25 13:13:27 +05:30
###############
2015-08-27 13:06:35 +00:00
# Valid options are [ COPY_ONCE, COPY_ALWAYS ]
2016-03-08 10:33:08 -05:00
#config_strategy: "COPY_ALWAYS"
2015-06-17 08:11:44 +00:00
2019-09-18 12:22:24 +01:00
# Valid options are ['centos', 'debian', 'rhel', 'ubuntu']
2015-08-18 14:03:44 +00:00
#kolla_base_distro: "centos"
2015-06-17 08:11:44 +00:00
2020-05-24 10:02:59 +02:00
# Do not override this unless you know what you are doing.
#openstack_release: "master"
2016-04-02 17:00:37 -04:00
2020-01-09 17:03:28 +00:00
# Docker image tag used by default.
#openstack_tag: "{{ openstack_release ~ openstack_tag_suffix }}"
# Suffix applied to openstack_release to generate openstack_tag.
2020-03-16 15:26:06 +00:00
#openstack_tag_suffix: ""
2020-01-09 17:03:28 +00:00
2016-10-18 14:26:33 -04:00
# Location of configuration overrides
2022-01-21 15:59:40 +08:00
#node_custom_config: "{{ node_config }}/config"
2016-10-18 14:26:33 -04:00
2015-08-18 14:03:44 +00:00
# This should be a VIP, an unused IP on your network that will float between
2017-08-25 15:05:37 +08:00
# the hosts running keepalived for high-availability. If you want to run an
# All-In-One without haproxy and keepalived, you can set enable_haproxy to no
2017-10-27 18:58:28 +08:00
# in "OpenStack options" section, and set this value to the IP of your
2015-08-18 14:03:44 +00:00
# 'network_interface' as set in the Networking section below.
2019-06-16 10:53:58 +02:00
#kolla_internal_vip_address: "10.10.10.254"
2015-06-17 08:11:44 +00:00
2016-02-26 01:02:25 +00:00
# This is the DNS name that maps to the kolla_internal_vip_address VIP. By
# default it is the same as kolla_internal_vip_address.
#kolla_internal_fqdn: "{{ kolla_internal_vip_address }}"
2015-06-17 08:11:44 +00:00
2016-02-18 13:50:39 -05:00
# This should be a VIP, an unused IP on your network that will float between
# the hosts running keepalived for high-availability. It defaults to the
2016-02-26 01:02:25 +00:00
# kolla_internal_vip_address, allowing internal and external communication to
# share the same address. Specify a kolla_external_vip_address to separate
# internal and external requests between two VIPs.
#kolla_external_vip_address: "{{ kolla_internal_vip_address }}"
# The Public address used to communicate with OpenStack as set in the public_url
# for the endpoints that will be created. This DNS name should map to
# kolla_external_vip_address.
#kolla_external_fqdn: "{{ kolla_external_vip_address }}"
2015-06-17 08:11:44 +00:00
2020-09-21 11:47:05 +02:00
# Optionally change the path to sysctl.conf modified by Kolla Ansible plays.
#kolla_sysctl_conf_path: /etc/sysctl.conf
2017-08-25 13:13:27 +05:30
################
2015-06-17 08:11:44 +00:00
# Docker options
2017-08-25 13:13:27 +05:30
################
2020-03-28 09:50:39 +01:00
# Custom docker registry settings:
#docker_registry:
2021-08-20 18:23:56 +00:00
# Please read the docs carefully before applying docker_registry_insecure.
#docker_registry_insecure: "no"
2020-03-28 09:50:39 +01:00
#docker_registry_username:
# docker_registry_password is set in the passwords.yml file.
# Namespace of images:
#docker_namespace: "kolla"
2019-11-27 14:52:03 +00:00
# Docker client timeout in seconds.
#docker_client_timeout: 120
2015-08-18 14:03:44 +00:00
2019-08-15 19:06:43 +02:00
#docker_configure_for_zun: "no"
2020-02-17 16:45:33 +00:00
#containerd_configure_for_zun: "no"
#containerd_grpc_gid: 42463
2019-08-15 19:06:43 +02:00
2017-05-29 18:14:06 -04:00
###################
# Messaging options
###################
2020-05-14 15:18:56 +01:00
# Whether to enable TLS for oslo.messaging communication with RabbitMQ.
#om_enable_rabbitmq_tls: "{{ rabbitmq_enable_tls | bool }}"
# CA certificate bundle in containers using oslo.messaging with RabbitMQ TLS.
#om_rabbitmq_cacert: "{{ rabbitmq_cacert }}"
2015-06-17 08:11:44 +00:00
2017-08-25 13:13:27 +05:30
##############################
2016-10-17 08:51:50 -03:00
# Neutron - Networking Options
2017-08-25 13:13:27 +05:30
##############################
2015-08-18 14:03:44 +00:00
# This interface is what all your api services will be bound to by default.
# Additionally, all vxlan/tunnel and storage network traffic will go over this
2019-09-11 20:47:00 +02:00
# interface by default. This interface must contain an IP address.
2016-08-11 15:41:29 +00:00
# It is possible for hosts to have non-matching names of interfaces - these can
# be set in an inventory file per host or per group or stored separately, see
# http://docs.ansible.com/ansible/intro_inventory.html
# Yet another way to workaround the naming problem is to create a bond for the
# interface on all hosts and give the bond name here. Similar strategy can be
# followed for other types of interfaces.
#network_interface: "eth0"
2015-07-30 16:09:53 +00:00
2015-08-18 14:03:44 +00:00
# These can be adjusted for even more customization. The default is the same as
2019-09-11 20:47:00 +02:00
# the 'network_interface'. These interfaces must contain an IP address.
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 }}"
2021-12-23 15:37:03 +00:00
# NOTE: storage_interface is deprecated, please set swift_storage_interface directly instead
2015-08-18 14:03:44 +00:00
#storage_interface: "{{ network_interface }}"
2019-03-08 15:33:12 +00:00
#swift_storage_interface: "{{ storage_interface }}"
#swift_replication_interface: "{{ swift_storage_interface }}"
2015-08-18 14:03:44 +00:00
#tunnel_interface: "{{ network_interface }}"
2017-01-23 17:01:02 +00:00
#dns_interface: "{{ network_interface }}"
2018-09-07 10:35:15 +07:00
#octavia_network_interface: "{{ api_interface }}"
2015-07-30 16:09:53 +00:00
2019-09-11 20:47:00 +02:00
# Configure the address family (AF) per network.
# Valid options are [ ipv4, ipv6 ]
#network_address_family: "ipv4"
#api_address_family: "{{ network_address_family }}"
#storage_address_family: "{{ network_address_family }}"
#swift_storage_address_family: "{{ storage_address_family }}"
#swift_replication_address_family: "{{ swift_storage_address_family }}"
2020-05-20 10:09:36 +08:00
#migration_address_family: "{{ api_address_family }}"
2019-09-11 20:47:00 +02:00
#tunnel_address_family: "{{ network_address_family }}"
#octavia_network_address_family: "{{ api_address_family }}"
#bifrost_network_address_family: "{{ network_address_family }}"
#dns_address_family: "{{ network_address_family }}"
2015-08-18 14:03:44 +00:00
# This is the raw interface given to neutron as its external network port. Even
# though an IP address can exist on this interface, it will be unusable in most
# configurations. It is recommended this interface not be configured with any IP
# addresses for that reason.
2016-08-11 15:41:29 +00:00
#neutron_external_interface: "eth1"
2015-07-05 11:42:49 +00:00
2021-09-03 22:38:37 +02:00
# Valid options are [ openvswitch, ovn, linuxbridge, vmware_nsxv, vmware_nsxv3, vmware_nsxp, vmware_dvs ]
# if vmware_nsxv3 or vmware_nsxp is selected, enable_openvswitch MUST be set to "no" (default is yes)
2015-08-27 15:57:55 +00:00
#neutron_plugin_agent: "openvswitch"
2018-03-21 11:39:26 -04:00
# Valid options are [ internal, infoblox ]
#neutron_ipam_driver: "internal"
2016-12-07 15:22:35 +07:00
# Configure Neutron upgrade option, currently Kolla support
# two upgrade ways for Neutron: legacy_upgrade and rolling_upgrade
# The variable "neutron_enable_rolling_upgrade: yes" is meaning rolling_upgrade
# were enabled and opposite
# Neutron rolling upgrade were enable by default
#neutron_enable_rolling_upgrade: "yes"
2020-01-02 14:14:10 +01:00
# Configure neutron logging framework to log ingress/egress connections to instances
# for security groups rules. More information can be found here:
# https://docs.openstack.org/neutron/latest/admin/config-logging.html
#enable_neutron_packet_logging: "no"
2015-06-17 08:11: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
2019-07-18 10:53:04 +01:00
# This should be changed from the default in the event of a multi-region deployment
# where the VIPs of different regions reside on a common subnet.
2016-03-31 15:32:00 -03:00
#keepalived_virtual_router_id: "51"
2018-04-25 14:19:07 +05:30
###################
# Dimension options
###################
# This is to provide an extra option to deploy containers with Resource constraints.
# We call it dimensions here.
# The dimensions for each container are defined by a mapping, where each dimension value should be a
# string.
# Reference_Docs
# https://docs.docker.com/config/containers/resource_constraints/
# eg:
# <container_name>_dimensions:
# blkio_weight:
# cpu_period:
# cpu_quota:
# cpu_shares:
# cpuset_cpus:
# cpuset_mems:
# mem_limit:
# mem_reservation:
# memswap_limit:
# kernel_memory:
2019-01-21 11:51:10 +08:00
# ulimits:
2018-04-25 14:19:07 +05:30
2019-08-14 11:15:33 +00:00
#####################
# Healthcheck options
#####################
#enable_container_healthchecks: "yes"
# Healthcheck options for Docker containers
# interval/timeout/start_period are in seconds
#default_container_healthcheck_interval: 30
#default_container_healthcheck_timeout: 30
#default_container_healthcheck_retries: 3
#default_container_healthcheck_start_period: 5
2016-03-31 15:32:00 -03:00
2017-08-25 13:13:27 +05:30
#############
2016-02-29 13:51:11 -05:00
# TLS options
2017-08-25 13:13:27 +05:30
#############
2016-02-29 13:51:11 -05:00
# To provide encryption and authentication on the kolla_external_vip_interface,
# TLS can be enabled. When TLS is enabled, certificates must be provided to
2016-03-18 10:26:59 +05:30
# allow clients to perform authentication.
2019-11-26 17:52:13 +00:00
#kolla_enable_tls_internal: "no"
#kolla_enable_tls_external: "{{ kolla_enable_tls_internal if kolla_same_external_internal_vip | bool else 'no' }}"
2020-03-19 14:25:07 -07:00
#kolla_certificates_dir: "{{ node_config }}/certificates"
#kolla_external_fqdn_cert: "{{ kolla_certificates_dir }}/haproxy.pem"
#kolla_internal_fqdn_cert: "{{ kolla_certificates_dir }}/haproxy-internal.pem"
2020-06-04 21:27:24 -07:00
#kolla_admin_openrc_cacert: ""
2019-12-18 15:49:28 -08:00
#kolla_copy_ca_into_containers: "no"
2020-03-19 14:25:07 -07:00
#haproxy_backend_cacert: "{{ 'ca-certificates.crt' if kolla_base_distro in ['debian', 'ubuntu'] else 'ca-bundle.trust.crt' }}"
#haproxy_backend_cacert_dir: "/etc/ssl/certs"
2020-08-06 13:09:01 -07:00
##################
# Backend options
##################
#kolla_httpd_keep_alive: "60"
Add variable for changing Apache HTTP timeout
In services which use the Apache HTTP server to service HTTP requests,
there exists a TimeOut directive [1] which defaults to 60 seconds. APIs
which come under heavy load, such as Cinder, can sometimes exceed this
which results in a HTTP 504 Gateway timeout, or similar. However, the
request can still be serviced without error. For example, if Nova calls
the Cinder API to detach a volume, and this operation takes longer
than the shortest of the two timeouts, Nova will emit a stack trace
with a 504 Gateway timeout. At some time later, the request to detach
the volume will succeed. The Nova and Cinder DBs then become
out-of-sync with each other, and frequently DB surgery is required.
Although strictly this category of bugs should be fixed in OpenStack
services, it is not realistic to expect this to happen in the short
term. Therefore, this change makes it easier to set the Apache HTTP
timeout via a new variable.
An example of a related bug is here:
https://bugs.launchpad.net/nova/+bug/1888665
Whilst this timeout can currently be set by overriding the WSGI
config for individual services, this change makes it much easier.
Change-Id: Ie452516655cbd40d63bdad3635fd66693e40ce34
Closes-Bug: #1917648
2021-03-03 15:50:03 +00:00
#kolla_httpd_timeout: "60"
2020-08-06 13:09:01 -07:00
#####################
# Backend TLS options
#####################
2020-03-19 14:25:07 -07:00
#kolla_enable_tls_backend: "no"
2020-08-06 13:09:01 -07:00
#kolla_verify_tls_backend: "yes"
2020-03-19 14:25:07 -07:00
#kolla_tls_backend_cert: "{{ kolla_certificates_dir }}/backend-cert.pem"
#kolla_tls_backend_key: "{{ kolla_certificates_dir }}/backend-key.pem"
2016-02-29 13:51:11 -05:00
2020-09-26 20:29:20 +02:00
#####################
# ACME client options
#####################
# A list of haproxy backend server directives pointing to addresses used by the
# ACME client to complete http-01 challenge.
# Please read the docs for more details.
#acme_client_servers: []
2019-07-12 12:35:48 +01:00
################
# Region options
################
# Use this option to change the name of this region.
#openstack_region_name: "RegionOne"
# Use this option to define a list of region names - only needs to be configured
# in a multi-region deployment, and then only in the *first* region.
#multiple_regions_names: ["{{ openstack_region_name }}"]
2016-02-29 13:51:11 -05:00
2017-08-25 13:13:27 +05:30
###################
2015-08-18 14:03:44 +00:00
# OpenStack options
2017-08-25 13:13:27 +05:30
###################
2015-08-18 14:03:44 +00:00
# Use these options to set the various log levels across all OpenStack projects
2016-03-18 10:26:59 +05:30
# Valid options are [ True, False ]
2015-08-18 14:03:44 +00:00
#openstack_logging_debug: "False"
2015-08-04 07:39:22 +00:00
2019-09-12 14:13:15 +01:00
# Enable core OpenStack services. This includes:
# glance, keystone, neutron, nova, heat, and horizon.
#enable_openstack_core: "yes"
Improve standalone ironic support
Adds a new flag, 'enable_openstack_core', which defaults to 'yes'.
Setting this flag to 'no' will disable the core OpenStack services,
including Glance, Heat, Horizon, Keystone, Neutron, and Nova.
Improves the default configuration of OpenStack Ironic when used in
standalone mode. In particular, configures a noauth mode when Keystone
is disabled, and allows the iPXE server to be used for provisioning as
well as inspection if Neutron is disabled.
Documentation for standalone ironic will be updated separately.
This patch was developed and tested using Bikolla [1].
[1] https://github.com/markgoddard/bikolla
Change-Id: Ic47f5ad81b8126a51e52a445097f7950dba233cd
Implements: blueprint standalone-ironic
2019-01-28 13:20:52 +00:00
# These roles are required for Kolla to be operation, however a savvy deployer
# could disable some of these required roles and run their own services.
#enable_glance: "{{ enable_openstack_core | bool }}"
2019-07-10 11:38:14 -04:00
#enable_hacluster: "no"
Improve standalone ironic support
Adds a new flag, 'enable_openstack_core', which defaults to 'yes'.
Setting this flag to 'no' will disable the core OpenStack services,
including Glance, Heat, Horizon, Keystone, Neutron, and Nova.
Improves the default configuration of OpenStack Ironic when used in
standalone mode. In particular, configures a noauth mode when Keystone
is disabled, and allows the iPXE server to be used for provisioning as
well as inspection if Neutron is disabled.
Documentation for standalone ironic will be updated separately.
This patch was developed and tested using Bikolla [1].
[1] https://github.com/markgoddard/bikolla
Change-Id: Ic47f5ad81b8126a51e52a445097f7950dba233cd
Implements: blueprint standalone-ironic
2019-01-28 13:20:52 +00:00
#enable_haproxy: "yes"
#enable_keepalived: "{{ enable_haproxy | bool }}"
#enable_keystone: "{{ enable_openstack_core | bool }}"
#enable_mariadb: "yes"
#enable_memcached: "yes"
#enable_neutron: "{{ enable_openstack_core | bool }}"
#enable_nova: "{{ enable_openstack_core | bool }}"
#enable_rabbitmq: "{{ 'yes' if om_rpc_transport == 'rabbit' or om_notify_transport == 'rabbit' else 'no' }}"
#enable_outward_rabbitmq: "{{ enable_murano | bool }}"
2015-08-18 14:03:44 +00:00
# OpenStack services can be enabled or disabled with these options
2016-09-19 16:06:14 +05:30
#enable_aodh: "no"
2016-08-08 16:48:11 +00:00
#enable_barbican: "no"
2017-04-07 16:01:07 +01:00
#enable_blazar: "no"
2016-03-29 13:25:43 -04:00
#enable_ceilometer: "no"
2018-04-29 13:15:02 +08:00
#enable_ceilometer_ipmi: "no"
2019-08-19 15:52:46 +01:00
#enable_cells: "no"
2016-03-28 10:55:26 +05:30
#enable_central_logging: "no"
2021-02-19 13:39:06 +00:00
#enable_ceph_rgw: "no"
#enable_ceph_rgw_loadbalancer: "{{ enable_ceph_rgw | bool }}"
2016-03-18 10:26:59 +05:30
#enable_cinder: "no"
2017-05-15 14:51:56 +03:00
#enable_cinder_backup: "yes"
2017-01-05 13:56:39 -03:00
#enable_cinder_backend_hnas_nfs: "no"
2021-06-21 09:50:18 +00:00
#enable_cinder_backend_iscsi: "{{ enable_cinder_backend_lvm | bool }}"
2016-07-23 22:48:54 +08:00
#enable_cinder_backend_lvm: "no"
2016-11-11 13:06:20 -05:00
#enable_cinder_backend_nfs: "no"
2018-09-24 14:38:08 +01:00
#enable_cinder_backend_quobyte: "no"
2022-05-11 12:29:17 -04:00
#enable_cinder_backend_pure_iscsi: "no"
#enable_cinder_backend_pure_fc: "no"
2016-08-01 02:27:39 +02:00
#enable_cloudkitty: "no"
2017-02-15 15:47:23 +08:00
#enable_collectd: "no"
2018-12-02 21:17:07 +08:00
#enable_cyborg: "no"
2016-08-10 15:48:32 +10:00
#enable_designate: "no"
2016-11-15 17:54:06 +08:00
#enable_destroy_images: "no"
2021-02-08 09:29:08 +01:00
#enable_elasticsearch: "{{ 'yes' if enable_central_logging | bool or enable_osprofiler | bool or enable_skydive | bool or enable_monasca | bool or (enable_cloudkitty | bool and cloudkitty_storage_backend == 'elasticsearch') else 'no' }}"
2019-11-13 13:53:48 +00:00
#enable_elasticsearch_curator: "no"
2016-09-19 16:06:14 +05:30
#enable_etcd: "no"
2017-09-05 00:27:19 +00:00
#enable_fluentd: "yes"
2017-01-19 18:42:12 +08:00
#enable_freezer: "no"
2016-09-19 16:06:14 +05:30
#enable_gnocchi: "no"
2019-06-20 11:55:02 -05:00
#enable_gnocchi_statsd: "no"
2021-04-19 11:31:29 +01:00
#enable_grafana: "{{ enable_monasca | bool }}"
Improve standalone ironic support
Adds a new flag, 'enable_openstack_core', which defaults to 'yes'.
Setting this flag to 'no' will disable the core OpenStack services,
including Glance, Heat, Horizon, Keystone, Neutron, and Nova.
Improves the default configuration of OpenStack Ironic when used in
standalone mode. In particular, configures a noauth mode when Keystone
is disabled, and allows the iPXE server to be used for provisioning as
well as inspection if Neutron is disabled.
Documentation for standalone ironic will be updated separately.
This patch was developed and tested using Bikolla [1].
[1] https://github.com/markgoddard/bikolla
Change-Id: Ic47f5ad81b8126a51e52a445097f7950dba233cd
Implements: blueprint standalone-ironic
2019-01-28 13:20:52 +00:00
#enable_heat: "{{ enable_openstack_core | bool }}"
#enable_horizon: "{{ enable_openstack_core | bool }}"
2018-04-19 22:27:30 +08:00
#enable_horizon_blazar: "{{ enable_blazar | bool }}"
2016-12-21 16:12:25 +08:00
#enable_horizon_cloudkitty: "{{ enable_cloudkitty | bool }}"
2017-06-27 14:38:13 +01:00
#enable_horizon_designate: "{{ enable_designate | bool }}"
2019-09-12 14:13:15 +01:00
#enable_horizon_freezer: "{{ enable_freezer | bool }}"
#enable_horizon_heat: "{{ enable_heat | bool }}"
2016-12-21 16:12:25 +08:00
#enable_horizon_ironic: "{{ enable_ironic | bool }}"
#enable_horizon_magnum: "{{ enable_magnum | bool }}"
#enable_horizon_manila: "{{ enable_manila | bool }}"
2018-11-06 10:20:02 +07:00
#enable_horizon_masakari: "{{ enable_masakari | bool }}"
2016-12-21 16:12:25 +08:00
#enable_horizon_mistral: "{{ enable_mistral | bool }}"
2019-12-28 09:06:46 +03:30
#enable_horizon_monasca: "{{ enable_monasca | bool }}"
2016-11-05 02:28:02 +08:00
#enable_horizon_murano: "{{ enable_murano | bool }}"
2018-06-11 08:16:26 -04:00
#enable_horizon_neutron_vpnaas: "{{ enable_neutron_vpnaas | bool }}"
2018-03-30 15:57:19 +01:00
#enable_horizon_octavia: "{{ enable_octavia | bool }}"
2016-12-21 16:12:25 +08:00
#enable_horizon_sahara: "{{ enable_sahara | bool }}"
#enable_horizon_senlin: "{{ enable_senlin | bool }}"
#enable_horizon_solum: "{{ enable_solum | bool }}"
2017-01-19 04:30:56 -05:00
#enable_horizon_tacker: "{{ enable_tacker | bool }}"
2016-12-21 16:12:25 +08:00
#enable_horizon_trove: "{{ enable_trove | bool }}"
2019-09-12 14:13:15 +01:00
#enable_horizon_vitrage: "{{ enable_vitrage | bool }}"
2016-12-21 16:12:25 +08:00
#enable_horizon_watcher: "{{ enable_watcher | bool }}"
2017-03-31 09:28:00 +08:00
#enable_horizon_zun: "{{ enable_zun | bool }}"
Switch default cloudkitty storage backend to influxdb
Backport: stein
In the Stein release, cloudkitty switched the default storage backend
from sqlalchemy to influxdb. In kolla-ansible stein configuration, we
did not explicitly set the storage backend, and so we automatically
picked up this change. However, prior to
https://review.opendev.org/#/c/615928/ we did not have full support for
InfluxDB as a storage backend, and so this has broken the Rocky-Stein
upgrade (https://bugs.launchpad.net/kolla-ansible/+bug/1838641), which
fails with this during the DB sync:
ERROR cloudkitty InfluxDBClientError: get_list_retention_policies()
requires a database as a parameter or the client to be using a database
This change synchronises our default with cloudkitty's (influxdb), and
also provides an upgrade transition to create the influxdb database.
We also move the cloudkitty_storage_backend variable to
group_vars/all.yml, since it is used to determine whether to enable
influxdb.
Finally, the section name in cloudkitty.conf was incorrect - it was
storage_influx, but should be storage_influxdb.
Change-Id: I71f2ed11bd06f58e141d222e2709835b7ddb2c71
Closes-Bug: #1838641
2019-09-11 18:15:02 +01:00
#enable_influxdb: "{{ enable_monasca | bool or (enable_cloudkitty | bool and cloudkitty_storage_backend == 'influxdb') }}"
2016-03-28 10:55:26 +05:30
#enable_ironic: "no"
2019-09-12 14:13:15 +01:00
#enable_ironic_neutron_agent: "{{ enable_neutron | bool and enable_ironic | bool }}"
2021-11-15 14:23:00 +08:00
#enable_iscsid: "{{ enable_cinder | bool and enable_cinder_backend_iscsi | bool }}"
2019-09-12 14:13:15 +01:00
#enable_kafka: "{{ enable_monasca | bool }}"
#enable_kibana: "{{ 'yes' if enable_central_logging | bool or enable_monasca | bool else 'no' }}"
2016-03-29 13:25:43 -04:00
#enable_kuryr: "no"
2015-10-17 18:13:51 +02:00
#enable_magnum: "no"
2016-03-28 10:55:26 +05:30
#enable_manila: "no"
2016-10-10 13:21:04 -03:00
#enable_manila_backend_generic: "no"
#enable_manila_backend_hnas: "no"
2017-12-11 17:08:18 +08:00
#enable_manila_backend_cephfs_native: "no"
#enable_manila_backend_cephfs_nfs: "no"
2020-08-16 02:37:06 +00:00
#enable_manila_backend_glusterfs_nfs: "no"
2019-10-23 14:47:21 +00:00
#enable_mariabackup: "no"
2018-11-06 10:20:02 +07:00
#enable_masakari: "no"
2016-03-28 10:55:26 +05:30
#enable_mistral: "no"
2018-03-28 17:54:19 +01:00
#enable_monasca: "no"
2016-07-08 13:34:04 -03:00
#enable_multipathd: "no"
2019-09-12 14:13:15 +01:00
#enable_murano: "no"
#enable_neutron_vpnaas: "no"
#enable_neutron_sriov: "no"
2016-08-17 15:12:48 +00:00
#enable_neutron_dvr: "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"
2019-09-12 14:13:15 +01:00
#enable_neutron_bgp_dragent: "no"
#enable_neutron_provider_networks: "no"
#enable_neutron_segments: "no"
2017-05-02 11:03:52 +02:00
#enable_neutron_sfc: "no"
2020-06-27 17:00:15 +02:00
#enable_neutron_trunk: "no"
2017-04-15 19:51:16 +08:00
#enable_neutron_metering: "no"
2019-09-12 14:13:15 +01:00
#enable_neutron_infoblox_ipam_agent: "no"
#enable_neutron_port_forwarding: "no"
2016-08-22 22:21:25 +02:00
#enable_nova_serialconsole_proxy: "no"
2018-02-08 16:19:58 -08:00
#enable_nova_ssh: "yes"
2016-12-13 21:57:03 +08:00
#enable_octavia: "no"
2020-11-09 10:17:10 +01:00
#enable_octavia_driver_agent: "{{ enable_octavia | bool and neutron_plugin_agent == 'ovn' }}"
Improve standalone ironic support
Adds a new flag, 'enable_openstack_core', which defaults to 'yes'.
Setting this flag to 'no' will disable the core OpenStack services,
including Glance, Heat, Horizon, Keystone, Neutron, and Nova.
Improves the default configuration of OpenStack Ironic when used in
standalone mode. In particular, configures a noauth mode when Keystone
is disabled, and allows the iPXE server to be used for provisioning as
well as inspection if Neutron is disabled.
Documentation for standalone ironic will be updated separately.
This patch was developed and tested using Bikolla [1].
[1] https://github.com/markgoddard/bikolla
Change-Id: Ic47f5ad81b8126a51e52a445097f7950dba233cd
Implements: blueprint standalone-ironic
2019-01-28 13:20:52 +00:00
#enable_openvswitch: "{{ enable_neutron | bool and neutron_plugin_agent != 'linuxbridge' }}"
2019-12-20 11:35:35 +01:00
#enable_ovn: "{{ enable_neutron | bool and neutron_plugin_agent == 'ovn' }}"
2017-04-06 13:21:09 +00:00
#enable_ovs_dpdk: "no"
2017-04-10 15:31:41 +01:00
#enable_osprofiler: "no"
2019-10-20 19:33:56 +02:00
#enable_placement: "{{ enable_nova | bool or enable_zun | bool }}"
2017-07-17 15:59:05 +00:00
#enable_prometheus: "no"
2017-07-21 07:08:54 +00:00
#enable_redis: "no"
2016-09-19 16:06:14 +05:30
#enable_sahara: "no"
2016-07-08 19:12:50 +02:00
#enable_senlin: "no"
2017-04-28 12:21:50 +02:00
#enable_skydive: "no"
2016-11-25 06:14:51 +08:00
#enable_solum: "no"
2019-09-12 14:13:15 +01:00
#enable_storm: "{{ enable_monasca | bool }}"
2016-03-18 10:26:59 +05:30
#enable_swift: "no"
2019-09-12 14:13:15 +01:00
#enable_swift_s3api: "no"
2016-11-15 18:51:52 +00:00
#enable_tacker: "no"
2019-09-12 14:13:15 +01:00
#enable_telegraf: "no"
2017-01-23 17:23:57 +08:00
#enable_trove: "no"
2018-01-17 11:15:20 -05:00
#enable_trove_singletenant: "no"
2021-09-17 05:59:43 -04:00
#enable_venus: "no"
2017-02-11 17:01:19 +00:00
#enable_vitrage: "no"
2016-07-05 09:58:29 +01:00
#enable_watcher: "no"
2020-06-24 14:56:33 +02:00
#enable_zookeeper: "{{ enable_kafka | bool or enable_storm | bool }}"
2017-01-03 08:45:53 +00:00
#enable_zun: "no"
2015-10-18 19:38:42 +00:00
2019-10-03 12:01:00 +02:00
##################
# RabbitMQ options
##################
# Options passed to RabbitMQ server startup script via the
# RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS environment var.
# See Kolla Ansible docs RabbitMQ section for details.
# These are appended to args already provided by Kolla Ansible
# to configure IPv6 in RabbitMQ server.
2020-04-27 10:59:06 +01:00
# More details can be found in the RabbitMQ docs:
# https://www.rabbitmq.com/runtime.html#scheduling
# https://www.rabbitmq.com/runtime.html#busy-waiting
# The default tells RabbitMQ to always use two cores (+S 2:2),
2021-07-28 19:14:43 +00:00
# and not to busy wait (+sbwt none +sbwtdcpu none +sbwtdio none):
#rabbitmq_server_additional_erl_args: "+S 2:2 +sbwt none +sbwtdcpu none +sbwtdio none"
2020-05-14 15:18:56 +01:00
# Whether to enable TLS encryption for RabbitMQ client-server communication.
#rabbitmq_enable_tls: "no"
# CA certificate bundle in RabbitMQ container.
#rabbitmq_cacert: "/etc/ssl/certs/{{ 'ca-certificates.crt' if kolla_base_distro in ['debian', 'ubuntu'] else 'ca-bundle.trust.crt' }}"
2019-10-03 12:01:00 +02:00
2020-02-14 11:41:30 +01:00
#################
# MariaDB options
#################
# List of additional WSREP options
#mariadb_wsrep_extra_provider_options: []
2020-01-27 12:28:59 +01:00
#######################
# External Ceph options
#######################
# External Ceph - cephx auth enabled (this is the standard nowadays, defaults to yes)
2017-04-20 15:29:00 +08:00
#external_ceph_cephx_enabled: "yes"
2020-01-27 12:28:59 +01:00
# Glance
#ceph_glance_keyring: "ceph.client.glance.keyring"
#ceph_glance_user: "glance"
#ceph_glance_pool_name: "images"
# Cinder
#ceph_cinder_keyring: "ceph.client.cinder.keyring"
#ceph_cinder_user: "cinder"
#ceph_cinder_pool_name: "volumes"
#ceph_cinder_backup_keyring: "ceph.client.cinder-backup.keyring"
#ceph_cinder_backup_user: "cinder-backup"
#ceph_cinder_backup_pool_name: "backups"
# Nova
#ceph_nova_keyring: "{{ ceph_cinder_keyring }}"
#ceph_nova_user: "nova"
#ceph_nova_pool_name: "vms"
# Gnocchi
#ceph_gnocchi_keyring: "ceph.client.gnocchi.keyring"
#ceph_gnocchi_user: "gnocchi"
#ceph_gnocchi_pool_name: "gnocchi"
# Manila
#ceph_manila_keyring: "ceph.client.manila.keyring"
#ceph_manila_user: "manila"
2016-09-06 10:52:48 +02:00
2017-08-25 13:13:27 +05:30
#############################
2016-10-17 08:51:50 -03:00
# Keystone - Identity Options
2017-08-25 13:13:27 +05:30
#############################
2016-09-06 10:52:48 +02:00
2018-03-07 11:39:23 -08:00
#keystone_admin_user: "admin"
#keystone_admin_project: "admin"
2016-09-06 10:52:48 +02:00
# Interval to rotate fernet keys by (in seconds). Must be an interval of
# 60(1 min), 120(2 min), 180(3 min), 240(4 min), 300(5 min), 360(6 min),
# 600(10 min), 720(12 min), 900(15 min), 1200(20 min), 1800(30 min),
# 3600(1 hour), 7200(2 hour), 10800(3 hour), 14400(4 hour), 21600(6 hour),
# 28800(8 hour), 43200(12 hour), 86400(1 day), 604800(1 week).
#fernet_token_expiry: 86400
2017-08-25 13:13:27 +05:30
########################
2016-10-17 08:51:50 -03:00
# Glance - Image Options
2017-08-25 13:13:27 +05:30
########################
2016-09-06 08:08:32 -04:00
# Configure image backend.
2017-04-06 14:36:14 +00:00
#glance_backend_ceph: "no"
2018-04-01 18:11:14 +08:00
#glance_backend_file: "yes"
2017-07-12 09:42:34 +08:00
#glance_backend_swift: "no"
2018-04-01 18:11:14 +08:00
#glance_backend_vmware: "no"
2018-11-19 19:47:09 +01:00
#enable_glance_image_cache: "no"
2020-07-28 18:11:40 +02:00
#glance_enable_property_protection: "no"
#glance_enable_interoperable_image_import: "no"
2019-06-16 10:53:58 +02:00
# Configure glance upgrade option.
# Due to this feature being experimental in glance,
# the default value is "no".
#glance_enable_rolling_upgrade: "no"
2016-07-24 07:04:02 +00:00
2018-04-24 14:08:28 +08:00
####################
# Osprofiler options
####################
# valid values: ["elasticsearch", "redis"]
#osprofiler_backend: "elasticsearch"
2017-03-11 15:29:45 +08:00
2017-08-25 13:13:27 +05:30
##################
2017-03-11 15:29:45 +08:00
# Barbican options
2017-08-25 13:13:27 +05:30
##################
2017-03-11 15:29:45 +08:00
# Valid options are [ simple_crypto, p11_crypto ]
#barbican_crypto_plugin: "simple_crypto"
#barbican_library_path: "/usr/lib/libCryptoki2_64.so"
2017-08-25 13:13:27 +05:30
#################
2016-09-22 00:17:47 +08:00
# Gnocchi options
2017-08-25 13:13:27 +05:30
#################
2020-02-13 15:32:39 +01:00
# Valid options are [ file, ceph, swift ]
#gnocchi_backend_storage: "{% if enable_swift | bool %}swift{% else %}file{% endif %}"
2016-09-22 00:17:47 +08:00
2018-01-25 15:09:22 +08:00
# Valid options are [redis, '']
#gnocchi_incoming_storage: "{{ 'redis' if enable_redis | bool else '' }}"
2016-09-22 00:17:47 +08:00
2017-08-25 13:13:27 +05:30
################################
2016-10-17 08:51:50 -03:00
# Cinder - Block Storage Options
2017-08-25 13:13:27 +05:30
################################
2016-07-18 10:39:09 +00:00
# Enable / disable Cinder backends
2020-01-27 12:28:59 +01:00
#cinder_backend_ceph: "no"
2017-07-11 09:49:37 +08:00
#cinder_backend_vmwarevc_vmdk: "no"
2021-09-13 14:38:48 +02:00
#cinder_backend_vmware_vstorage_object: "no"
2016-08-11 15:18:01 +00:00
#cinder_volume_group: "cinder-volumes"
2019-08-13 20:22:54 +02:00
# Valid options are [ '', redis, etcd ]
#cinder_coordination_backend: "{{ 'redis' if enable_redis|bool else 'etcd' if enable_etcd|bool else '' }}"
2017-05-15 14:51:56 +03:00
# Valid options are [ nfs, swift, ceph ]
2017-07-17 11:13:14 +02:00
#cinder_backup_driver: "ceph"
2016-11-10 15:21:37 +00:00
#cinder_backup_share: ""
#cinder_backup_mount_options_nfs: ""
2016-05-09 11:13:12 -04:00
Switch default cloudkitty storage backend to influxdb
Backport: stein
In the Stein release, cloudkitty switched the default storage backend
from sqlalchemy to influxdb. In kolla-ansible stein configuration, we
did not explicitly set the storage backend, and so we automatically
picked up this change. However, prior to
https://review.opendev.org/#/c/615928/ we did not have full support for
InfluxDB as a storage backend, and so this has broken the Rocky-Stein
upgrade (https://bugs.launchpad.net/kolla-ansible/+bug/1838641), which
fails with this during the DB sync:
ERROR cloudkitty InfluxDBClientError: get_list_retention_policies()
requires a database as a parameter or the client to be using a database
This change synchronises our default with cloudkitty's (influxdb), and
also provides an upgrade transition to create the influxdb database.
We also move the cloudkitty_storage_backend variable to
group_vars/all.yml, since it is used to determine whether to enable
influxdb.
Finally, the section name in cloudkitty.conf was incorrect - it was
storage_influx, but should be storage_influxdb.
Change-Id: I71f2ed11bd06f58e141d222e2709835b7ddb2c71
Closes-Bug: #1838641
2019-09-11 18:15:02 +01:00
#######################
# Cloudkitty options
#######################
# Valid option is gnocchi
#cloudkitty_collector_backend: "gnocchi"
# Valid options are 'sqlalchemy' or 'influxdb'. The default value is
# 'influxdb', which matches the default in Cloudkitty since the Stein release.
# When the backend is "influxdb", we also enable Influxdb.
# Also, when using 'influxdb' as the backend, we trigger the configuration/use
# of Cloudkitty storage backend version 2.
#cloudkitty_storage_backend: "influxdb"
2016-12-12 15:41:22 -03:00
2017-08-25 13:13:27 +05:30
###################
2016-08-10 15:48:32 +10:00
# Designate options
2017-08-25 13:13:27 +05:30
###################
2017-01-20 12:01:53 +00:00
# Valid options are [ bind9 ]
2017-04-19 14:19:39 +01:00
#designate_backend: "bind9"
2021-07-26 14:21:43 +02:00
#designate_ns_record:
# - "ns1.example.org"
2020-04-13 17:33:02 +02:00
# Valid options are [ '', redis ]
#designate_coordination_backend: "{{ 'redis' if enable_redis|bool else '' }}"
2016-08-10 15:48:32 +10:00
2017-08-25 13:13:27 +05:30
########################
2016-10-17 08:51:50 -03:00
# Nova - Compute Options
2017-08-25 13:13:27 +05:30
########################
2020-01-27 12:28:59 +01:00
#nova_backend_ceph: "no"
2016-07-20 06:02:18 +00:00
2020-06-08 21:31:15 +02:00
# Valid options are [ qemu, kvm, vmware ]
2017-08-04 17:15:57 +08:00
#nova_compute_virt_type: "kvm"
2017-10-03 20:38:47 +08:00
# The number of fake driver per compute node
#num_nova_fake_per_node: 5
2018-04-04 16:52:51 +07:00
# The flag "nova_safety_upgrade" need to be consider when
# "nova_enable_rolling_upgrade" is enabled. The "nova_safety_upgrade"
# controls whether the nova services are all stopped before rolling
# upgrade to the new version, for the safety and availability.
# If "nova_safety_upgrade" is "yes", that will stop all nova services (except
# nova-compute) for no failed API operations before upgrade to the
# new version. And opposite.
#nova_safety_upgrade: "no"
2020-07-27 15:38:56 +02:00
# Valid options are [ none, novnc, spice ]
2019-08-19 15:52:46 +01:00
#nova_console: "novnc"
2019-12-20 11:35:35 +01:00
##############################
# Neutron - networking options
##############################
# Enable distributed floating ip for OVN deployments
#neutron_ovn_distributed_fip: "no"
2021-02-05 11:34:30 +01:00
# Enable DHCP agent(s) to use with OVN
#neutron_ovn_dhcp_agent: "no"
2017-08-25 13:13:27 +05:30
#############################
2016-10-17 08:51:50 -03:00
# Horizon - Dashboard Options
2017-08-25 13:13:27 +05:30
#############################
2017-03-14 14:15:43 +00:00
#horizon_backend_database: "{{ enable_murano | bool }}"
2016-09-08 12:49:02 +01:00
2018-01-29 14:21:58 +00:00
#############################
# Ironic options
#############################
2018-11-23 11:04:49 +08:00
# dnsmasq bind interface for Ironic Inspector, by default is network_interface
#ironic_dnsmasq_interface: "{{ network_interface }}"
2021-11-08 21:23:21 +03:00
# The following value must be set when enabling ironic, the value format is a
# list of ranges - at least one must be configured, for example:
# - range: 192.168.0.10,192.168.0.100
# See Kolla Ansible docs on Ironic for details.
#ironic_dnsmasq_dhcp_ranges:
2022-03-05 12:37:44 +01:00
# PXE bootloader file for Ironic Inspector, relative to /var/lib/ironic/tftpboot.
2018-05-18 16:27:06 +08:00
#ironic_dnsmasq_boot_file: "pxelinux.0"
2016-09-08 12:49:02 +01:00
2018-06-25 17:03:31 +07:00
# Configure ironic upgrade option, due to currently kolla support
# two upgrade ways for ironic: legacy_upgrade and rolling_upgrade
2016-12-07 15:22:35 +07:00
# The variable "ironic_enable_rolling_upgrade: yes" is meaning rolling_upgrade
2018-06-25 17:03:31 +07:00
# were enabled and opposite
# Rolling upgrade were enable by default
#ironic_enable_rolling_upgrade: "yes"
2018-08-03 10:14:09 +01:00
# List of extra kernel parameters passed to the kernel used during inspection
#ironic_inspector_kernel_cmdline_extras: []
2022-01-31 15:55:56 +01:00
# Valid options are [ '', redis, etcd ]
#ironic_coordination_backend: "{{ 'redis' if enable_redis|bool else 'etcd' if enable_etcd|bool else '' }}"
2017-08-25 13:13:27 +05:30
######################################
2016-03-01 10:46:48 -05:00
# Manila - Shared File Systems Options
2017-08-25 13:13:27 +05:30
######################################
2016-10-10 13:21:04 -03:00
# HNAS backend configuration
#hnas_ip:
#hnas_user:
#hnas_password:
#hnas_evs_id:
#hnas_evs_ip:
#hnas_file_system_name:
2016-03-17 11:43:15 -04:00
2021-07-28 16:39:05 +01:00
# CephFS backend configuration.
# External Ceph FS name.
# By default this is empty to allow Manila to auto-find the first FS available.
#manila_cephfs_filesystem_name:
2020-08-16 02:37:06 +00:00
# Gluster backend configuration
# The option of glusterfs share layout can be directory or volume
# The default option of share layout is 'volume'
#manila_glusterfs_share_layout:
# The default option of nfs server type is 'Gluster'
#manila_glusterfs_nfs_server_type:
# Volume layout Options (required)
# If the glusterfs server requires remote ssh, then you need to fill
# in 'manila_glusterfs_servers', ssh user 'manila_glusterfs_ssh_user', and ssh password
# 'manila_glusterfs_ssh_password'.
# 'manila_glusterfs_servers' value List of GlusterFS servers which provide volumes,
# the format is for example:
# - 10.0.1.1
# - 10.0.1.2
#manila_glusterfs_servers:
#manila_glusterfs_ssh_user:
#manila_glusterfs_ssh_password:
# Used to filter GlusterFS volumes for share creation.
2020-11-23 06:05:48 +00:00
# Examples: manila-share-volume-\\d+$, manila-share-volume-#{size}G-\\d+$;
2020-08-16 02:37:06 +00:00
#manila_glusterfs_volume_pattern:
# Directory layout Options
# If the glusterfs server is on the local node of the manila share,
# it’ s of the format <glustervolserver>:/<glustervolid>
# If the glusterfs server is on a remote node,
# it’ s of the format <username>@<glustervolserver>:/<glustervolid> ,
# and define 'manila_glusterfs_ssh_password'
#manila_glusterfs_target:
#manila_glusterfs_mount_point_base:
2017-08-25 13:13:27 +05:30
################################
2016-03-30 08:18:06 -04:00
# Swift - Object Storage Options
2017-08-25 13:13:27 +05:30
################################
2016-03-17 11:43:15 -04:00
# Swift expects block devices to be available for storage. Two types of storage
# are supported: 1 - storage device with a special partition name and filesystem
# label, 2 - unpartitioned disk with a filesystem. The label of this filesystem
# is used to detect the disk which Swift will be using.
2017-08-10 00:24:39 -07:00
# Swift support two matching modes, valid options are [ prefix, strict ]
2016-03-17 11:43:15 -04:00
#swift_devices_match_mode: "strict"
# This parameter defines matching pattern: if "strict" mode was selected,
# for swift_devices_match_mode then swift_device_name should specify the name of
# the special swift partition for example: "KOLLA_SWIFT_DATA", if "prefix" mode was
# selected then swift_devices_name should specify a pattern which would match to
# filesystems' labels prepared for swift.
#swift_devices_name: "KOLLA_SWIFT_DATA"
2016-05-26 20:58:03 +08:00
2018-07-12 15:53:23 +07:00
# Configure swift upgrade option, due to currently kolla support
# two upgrade ways for swift: legacy_upgrade and rolling_upgrade
# The variable "swift_enable_rolling_upgrade: yes" is meaning rolling_upgrade
# were enabled and opposite
# Rolling upgrade were enable by default
#swift_enable_rolling_upgrade: "yes"
2017-08-25 13:13:27 +05:30
###################################
2017-07-04 22:59:12 +02:00
# VMware - OpenStack VMware support
2017-08-25 13:13:27 +05:30
###################################
2017-04-11 17:08:59 +08:00
#vmware_vcenter_host_ip:
#vmware_vcenter_host_username:
#vmware_vcenter_host_password:
#vmware_datastore_name:
#vmware_vcenter_name:
2017-07-11 09:49:37 +08:00
#vmware_vcenter_cluster_name:
2017-12-05 06:08:02 +00:00
2017-07-17 15:59:05 +00:00
############
# Prometheus
############
2020-03-20 10:56:04 +00:00
#enable_prometheus_server: "{{ enable_prometheus | bool }}"
2017-07-17 15:59:05 +00:00
#enable_prometheus_haproxy_exporter: "{{ enable_haproxy | bool }}"
#enable_prometheus_mysqld_exporter: "{{ enable_mariadb | bool }}"
2018-06-08 13:14:36 -04:00
#enable_prometheus_node_exporter: "{{ enable_prometheus | bool }}"
#enable_prometheus_cadvisor: "{{ enable_prometheus | bool }}"
2021-04-07 10:09:12 +00:00
#enable_prometheus_fluentd_integration: "{{ enable_prometheus | bool and enable fluentd | bool }}"
2018-06-01 17:03:58 -04:00
#enable_prometheus_memcached: "{{ enable_prometheus | bool }}"
#enable_prometheus_alertmanager: "{{ enable_prometheus | bool }}"
2020-01-27 12:28:59 +01:00
#enable_prometheus_ceph_mgr_exporter: "no"
2019-01-16 18:37:16 -03:00
#enable_prometheus_openstack_exporter: "{{ enable_prometheus | bool }}"
2019-03-05 16:21:08 +03:00
#enable_prometheus_elasticsearch_exporter: "{{ enable_prometheus | bool and enable_elasticsearch | bool }}"
2019-09-11 11:35:23 +01:00
#enable_prometheus_blackbox_exporter: "{{ enable_prometheus | bool }}"
2019-03-13 16:27:14 +00:00
#enable_prometheus_libvirt_exporter: "{{ enable_prometheus | bool and enable_nova | bool and nova_compute_virt_type in ['kvm', 'qemu'] }}"
2022-03-03 14:31:07 -07:00
#enable_prometheus_etcd_integration: "{{ enable_prometheus | bool and enable_etcd | bool }}"
2019-05-26 13:19:59 +00:00
2019-09-18 10:58:38 +03:00
# List of extra parameters passed to prometheus. You can add as many to the list.
#prometheus_cmdline_extras:
2021-07-08 16:31:44 +02:00
# List of extra parameters passed to cAdvisor. By default system cgroups
# and container labels are not exposed to reduce time series cardinality.
#prometheus_cadvisor_cmdline_extras: "--docker_only --store_container_labels=false --disable_metrics=percpu,referenced_memory,cpu_topology,resctrl,udp,advtcp,sched,hugetlb,memory_numa,tcp,process"
2022-02-18 10:12:22 +01:00
# Extra parameters passed to Prometheus exporters.
#prometheus_blackbox_exporter_cmdline_extras:
#prometheus_elasticsearch_exporter_cmdline_extras:
#prometheus_haproxy_exporter_cmdline_extras:
#prometheus_memcached_exporter_cmdline_extras:
#prometheus_mysqld_exporter_cmdline_extras:
#prometheus_node_exporter_cmdline_extras:
#prometheus_openstack_exporter_cmdline_extras:
2020-01-27 12:28:59 +01:00
# Example of setting endpoints for prometheus ceph mgr exporter.
# You should add all ceph mgr's in your external ceph deployment.
#prometheus_ceph_mgr_exporter_endpoints:
# - host1:port1
# - host2:port2
2019-05-26 13:19:59 +00:00
#########
# Freezer
#########
# Freezer can utilize two different database backends, elasticsearch or mariadb.
# Elasticsearch is preferred, however it is not compatible with the version deployed
# by kolla-ansible. You must first setup an external elasticsearch with 2.3.0.
# By default, kolla-ansible deployed mariadb is the used database backend.
#freezer_database_backend: "mariadb"
2019-08-08 13:20:20 -04:00
##########
# Telegraf
##########
# Configure telegraf to use the docker daemon itself as an input for
# telemetry data.
#telegraf_enable_docker_input: "no"
2020-07-09 15:28:50 +08:00
##########################################
# Octavia - openstack loadbalancer Options
##########################################
2021-01-18 23:14:14 +01:00
# Whether to run Kolla Ansible's automatic configuration for Octavia.
2020-07-09 15:28:50 +08:00
# NOTE: if you upgrade from Ussuri, you must set `octavia_auto_configure` to `no`
# and keep your other Octavia config like before.
#octavia_auto_configure: yes
# Octavia amphora flavor.
# See os_nova_flavor for details. Supported parameters:
# - flavorid (optional)
# - is_public (optional)
# - name
# - vcpus
# - ram
# - disk
# - ephemeral (optional)
# - swap (optional)
# - extra_specs (optional)
#octavia_amp_flavor:
# name: "amphora"
# is_public: no
# vcpus: 1
# ram: 1024
# disk: 5
# Octavia security groups. lb-mgmt-sec-grp is for amphorae.
#octavia_amp_security_groups:
# mgmt-sec-grp:
# name: "lb-mgmt-sec-grp"
# rules:
# - protocol: icmp
# - protocol: tcp
# src_port: 22
# dst_port: 22
# - protocol: tcp
# src_port: "{{ octavia_amp_listen_port }}"
# dst_port: "{{ octavia_amp_listen_port }}"
# Octavia management network.
# See os_network and os_subnet for details. Supported parameters:
# - external (optional)
# - mtu (optional)
# - name
# - provider_network_type (optional)
# - provider_physical_network (optional)
# - provider_segmentation_id (optional)
# - shared (optional)
# - subnet
# The subnet parameter has the following supported parameters:
# - allocation_pool_start (optional)
2020-10-13 22:54:31 +08:00
# - allocation_pool_end (optional)
2020-07-09 15:28:50 +08:00
# - cidr
# - enable_dhcp (optional)
# - gateway_ip (optional)
# - name
# - no_gateway_ip (optional)
2021-01-27 02:39:25 -08:00
# - ip_version (optional)
# - ipv6_address_mode (optional)
# - ipv6_ra_mode (optional)
2020-07-09 15:28:50 +08:00
#octavia_amp_network:
# name: lb-mgmt-net
# shared: false
# subnet:
# name: lb-mgmt-subnet
# cidr: "{{ octavia_amp_network_cidr }}"
# no_gateway_ip: yes
# enable_dhcp: yes
# Octavia management network subnet CIDR.
2021-02-25 14:59:40 +01:00
#octavia_amp_network_cidr: 10.1.0.0/24
2020-07-09 15:28:50 +08:00
#octavia_amp_image_tag: "amphora"
# Load balancer topology options are [ SINGLE, ACTIVE_STANDBY ]
#octavia_loadbalancer_topology: "SINGLE"
# The following variables are ignored as along as `octavia_auto_configure` is set to `yes`.
#octavia_amp_image_owner_id:
#octavia_amp_boot_network_list:
#octavia_amp_secgroup_list:
#octavia_amp_flavor_id:
2020-07-29 10:30:52 +00:00
####################
# Corosync options
####################
# this is UDP port
#hacluster_corosync_port: 5405