diff options
| author | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2020-07-12 10:35:31 +0200 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2021-04-06 09:17:51 +0000 |
| commit | b647cb41286246fd7d5221fbb70c00d8430c6fa8 (patch) | |
| tree | b0a205a0af8834b1454081feb38537f7f170f978 | |
| parent | a52cf61b2234d2f078dd2893dd37de63e20ea1aa (diff) | |
| download | kolla-ansible-b647cb41286246fd7d5221fbb70c00d8430c6fa8.tar.gz kolla-ansible-b647cb41286246fd7d5221fbb70c00d8430c6fa8.zip | |
Deprecate and disable chrony by default
Per [1].
[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-February/020707.html
Change-Id: Id6f3cd158bf5d01750971249b11364b6a8631789
Closes-Bug: #1885689
| -rw-r--r-- | ansible/group_vars/all.yml | 2 | ||||
| -rw-r--r-- | ansible/roles/chrony/tasks/main.yml | 5 | ||||
| -rw-r--r-- | doc/source/reference/logging-and-monitoring/monasca-guide.rst | 2 | ||||
| -rw-r--r-- | etc/kolla/globals.yml | 2 | ||||
| -rw-r--r-- | releasenotes/notes/deprecate-chrony-077a8686e79a919e.yaml | 9 | ||||
| -rwxr-xr-x | tests/setup_gate.sh | 2 | ||||
| -rw-r--r-- | tests/templates/globals-default.j2 | 10 |
7 files changed, 24 insertions, 8 deletions
diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index fd481b83c..e7c467bc8 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -580,7 +580,7 @@ enable_ceilometer: "no" enable_ceilometer_ipmi: "no" enable_cells: "no" enable_central_logging: "no" -enable_chrony: "yes" +enable_chrony: "no" enable_cinder: "no" enable_cinder_backup: "yes" enable_cinder_backend_hnas_nfs: "no" diff --git a/ansible/roles/chrony/tasks/main.yml b/ansible/roles/chrony/tasks/main.yml index bc5d1e625..1ad1760bd 100644 --- a/ansible/roles/chrony/tasks/main.yml +++ b/ansible/roles/chrony/tasks/main.yml @@ -1,2 +1,7 @@ --- +- name: Warn about deprecation + debug: + msg: > + chrony role is deprecated and will be removed in Xena + - include_tasks: "{{ kolla_action }}.yml" diff --git a/doc/source/reference/logging-and-monitoring/monasca-guide.rst b/doc/source/reference/logging-and-monitoring/monasca-guide.rst index 1f5436ed6..083186d4b 100644 --- a/doc/source/reference/logging-and-monitoring/monasca-guide.rst +++ b/doc/source/reference/logging-and-monitoring/monasca-guide.rst @@ -173,7 +173,7 @@ images: .. code-block:: console - $ kolla-build cron chrony fluentd mariadb kolla-toolbox keystone memcached keepalived haproxy + $ kolla-build cron fluentd mariadb kolla-toolbox keystone memcached keepalived haproxy Deployment ~~~~~~~~~~ diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml index 069c96701..ccfa01a83 100644 --- a/etc/kolla/globals.yml +++ b/etc/kolla/globals.yml @@ -274,7 +274,7 @@ #enable_ceilometer_ipmi: "no" #enable_cells: "no" #enable_central_logging: "no" -#enable_chrony: "yes" +#enable_chrony: "no" #enable_cinder: "no" #enable_cinder_backup: "yes" #enable_cinder_backend_hnas_nfs: "no" diff --git a/releasenotes/notes/deprecate-chrony-077a8686e79a919e.yaml b/releasenotes/notes/deprecate-chrony-077a8686e79a919e.yaml new file mode 100644 index 000000000..ee8403a94 --- /dev/null +++ b/releasenotes/notes/deprecate-chrony-077a8686e79a919e.yaml @@ -0,0 +1,9 @@ +--- +deprecations: + - | + Support for deploying ``chrony`` is deprecated and will be removed in the + Xena cycle. + +upgrade: + - | + Due to deprecation, ``chrony`` is no longer enabled by default. diff --git a/tests/setup_gate.sh b/tests/setup_gate.sh index 5e75f6b59..8de90907c 100755 --- a/tests/setup_gate.sh +++ b/tests/setup_gate.sh @@ -49,7 +49,7 @@ function prepare_images { fi if [[ $SCENARIO != "bifrost" ]]; then - GATE_IMAGES="^cron,^fluentd,^glance,^haproxy,^keepalived,^keystone,^kolla-toolbox,^mariadb,^memcached,^neutron,^nova-,^openvswitch,^rabbitmq,^horizon,^chrony,^heat,^placement" + GATE_IMAGES="^cron,^fluentd,^glance,^haproxy,^keepalived,^keystone,^kolla-toolbox,^mariadb,^memcached,^neutron,^nova-,^openvswitch,^rabbitmq,^horizon,^heat,^placement" else GATE_IMAGES="bifrost" fi diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index 91e8aed19..54f353850 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -33,6 +33,12 @@ enable_openstack_core: "{{ openstack_core_enabled }}" enable_horizon: "{{ dashboard_enabled }}" enable_heat: "{{ openstack_core_tested }}" +# TODO(yoctozepto): Remove this in the Xena cycle. +# We have to keep it for now for upgrades because dropping chronyd inbetween +# will make prechecks fail due to lack of proper host-level timesync (chronyd +# is containerized and the host-level client either removed or fought with). +enable_chrony: "no" + {% if scenario != 'bifrost' %} kolla_internal_vip_address: "{{ kolla_internal_vip_address }}" neutron_external_interface: "{{ neutron_external_interface_name }}" @@ -105,7 +111,6 @@ enable_cells: "yes" {% endif %} {% if scenario == "mariadb" %} -enable_chrony: "no" enable_fluentd: "yes" enable_mariadb: "yes" enable_memcached: "no" @@ -113,8 +118,6 @@ enable_rabbitmq: "no" {% endif %} {% if scenario == "cephadm" %} -# Disable chrony - cephadm requires chronyd.service running -enable_chrony: "no" # kolla-ansible vars enable_cinder: "yes" # External Ceph @@ -154,7 +157,6 @@ enable_octavia: "yes" {% endif %} {% if scenario == "prometheus-efk" %} -enable_chrony: "no" enable_central_logging: "yes" enable_grafana: "yes" enable_prometheus: "yes" |
