Remove the congress images since it has been retired

more info: https://review.opendev.org/#/c/721733/

Depends-On: I12d74b53b64268d0358220af35f7fd719d82b397
Depends-On: I21c9ab9820f78cf76adf11c5f0591c60f76372a8
Change-Id: I7bd03b4f70ddfb15c96ed68e659cb6dccb0c36a3
Co-Authored-By: jacky06 <zhang.min@99cloud.net>
This commit is contained in:
gugug 2020-05-20 09:01:30 +08:00 committed by caoyuan
parent c42b882aff
commit e332891a8a
12 changed files with 2 additions and 121 deletions

View File

@ -79,7 +79,6 @@ Kolla provides images to deploy the following OpenStack projects:
- `Ceilometer <https://docs.openstack.org/ceilometer/latest/>`__ - `Ceilometer <https://docs.openstack.org/ceilometer/latest/>`__
- `Cinder <https://docs.openstack.org/cinder/latest/>`__ - `Cinder <https://docs.openstack.org/cinder/latest/>`__
- `CloudKitty <https://docs.openstack.org/cloudkitty/latest/>`__ - `CloudKitty <https://docs.openstack.org/cloudkitty/latest/>`__
- `Congress <https://docs.openstack.org/congress/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/>`__
- `Dragonflow <https://docs.openstack.org/dragonflow/latest/>`__ - `Dragonflow <https://docs.openstack.org/dragonflow/latest/>`__

View File

