Mark Goddard 650919f527 Disable chrony container by default
Fixes an issue where multiple NTP daemons could be running on the
overcloud hosts, due to Kolla Ansible deploying a chrony container by
default starting with the Rocky release.

Kayobe now overrides this default, to ensure that chrony does not conflict
with the NTP daemon deployed on the host. To use the containerised chrony
daemon instead, set ``kolla_enable_chrony`` to ``true`` in
``${KAYOBE_CONFIG_PATH}/kolla.yml``. This will also disable the host NTP
daemon.

To ensure that chrony is not running, Kayobe removes the chrony container
if ``kolla_enable_chrony`` is ``false`` in the following commands:

* ``kayobe overcloud service deploy``
* ``kayobe overcloud service reconfigure``
* ``kayobe overcloud service upgrade``

The play in Kayobe is tagged with ``stop-chrony``.

Change-Id: I89a973c0b600abece79bddcba5a46cc28a4f1df9
Story: 2005272
Task: 30122
2019-07-15 09:29:25 +01:00

159 lines
4.3 KiB
YAML

---
# Path to Kolla Ansible installation directory.
kolla_ansible_install_dir: "{{ kolla_ansible_venv }}/share/kolla-ansible"
###############################################################################
# Inventory configuration.
# Full default seed inventory contents.
kolla_seed_inventory_default: |
# This file is managed by Ansible. Do not edit.
{{ lookup('template', "seed.j2") }}
# Full seed inventory contents.
kolla_seed_inventory: "{{ kolla_seed_inventory_custom or kolla_seed_inventory_default }}"
# Default overcloud inventory containing a mapping from top level groups to
# hosts.
kolla_overcloud_inventory_default_top_level: "{{ lookup('template', 'overcloud-top-level.j2') }}"
# Overcloud inventory containing a mapping from top level groups to hosts.
kolla_overcloud_inventory_top_level: "{{ kolla_overcloud_inventory_custom_top_level or kolla_overcloud_inventory_default_top_level }}"
# Default overcloud inventory containing a mapping from components to top level
# groups.
kolla_overcloud_inventory_default_components: "{{ lookup('template', 'overcloud-components.j2') }}"
# Overcloud inventory containing a mapping from components to top level groups.
kolla_overcloud_inventory_components: "{{ kolla_overcloud_inventory_custom_components or kolla_overcloud_inventory_default_components }}"
# Default overcloud inventory containing a mapping from services to components.
kolla_overcloud_inventory_default_services: "{{ lookup('template', 'overcloud-services.j2') }}"
# Overcloud inventory containing a mapping from services to components.
kolla_overcloud_inventory_services: "{{ kolla_overcloud_inventory_custom_services or kolla_overcloud_inventory_default_services }}"
# Full default overcloud inventory contents. By default this will be the
# concatenation of the top level, component, and service inventories.
kolla_overcloud_inventory_default: |
# This file is managed by Ansible. Do not edit.
# Overcloud inventory file for kolla-ansible.
{{ kolla_overcloud_inventory_top_level }}
{{ kolla_overcloud_inventory_components }}
{{ kolla_overcloud_inventory_services }}
# Full overcloud inventory contents. By default this will be the concatenation
# of the top level, component, and service inventories.
kolla_overcloud_inventory: "{{ kolla_overcloud_inventory_custom or kolla_overcloud_inventory_default }}"
# List of names of all top level groups in the inventory.
kolla_overcloud_top_level_groups: >
{{ kolla_overcloud_inventory_top_level_group_map.values() |
selectattr('groups', 'defined') |
map(attribute='groups') |
sum(start=[]) |
unique |
list }}
# Path to the kolla ansible seed inventory directory.
kolla_seed_inventory_path: "{{ kolla_config_path }}/inventory/seed"
# Path to the kolla ansible overcloud inventory directory.
kolla_overcloud_inventory_path: "{{ kolla_config_path }}/inventory/overcloud"
###############################################################################
# Feature configuration.
# List of features supported by Kolla as enable_* flags.
kolla_feature_flags:
- aodh
- barbican
- blazar
- ceilometer
- central_logging
- ceph
- ceph_mds
- ceph_nfs
- ceph_rgw
- chrony
- cinder
- cinder_backend_hnas_iscsi
- cinder_backend_hnas_nfs
- cinder_backend_iscsi
- cinder_backend_lvm
- cinder_backend_nfs
- cinder_backend_zfssa_iscsi
- cloudkitty
- collectd
- congress
- designate
- elasticsearch
- etcd
- fluentd
- freezer
- gnocchi
- grafana
- haproxy
- heat
- horizon
- influxdb
- ironic
- ironic_ipxe
- ironic_neutron_agent
- ironic_pxe_uefi
- kafka
- karbor
- kibana
- kuryr
- magnum
- manila
- manila_backend_generic
- manila_backend_hnas
- manila_backend_cephfs_native
- manila_backend_cephfs_nfs
- mariadb
- mistral
- mongodb
- monasca
- murano
- multipathd
- neutron_agent_ha
- neutron_bgp_dragent
- neutron_dvr
- neutron_fwaas
- neutron_lbaas
- neutron_provider_networks
- neutron_qos
- neutron_segments
- neutron_sriov
- neutron_vpnaas
- nova_serialconsole_proxy
- octavia
- osprofiler
- panko
- prometheus
- qdrouterd
- rally
- sahara
- searchlight
- senlin
- skydive
- solum
- storm
- swift
- tacker
- telegraf
- tempest
- trove
- vitrage
- vmtp
- watcher
- xtrabackup
- zookeeper
- zun