Drop Freezer

It's inactive and hasn't produced a 2024.1 release [1].
There are some efforts to restore Freezer, but let's remove it for now.

[1]: https://governance.openstack.org/tc/reference/emerging-technology-and-inactive-projects.html#current-inactive-projects

Change-Id: If2d034789d8c1128597c9072b4e82d14f72492e0
This commit is contained in:
Michal Nasiadka 2024-04-15 15:25:54 +02:00
parent a9bde9b1ac
commit c69284fd8b
15 changed files with 5 additions and 134 deletions

View File

@ -77,7 +77,6 @@ Kolla provides images to deploy the following OpenStack projects:
- `CloudKitty <https://docs.openstack.org/cloudkitty/latest/>`__ - `CloudKitty <https://docs.openstack.org/cloudkitty/latest/>`__
- `Cyborg <https://docs.openstack.org/cyborg/latest/>`__ - `Cyborg <https://docs.openstack.org/cyborg/latest/>`__
- `Designate <https://docs.openstack.org/designate/latest/>`__ - `Designate <https://docs.openstack.org/designate/latest/>`__
- `Freezer <https://docs.openstack.org/freezer/latest/>`__
- `Glance <https://docs.openstack.org/glance/latest/>`__ - `Glance <https://docs.openstack.org/glance/latest/>`__
- `Heat <https://docs.openstack.org/heat/latest/>`__ - `Heat <https://docs.openstack.org/heat/latest/>`__
- `Horizon <https://docs.openstack.org/horizon/latest/>`__ - `Horizon <https://docs.openstack.org/horizon/latest/>`__

View File

@ -13,7 +13,6 @@ designate,U,U,U
dnsmasq,U,U,U dnsmasq,U,U,U
etcd,U,U,U etcd,U,U,U
fluentd,U,U,U fluentd,U,U,U
freezer,U,U,U
glance,U,U,U glance,U,U,U
gnocchi,U,U,U gnocchi,U,U,U
grafana,U,U,U grafana,U,U,U

1 Image Rocky Linux Ubuntu Debian
13 dnsmasq U U U
14 etcd U U U
15 fluentd U U U
freezer U U U
16 glance U U U
17 gnocchi U U U
18 grafana U U U

View File

@ -13,7 +13,6 @@ designate,U,U,U
dnsmasq,T,T,U dnsmasq,T,T,U
etcd,T,T,U etcd,T,T,U
fluentd,T,T,T fluentd,T,T,T
freezer,U,U,U
glance,T,T,T glance,T,T,T
gnocchi,U,U,U gnocchi,U,U,U
grafana,U,U,U grafana,U,U,U

1 Image Rocky Linux Ubuntu Debian
13 dnsmasq T T U
14 etcd T T U
15 fluentd T T T
freezer U U U
16 glance T T T
17 gnocchi U U U
18 grafana U U U

View File