@ -1,14 +0,0 @@
FROM {{ namespace }}/{{ image_prefix }}congress-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block congress_api_header %}{% endblock %}
COPY extend_start.sh /usr/local/bin/kolla_congress_extend_start
RUN chmod 755 /usr/local/bin/kolla_congress_extend_start
{% block congress_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER congress

View File

@ -1,8 +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
congress-db-manage --config-file /etc/congress/congress.conf upgrade head
exit 0
fi

View File

@ -1,46 +0,0 @@
FROM {{ namespace }}/{{ image_prefix}}openstack-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block congress_base_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{{ macros.configure_user(name='congress') }}
{% if install_type == 'binary' %}
{% if base_package_type == 'deb' %}
{% set congress_base_packages = [
'congress-common',
'congress-server']
%}
{% elif base_package_type == 'rpm' %}
{% set congress_base_packages = [
'openstack-congress']
%}
{% endif %}
{{ macros.install_packages(congress_base_packages | customizable("packages")) }}
{% elif install_type == 'source' %}
{% set congress_base_pip_packages = [
'/congress'
] %}
ADD congress-base-archive /congress-base-source
RUN ln -s congress-base-source/* congress \
&& {{ macros.install_pip(congress_base_pip_packages | customizable("pip_packages")) }} \
&& mkdir -p /etc/congress \
&& cp -r /congress/etc/* /etc/congress/ \
&& chown -R congress: /etc/congress
{% endif %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN touch /usr/local/bin/kolla_congress_extend_start \
&& chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_congress_extend_start
{% block congress_base_footer %}{% endblock %}

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [[ ! -d "/var/log/kolla/congress" ]]; then
mkdir -p /var/log/kolla/congress
fi
if [[ $(stat -c %a /var/log/kolla/congress) != "755" ]]; then
chmod 755 /var/log/kolla/congress
fi
. /usr/local/bin/kolla_congress_extend_start

View File

@ -1,11 +0,0 @@
FROM {{ namespace }}/{{ image_prefix }}congress-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block congress_datasource_header %}{% endblock %}
{% block congress_datasource_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER congress

View File

@ -1,11 +0,0 @@
FROM {{ namespace }}/{{ image_prefix }}congress-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block congress_policy_engine_header %}{% endblock %}
{% block congress_policy_engine_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER congress

View File

@ -80,14 +80,6 @@ function config_cloudkitty_dashboard {
done done
} }
function config_congress_dashboard {
for file in ${SITE_PACKAGES}/congress_dashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_CONGRESS}" \
"${SITE_PACKAGES}/congress_dashboard/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done
}
function config_designate_dashboard { function config_designate_dashboard {
for file in ${SITE_PACKAGES}/designatedashboard/enabled/_*[^__].py; do for file in ${SITE_PACKAGES}/designatedashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_DESIGNATE}" \ config_dashboard "${ENABLE_DESIGNATE}" \
@ -338,7 +330,6 @@ function settings_changed {
config_blazar_dashboard config_blazar_dashboard
config_cloudkitty_dashboard config_cloudkitty_dashboard
config_congress_dashboard
config_designate_dashboard config_designate_dashboard
config_fwaas_dashboard config_fwaas_dashboard
config_freezer_ui config_freezer_ui

View File

@ -26,7 +26,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python3-barbicanclient', 'python3-barbicanclient',
'python3-cachetools', 'python3-cachetools',
'python3-cloudkittyclient', 'python3-cloudkittyclient',
'python3-congressclient',
'python3-contextlib2', 'python3-contextlib2',
'python3-cryptography', 'python3-cryptography',
'python3-designateclient', 'python3-designateclient',
@ -106,7 +105,6 @@ ENV DEBIAN_FRONTEND noninteractive
'patch', 'patch',
'python3-aodhclient', 'python3-aodhclient',
'python3-barbicanclient', 'python3-barbicanclient',
'python3-congressclient',
'python3-designateclient', 'python3-designateclient',
'python3-elasticsearch', 'python3-elasticsearch',
'python3-etcd', 'python3-etcd',
@ -269,7 +267,6 @@ ENV DEBIAN_FRONTEND noninteractive
'python-barbicanclient', 'python-barbicanclient',
'python-cinderclient', 'python-cinderclient',
'python-cloudkittyclient', 'python-cloudkittyclient',
'python-congressclient',
'python-dateutil', 'python-dateutil',
'python-designateclient', 'python-designateclient',
'python-editor', 'python-editor',

View File

@ -96,7 +96,6 @@ _PROFILE_OPTS = [
'aodh', 'aodh',
'blazar', 'blazar',
'cloudkitty', 'cloudkitty',
'congress',
'designate', 'designate',
'ec2-api', 'ec2-api',
'freezer', 'freezer',
@ -318,10 +317,6 @@ SOURCES = {
'type': 'url', 'type': 'url',
'location': ('$tarballs_base/openstack/cinder/' 'location': ('$tarballs_base/openstack/cinder/'
'cinder-${openstack_branch}.tar.gz')}, 'cinder-${openstack_branch}.tar.gz')},
'congress-base': {
'type': 'url',
'location': ('$tarballs_base/openstack/congress/'
'congress-${openstack_branch}.tar.gz')},
'cloudkitty-base': { 'cloudkitty-base': {
'type': 'url', 'type': 'url',
'location': ('$tarballs_base/openstack/cloudkitty/' 'location': ('$tarballs_base/openstack/cloudkitty/'
@ -874,7 +869,7 @@ USERS = {
'uid': 42409, 'uid': 42409,
'gid': 42409, 'gid': 42409,
}, },
'congress-user': { 'congress-user': { # unused user (congress dropped)
'uid': 42410, 'uid': 42410,
'gid': 42410, 'gid': 42410,
}, },

View File

@ -197,7 +197,6 @@ UNBUILDABLE_IMAGES = {
'ubuntu+binary': { 'ubuntu+binary': {
"cloudkitty-base", "cloudkitty-base",
"congress-base",
"ec2-api", "ec2-api",
"heat-all", "heat-all",
"ironic-neutron-agent", "ironic-neutron-agent",

View File

@ -1,5 +1,5 @@
--- ---
deprecations: upgrade:
- | - |
The ``congress`` project is no longer maintained. This has been The ``congress`` project is no longer maintained. This has been
`retired since Victoria`__ and has not been used by other OpenStack `retired since Victoria`__ and has not been used by other OpenStack