From 1a41c298cfcfba53956cb73208035f28c0a3d4a0 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Mon, 4 May 2020 13:34:30 -0400 Subject: [PATCH] Remove tripleoclient container from Kolla This container was never needed or useful so far; let's remove it from Kolla. Depends-On: https://review.opendev.org/725349 Change-Id: I2c80080a5b2203c6b22c361f2b6126d65c0c50dc --- doc/source/matrix_aarch64.csv | 1 - doc/source/matrix_x86.csv | 1 - docker/tripleoclient/Dockerfile.j2 | 40 ------------------- docker/tripleoclient/create_super_user.sh | 18 --------- kolla/common/config.py | 4 -- kolla/image/build.py | 7 ---- ...ripleoclient_removal-7b131be589aa580f.yaml | 4 ++ 7 files changed, 4 insertions(+), 71 deletions(-) delete mode 100644 docker/tripleoclient/Dockerfile.j2 delete mode 100644 docker/tripleoclient/create_super_user.sh create mode 100644 releasenotes/notes/tripleoclient_removal-7b131be589aa580f.yaml diff --git a/doc/source/matrix_aarch64.csv b/doc/source/matrix_aarch64.csv index 81af39a890..c4a7db3794 100644 --- a/doc/source/matrix_aarch64.csv +++ b/doc/source/matrix_aarch64.csv @@ -83,7 +83,6 @@ tacker,C,C,N,C,N,C telegraf,N,N,N,N,N,N tempest,C,N,C,N,N,N tgtd,C,C,C,C,N,C -tripleoclient,N,N,N,N,N,N trove,C,C,N,C,N,C vitrage,C,C,N,C,N,C vmtp,N,C,N,C,N,C diff --git a/doc/source/matrix_x86.csv b/doc/source/matrix_x86.csv index 407a666df4..f2dbb33ad3 100644 --- a/doc/source/matrix_x86.csv +++ b/doc/source/matrix_x86.csv @@ -84,7 +84,6 @@ tacker,C,T,N,C,N,C telegraf,C,C,C,C,C,N tempest,C,C,C,C,C,C tgtd,C,T,C,T,C,C -tripleoclient,C,N,N,N,N,N trove,C,C,C,C,N,C vitrage,C,C,N,C,C,C vmtp,N,C,N,C,N,C diff --git a/docker/tripleoclient/Dockerfile.j2 b/docker/tripleoclient/Dockerfile.j2 deleted file mode 100644 index be406c7be5..0000000000 --- a/docker/tripleoclient/Dockerfile.j2 +++ /dev/null @@ -1,40 +0,0 @@ -FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }} -{% block labels %} -LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}" -{% endblock %} - -{% block tripleoclient_header %}{% endblock %} - -{% import "macros.j2" as macros with context %} - -{% if install_type == 'binary' %} - {% if base_package_type == 'rpm' %} - {% set tripleoclient_packages = [ - 'e2fsprogs', - 'git', - 'openssh-clients', - 'openstack-tripleo-validations', - 'puppet-tripleo', - 'python3-openstackclient', - 'python3-tripleoclient', - 'xfsprogs' - ] %} - -{{ macros.install_packages(tripleoclient_packages | customizable("packages")) }} - - {% else %} -RUN echo 'tripleoclient not yet available for {{ base_distro }}' && /bin/false - {% endif %} - -{% elif install_type == 'source' %} - - -RUN echo 'tripleoclient not yet available for {{ base_distro }} source installs' && /bin/false - -{% endif %} - -COPY create_super_user.sh /usr/local/bin/create_super_user.sh -RUN chmod 750 /usr/local/bin/create_super_user.sh - -{% block tripleoclient_footer %}{% endblock %} -{% block footer %}{% endblock %} diff --git a/docker/tripleoclient/create_super_user.sh b/docker/tripleoclient/create_super_user.sh deleted file mode 100644 index 37c8bf1df1..0000000000 --- a/docker/tripleoclient/create_super_user.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# This is a useful entrypoint/cmd if you wish to run commands in a container -# in an existing users $HOME directory -# For example: docker run -ti -e USER=stack -e UID=1000 --privileged=true --volume=/home/stack/:/home/stack/ tripleoclient:latest /usr/local/bin/create_super_user.sh - -if [ -n "$USER" -a -n "$UID" ]; then - useradd "$USER" -u "$UID" -M -cat >> /etc/sudoers <