Remove panko
Panko has been deprecated and removed from OpenStack. Only stable branches are maintained. Change-Id: Ie35f92737ef36531d7bdc6b9245d529be8096c9c
This commit is contained in:
parent
5338b559ea
commit
e9ec89821e
@ -93,7 +93,6 @@ Kolla provides images to deploy the following OpenStack projects:
|
||||
- `Neutron <https://docs.openstack.org/neutron/latest/>`__
|
||||
- `Nova <https://docs.openstack.org/nova/latest/>`__
|
||||
- `Octavia <https://docs.openstack.org/octavia/latest/>`__
|
||||
- `Panko <https://docs.openstack.org/panko/latest/>`__
|
||||
- `Rally <https://docs.openstack.org/rally/latest/>`__ [deprecated]
|
||||
- `Sahara <https://docs.openstack.org/sahara/latest/>`__
|
||||
- `Senlin <https://docs.openstack.org/senlin/latest/>`__
|
||||
|
@ -53,7 +53,6 @@ octavia,C,C,N,C,N,C
|
||||
openvswitch,C,C,C,C,N,C
|
||||
ovn,C,C,C,C,N,N
|
||||
ovsdpdk,N,N,C,C,N,C
|
||||
panko,C,C,C,C,N,C
|
||||
placement,C,C,N,C,N,C
|
||||
prometheus,C,C,C,C,N,C
|
||||
qdrouterd,C,C,C,C,N,N
|
||||
|
|
@ -54,7 +54,6 @@ octavia,C,C,N,C,C,C
|
||||
openvswitch,T,T,T,T,C,T
|
||||
ovn,C,C,C,C,N,N
|
||||
ovsdpdk,N,N,C,C,C,C
|
||||
panko,C,C,C,C,C,C
|
||||
placement,T,T,T,T,C,T
|
||||
prometheus,C,C,C,C,C,C
|
||||
qdrouterd,C,C,N,N,N,N
|
||||
|
|
@ -15,14 +15,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'openstack-ceilometer-common',
|
||||
'python3-gnocchiclient',
|
||||
'python3-oslo-db',
|
||||
'python3-panko',
|
||||
'python3-tooz'
|
||||
] %}
|
||||
{% elif base_package_type == 'deb' %}
|
||||
{% set ceilometer_base_packages = [
|
||||
'ceilometer-common',
|
||||
'python3-gnocchiclient',
|
||||
'python3-panko',
|
||||
'python3-pymongo'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
@ -1,30 +0,0 @@
|
||||
FROM {{ namespace }}/{{ image_prefix }}panko-base:{{ tag }}
|
||||
{% block labels %}
|
||||
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||
{% endblock %}
|
||||
|
||||
{% block panko_api_header %}{% endblock %}
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_package_type == 'rpm' %}
|
||||
{% set panko_api_packages = [
|
||||
'openstack-panko-api',
|
||||
'python3-pymongo'
|
||||
] %}
|
||||
{% elif base_package_type == 'deb' %}
|
||||
{% set panko_api_packages = [
|
||||
'panko-api',
|
||||
'python3-pymongo'
|
||||
] %}
|
||||
|
||||
{% endif %}
|
||||
{{ macros.install_packages(panko_api_packages | customizable("packages")) }}
|
||||
{% endif %}
|
||||
|
||||
COPY extend_start.sh /usr/local/bin/kolla_panko_extend_start
|
||||
RUN chmod 755 /usr/local/bin/kolla_panko_extend_start
|
||||
|
||||
{% block panko_api_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
@ -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
|
||||
panko-dbsync
|
||||
exit 0
|
||||
fi
|
||||
|
||||
. /usr/local/bin/kolla_httpd_setup
|
@ -1,58 +0,0 @@
|
||||
FROM {{ namespace }}/{{ image_prefix }}openstack-base:{{ tag }}
|
||||
{% block labels %}
|
||||
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||
{% endblock %}
|
||||
|
||||
{% block panko_base_header %}{% endblock %}
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{{ macros.configure_user(name='panko') }}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_package_type == 'rpm' %}
|
||||
|
||||
{% set panko_base_packages = [
|
||||
'openstack-panko-common',
|
||||
] %}
|
||||
{% elif base_package_type == 'deb' %}
|
||||
{% set panko_base_packages = [
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(panko_base_packages | customizable("packages")) }}
|
||||
{% elif install_type == 'source' %}
|
||||
{% if base_package_type == 'rpm' %}
|
||||
|
||||
{% set panko_base_packages = [
|
||||
] %}
|
||||
{{ macros.install_packages(panko_base_packages | customizable("packages")) }}
|
||||
{% elif base_package_type == 'deb' %}
|
||||
|
||||
{% set panko_base_packages = [
|
||||
] %}
|
||||
|
||||
{{ macros.install_packages(panko_base_packages | customizable("packages")) }}
|
||||
|
||||
{% endif %}
|
||||
ADD panko-base-archive /panko-base-source
|
||||
|
||||
{% set panko_base_pip_packages = [
|
||||
'/panko',
|
||||
'pymongo'
|
||||
] %}
|
||||
|
||||
RUN ln -s panko-base-source/* panko \
|
||||
&& {{ macros.install_pip(panko_base_pip_packages | customizable("pip_packages")) }} \
|
||||
&& mkdir -p /etc/panko \
|
||||
&& cp -r /panko/etc/panko/* /etc/panko/ \
|
||||
&& chown -R panko: /etc/panko
|
||||
|
||||
{% endif %}
|
||||
|
||||
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
||||
|
||||
RUN touch /usr/local/bin/kolla_panko_extend_start \
|
||||
&& chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_panko_extend_start
|
||||
|
||||
{% block panko_base_footer %}{% endblock %}
|
@ -1,15 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
PANKO_LOG_DIR=/var/log/kolla/panko
|
||||
|
||||
if [[ ! -d "${PANKO_LOG_DIR}" ]]; then
|
||||
mkdir -p ${PANKO_LOG_DIR}
|
||||
fi
|
||||
if [[ $(stat -c %U:%G ${PANKO_LOG_DIR}) != "panko:kolla" ]]; then
|
||||
chown panko:kolla ${PANKO_LOG_DIR}
|
||||
fi
|
||||
if [[ $(stat -c %a ${PANKO_LOG_DIR}) != "755" ]]; then
|
||||
chmod 755 ${PANKO_LOG_DIR}
|
||||
fi
|
||||
|
||||
. /usr/local/bin/kolla_panko_extend_start
|
@ -106,7 +106,6 @@ _PROFILE_OPTS = [
|
||||
'monasca',
|
||||
'murano',
|
||||
'octavia',
|
||||
'panko',
|
||||
'rally',
|
||||
'redis',
|
||||
'sahara',
|
||||
@ -304,10 +303,6 @@ SOURCES = {
|
||||
'type': 'url',
|
||||
'location': ('$tarballs_base/openstack/ceilometer/'
|
||||
'ceilometer-${openstack_branch}.tar.gz')},
|
||||
'ceilometer-base-plugin-panko': {
|
||||
'type': 'url',
|
||||
'location': ('$tarballs_base/openstack/panko/'
|
||||
'panko-${openstack_branch}.tar.gz')},
|
||||
'cinder-base': {
|
||||
'type': 'url',
|
||||
'location': ('$tarballs_base/openstack/cinder/'
|
||||
@ -566,10 +561,6 @@ SOURCES = {
|
||||
'type': 'url',
|
||||
'location': ('$tarballs_base/openstack/ovn-octavia-provider/'
|
||||
'ovn-octavia-provider-${openstack_branch}.tar.gz')},
|
||||
'panko-base': {
|
||||
'type': 'url',
|
||||
'location': ('$tarballs_base/openstack/panko/'
|
||||
'panko-${openstack_branch}.tar.gz')},
|
||||
'placement-base': {
|
||||
'type': 'url',
|
||||
'location': ('$tarballs_base/openstack/placement/'
|
||||
@ -880,10 +871,6 @@ USERS = {
|
||||
'uid': 42437,
|
||||
'gid': 42437,
|
||||
},
|
||||
'panko-user': {
|
||||
'uid': 42438,
|
||||
'gid': 42438,
|
||||
},
|
||||
'rabbitmq-user': {
|
||||
'uid': 42439,
|
||||
'gid': 42439,
|
||||
|
3
releasenotes/notes/remove-panko-5338b559.yaml
Normal file
3
releasenotes/notes/remove-panko-5338b559.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
upgrade:
|
||||
- Support for panko has been removed due to upstream retirement.
|
@ -57,9 +57,6 @@ kolla_build_sources:
|
||||
- neutron-base-plugin-vpnaas-agent
|
||||
openstack/nova: nova-base
|
||||
openstack/octavia: octavia-base
|
||||
openstack/panko:
|
||||
- ceilometer-base-plugin-panko
|
||||
- panko-base
|
||||
openstack/rally: rally
|
||||
openstack/sahara: sahara-base
|
||||
openstack/senlin: senlin-base
|
||||
|
Loading…
Reference in New Issue
Block a user