@ -1,29 +0,0 @@
FROM {{ namespace }}/{{ image_prefix }}freezer-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block freezer_api_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% set freezer_api_packages = [
] %}
{{ macros.install_packages(freezer_api_packages | customizable("packages")) }}
ADD freezer-api-archive /freezer-api-source
{% set freezer_api_pip_packages = [
'/freezer-api'
] %}
COPY extend_start.sh /usr/local/bin/kolla_freezer_extend_start
RUN ln -s freezer-api-source/* freezer-api \
&& {{ macros.install_pip(freezer_api_pip_packages | customizable("pip_packages")) }} \
&& cp -r /freezer-api/etc/freezer/* /etc/freezer/ \
&& chmod 644 /usr/local/bin/kolla_freezer_extend_start
{% block freezer_api_footer %}{% endblock %}
{% block footer %}{% endblock %}

View File

@ -1,10 +0,0 @@
#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
freezer-manage db update
exit 0
fi
. /usr/local/bin/kolla_httpd_setup

View File

@ -1,37 +0,0 @@
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block freezer_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{{ macros.configure_user(name='freezer') }}
{% if base_package_type == 'deb' %}
{% set freezer_base_packages = [
'trickle'
] %}
{{ macros.install_packages(freezer_base_packages | customizable("packages")) }}
{% endif %}
ADD freezer-base-archive /freezer-base-source
{% set freezer_base_pip_packages = [
'/freezer'
] %}
COPY freezer_sudoers /etc/sudoers.d/kolla_freezer_sudoers
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN ln -s freezer-base-source/* freezer \
&& mkdir -p /etc/freezer \
&& {{ macros.install_pip(freezer_base_pip_packages | customizable("pip_packages")) }} \
&& cp -r /freezer/etc/* /etc/freezer \
&& chmod 750 /etc/sudoers.d \
&& chmod 640 /etc/sudoers.d/kolla_freezer_sudoers \
&& touch /usr/local/bin/kolla_freezer_extend_start \
&& chmod 644 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_freezer_extend_start
{% block freezer_base_footer %}{% endblock %}

View File

@ -1,15 +0,0 @@
#!/bin/bash
# Create log dir for freezer logs
LOG_DIR="/var/log/kolla/freezer"
if [[ ! -d "${LOG_DIR}" ]]; then
mkdir -p ${LOG_DIR}
fi
if [[ $(stat -c %U:%G ${LOG_DIR}) != "freezer:kolla" ]]; then
chown freezer:kolla ${LOG_DIR}
fi
if [[ $(stat -c %a ${LOG_DIR}) != "755" ]]; then
chmod 755 ${LOG_DIR}
fi
. /usr/local/bin/kolla_freezer_extend_start

View File

@ -1 +0,0 @@
%kolla ALL=(root) NOPASSWD: /usr/bin/chown -R freezer\: /var/lib/freezer/, /bin/chown -R freezer\: /var/lib/freezer/

View File

@ -1,13 +0,0 @@
FROM {{ namespace }}/{{ image_prefix }}freezer-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block freezer_scheduler_header %}{% endblock %}
RUN mkdir -p /etc/freezer/scheduler
{% block freezer_scheduler_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER freezer

View File

@ -69,14 +69,6 @@ function config_designate_dashboard {
done done
} }
function config_freezer_ui {
for file in ${SITE_PACKAGES}/disaster_recovery/enabled/_*[^__].py; do
config_dashboard "${ENABLE_FREEZER:-no}" \
"${SITE_PACKAGES}/disaster_recovery/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
}
function config_heat_dashboard { function config_heat_dashboard {
for file in ${SITE_PACKAGES}/heat_dashboard/enabled/_*[^__].py; do for file in ${SITE_PACKAGES}/heat_dashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_HEAT:-no}" \ config_dashboard "${ENABLE_HEAT:-no}" \
@ -233,7 +225,6 @@ function settings_changed {
config_blazar_dashboard config_blazar_dashboard
config_cloudkitty_dashboard config_cloudkitty_dashboard
config_designate_dashboard config_designate_dashboard
config_freezer_ui
config_heat_dashboard config_heat_dashboard
config_ironic_dashboard config_ironic_dashboard
config_magnum_dashboard config_magnum_dashboard

View File

@ -90,7 +90,6 @@ _PROFILE_OPTS = [
'blazar', 'blazar',
'cloudkitty', 'cloudkitty',
'designate', 'designate',
'freezer',
'gnocchi', 'gnocchi',
'influxdb', 'influxdb',
'ironic', 'ironic',

View File

@ -66,14 +66,6 @@ SOURCES = {
'location': ('https://github.com/etcd-io/etcd/' 'location': ('https://github.com/etcd-io/etcd/'
'releases/download/v${version}' 'releases/download/v${version}'
'/etcd-v${version}-linux-${debian_arch}.tar.gz')}, '/etcd-v${version}-linux-${debian_arch}.tar.gz')},
'freezer-api': {
'type': 'url',
'location': ('$tarballs_base/openstack/freezer-api/'
'freezer-api-${openstack_branch}.tar.gz')},
'freezer-base': {
'type': 'url',
'location': ('$tarballs_base/openstack/freezer/'
'freezer-${openstack_branch}.tar.gz')},
'glance-base': { 'glance-base': {
'type': 'url', 'type': 'url',
'location': ('$tarballs_base/openstack/glance/' 'location': ('$tarballs_base/openstack/glance/'
@ -103,10 +95,6 @@ SOURCES = {
'type': 'url', 'type': 'url',
'location': ('$tarballs_base/openstack/designate-dashboard/' 'location': ('$tarballs_base/openstack/designate-dashboard/'
'designate-dashboard-${openstack_branch}.tar.gz')}, 'designate-dashboard-${openstack_branch}.tar.gz')},
'horizon-plugin-freezer-web-ui': {
'type': 'url',
'location': ('$tarballs_base/openstack/freezer-web-ui/'
'freezer-web-ui-${openstack_branch}.tar.gz')},
'horizon-plugin-heat-dashboard': { 'horizon-plugin-heat-dashboard': {
'type': 'url', 'type': 'url',
'location': ('$tarballs_base/openstack/heat-dashboard/' 'location': ('$tarballs_base/openstack/heat-dashboard/'

View File

@ -65,7 +65,7 @@ USERS = {
'uid': 42413, 'uid': 42413,
'gid': 42413, 'gid': 42413,
}, },
'freezer-user': { 'freezer-user': { # unused user (freezer dropped)
'uid': 42414, 'uid': 42414,
'gid': 42414, 'gid': 42414,
}, },

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
Support for ``Freezer`` container images building have been dropped.

View File

@ -22,8 +22,6 @@ kolla_build_sources:
openstack/cinder: cinder-base openstack/cinder: cinder-base
openstack/cloudkitty: cloudkitty-base openstack/cloudkitty: cloudkitty-base
openstack/designate: designate-base openstack/designate: designate-base
openstack/freezer: freezer-base
openstack/freezer-api: freezer-api
openstack/glance: glance-base openstack/glance: glance-base
openstack/gnocchi: gnocchi-base openstack/gnocchi: gnocchi-base
openstack/heat: heat-base openstack/heat: heat-base
@ -72,7 +70,6 @@ kolla_build_sources:
openstack/blazar-dashboard: horizon-plugin-blazar-dashboard openstack/blazar-dashboard: horizon-plugin-blazar-dashboard
openstack/cloudkitty-dashboard: horizon-plugin-cloudkitty-dashboard openstack/cloudkitty-dashboard: horizon-plugin-cloudkitty-dashboard
openstack/designate-dashboard: horizon-plugin-designate-dashboard openstack/designate-dashboard: horizon-plugin-designate-dashboard
openstack/freezer-web-ui: horizon-plugin-freezer-web-ui
openstack/heat-dashboard: horizon-plugin-heat-dashboard openstack/heat-dashboard: horizon-plugin-heat-dashboard
openstack/ironic-ui: horizon-plugin-ironic-ui openstack/ironic-ui: horizon-plugin-ironic-ui
openstack/magnum-ui: horizon-plugin-magnum-ui openstack/magnum-ui: horizon-plugin-magnum-ui