Merge "Remove chrony image from kolla"

This commit is contained in:
Zuul 2021-10-01 09:39:56 +00:00 committed by Gerrit Code Review
commit 8ca0af63d4
7 changed files with 4 additions and 49 deletions

View File

@ -109,8 +109,6 @@ Infrastructure components
Kolla provides images to deploy the following infrastructure components:
- `Chrony <https://chrony.tuxfamily.org/>`__ a versatile implementation
of the Network Time Protocol (NTP) [deprecated].
- `Collectd <https://collectd.org>`__,
`InfluxDB <https://influxdata.com/time-series-platform/influxdb/>`__, and
`Grafana <https://grafana.com>`__ for performance monitoring.

View File

@ -5,7 +5,6 @@ barbican,C,C,C,C,N,C
bifrost,N,C,N,N,N,N
blazar,N,C,N,C,N,C
ceilometer,C,C,C,C,N,C
chrony (deprecated),C,C,C,C,N,C
cinder,C,C,C,C,N,C
cloudkitty,C,C,N,C,N,C
collectd,C,C,C,C,N,C

1 Image,CentOS,,Ubuntu,,Debian
5 bifrost,N,C,N,N,N,N
6 blazar,N,C,N,C,N,C
7 ceilometer,C,C,C,C,N,C
chrony (deprecated),C,C,C,C,N,C
8 cinder,C,C,C,C,N,C
9 cloudkitty,C,C,N,C,N,C
10 collectd,C,C,C,C,N,C

View File

@ -5,7 +5,6 @@ barbican,C,T,C,C,C,C
bifrost,N,T,N,C,N,N
blazar,N,C,N,C,N,C
ceilometer,C,C,C,C,C,C
chrony (deprecated),T,T,T,T,C,T
cinder,C,T,C,T,C,C
cloudkitty,C,C,N,C,N,C
collectd,C,C,C,C,C,C

1 Image,CentOS,,Ubuntu,,Debian
5 bifrost,N,T,N,C,N,N
6 blazar,N,C,N,C,N,C
7 ceilometer,C,C,C,C,C,C
chrony (deprecated),T,T,T,T,C,T
8 cinder,C,T,C,T,C,C
9 cloudkitty,C,C,N,C,N,C
10 collectd,C,C,C,C,C,C

View File

@ -1,22 +0,0 @@
FROM {{ namespace }}/{{ infra_image_prefix }}base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
# chrony image is deprecated
{% block chrony_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{{ macros.configure_user(name='chrony') }}
{% set chrony_packages = ['chrony'] %}
{{ macros.install_packages(chrony_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block chrony_footer %}{% endblock %}
{% block footer %}{% endblock %}

View File

@ -1,18 +0,0 @@
#!/bin/bash
echo "chrony image is deprecated"
rm -f /var/run/chronyd.pid
CHRONY_LOG_DIR="/var/log/kolla/chrony"
if [[ ! -d "${CHRONY_LOG_DIR}" ]]; then
mkdir -p ${CHRONY_LOG_DIR}
fi
if [[ $(stat -c %a ${CHRONY_LOG_DIR}) != "755" ]]; then
chmod 755 /var/log/kolla/chrony
fi
if [[ $(stat -c %U:%G ${CHRONY_LOG_DIR}) != "chrony:chrony" ]]; then
chown chrony:chrony ${CHRONY_LOG_DIR}
fi

View File

@ -119,7 +119,6 @@ _PROFILE_OPTS = [
help='Aux Images'),
cfg.ListOpt('default',
default=[
'chrony',
'cron',
'kolla-toolbox',
'fluentd',
@ -662,10 +661,6 @@ USERS = {
'uid': 42405,
'gid': 42405,
},
'chrony-user': {
'uid': 42406,
'gid': 42406,
},
'cinder-user': {
'uid': 42407,
'gid': 42407,

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
Support of building chrony image has been removed.