From 281590535ef7de9e963ed37e7ab67ac9df600f87 Mon Sep 17 00:00:00 2001 From: Romulo Leite Date: Tue, 27 Dec 2022 16:53:53 -0300 Subject: [PATCH] Port openstack related images to stx-debian Build stx-openstack related images using stx-debian base image This change port openstack related images from Centos to Debian in stx/upstream. The following images were ported: - stx-cinder - stx-glance - stx-neutron - stx-openstackclients - stx-heat - stx-barbican Test Plan: PASS - Build images in a debian build environment PASS - Manually upload the built images to stx-openstack, use helm-override to change the required containers image and reapply stx-openstack. PASS - Check the healthy of the pods related to those images Story: 2010072 Task: 47088 Signed-off-by: Romulo Leite Change-Id: Ief0f0c53eb973dad2dd5b7461d756ad79278858e --- debian_stable_docker_images.inc | 6 ++++++ .../debian/stx-barbican.stable_docker_image | 9 +++++++++ .../debian/stx-cinder.stable_docker_image | 10 ++++++++++ .../debian/stx-glance.stable_docker_image | 11 +++++++++++ .../debian/stx-heat.stable_docker_image | 10 ++++++++++ .../debian/stx-neutron.stable_docker_image | 11 +++++++++++ .../debian/stx-openstackclient.stable_docker_image | 10 ++++++++++ 7 files changed, 67 insertions(+) create mode 100644 openstack/python-barbican/debian/stx-barbican.stable_docker_image create mode 100644 openstack/python-cinder/debian/stx-cinder.stable_docker_image create mode 100644 openstack/python-glance/debian/stx-glance.stable_docker_image create mode 100644 openstack/python-heat/openstack-heat/debian/stx-heat.stable_docker_image create mode 100644 openstack/python-neutron/debian/stx-neutron.stable_docker_image create mode 100644 openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image diff --git a/debian_stable_docker_images.inc b/debian_stable_docker_images.inc index bfbc922e..b3e3db29 100644 --- a/debian_stable_docker_images.inc +++ b/debian_stable_docker_images.inc @@ -1 +1,7 @@ +openstack/python-barbican +openstack/python-cinder +openstack/python-glance +openstack/python-heat/openstack-heat +openstack/python-neutron +openstack/python-openstackclient openstack/python-platformclients diff --git a/openstack/python-barbican/debian/stx-barbican.stable_docker_image b/openstack/python-barbican/debian/stx-barbican.stable_docker_image new file mode 100644 index 00000000..e3f0ed1a --- /dev/null +++ b/openstack/python-barbican/debian/stx-barbican.stable_docker_image @@ -0,0 +1,9 @@ +BUILDER=loci +LABEL=stx-barbican +PROJECT=barbican +DIST_REPOS="OS" +PROJECT_REPO=https://opendev.org/openstack/barbican.git +NON_UNIQUE_SYSTEM_ACCOUNT="yes" +PROJECT_REF=stable/ussuri +PIP_PACKAGES="pycryptodomex" +PROFILES="fluent" diff --git a/openstack/python-cinder/debian/stx-cinder.stable_docker_image b/openstack/python-cinder/debian/stx-cinder.stable_docker_image new file mode 100644 index 00000000..109bf9b8 --- /dev/null +++ b/openstack/python-cinder/debian/stx-cinder.stable_docker_image @@ -0,0 +1,10 @@ +BUILDER=loci +LABEL=stx-cinder +PROJECT=cinder +DIST_REPOS="OS" +PROJECT_REPO=https://opendev.org/openstack/cinder.git +PROJECT_REF=stable/ussuri +NON_UNIQUE_SYSTEM_ACCOUNT="yes" +DIST_PACKAGES="nfs-common" +PIP_PACKAGES="pycryptodomex python-swiftclient pylint" +PROFILES="fluent cinder lvm ceph qemu" diff --git a/openstack/python-glance/debian/stx-glance.stable_docker_image b/openstack/python-glance/debian/stx-glance.stable_docker_image new file mode 100644 index 00000000..45a1b78c --- /dev/null +++ b/openstack/python-glance/debian/stx-glance.stable_docker_image @@ -0,0 +1,11 @@ +BUILDER=loci +LABEL=stx-glance +PROJECT=glance +PROJECT_REPO=https://opendev.org/openstack/glance.git +PROJECT_REF=stable/ussuri +DIST_REPOS="OS" +UPDATE_SYSTEM_ACCOUNT="yes" +NON_UNIQUE_SYSTEM_ACCOUNT="yes" +PIP_PACKAGES="pycryptodomex python-swiftclient psutil pylint " +DIST_PACKAGES="libpq5" +PROFILES="fluent glance ceph" diff --git a/openstack/python-heat/openstack-heat/debian/stx-heat.stable_docker_image b/openstack/python-heat/openstack-heat/debian/stx-heat.stable_docker_image new file mode 100644 index 00000000..499a5d8f --- /dev/null +++ b/openstack/python-heat/openstack-heat/debian/stx-heat.stable_docker_image @@ -0,0 +1,10 @@ +BUILDER=loci +LABEL=stx-heat +PROJECT=heat +PROJECT_REPO=https://opendev.org/openstack/heat.git +PROJECT_REF=stable/ussuri +DIST_REPOS="OS" +NON_UNIQUE_SYSTEM_ACCOUNT="yes" +PIP_PACKAGES="pycryptodomex pylint" +DIST_PACKAGES="libxslt1.1" +PROFILES="fluent heat apache" diff --git a/openstack/python-neutron/debian/stx-neutron.stable_docker_image b/openstack/python-neutron/debian/stx-neutron.stable_docker_image new file mode 100644 index 00000000..dbac5e00 --- /dev/null +++ b/openstack/python-neutron/debian/stx-neutron.stable_docker_image @@ -0,0 +1,11 @@ +BUILDER=loci +LABEL=stx-neutron +PROJECT=neutron +DIST_REPOS="OS" +PROJECT_REPO=https://opendev.org/openstack/neutron.git +PROJECT_REF=stable/ussuri +UPDATE_SYSTEM_ACCOUNT="yes" +NON_UNIQUE_SYSTEM_ACCOUNT="yes" +PIP_PACKAGES="networking-sfc pycrypto pylint tinyrpc lxml" +DIST_PACKAGES="ethtool lshw" +PROFILES="fluent neutron linuxbridge openvswitch" diff --git a/openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image b/openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image new file mode 100644 index 00000000..35ecafd6 --- /dev/null +++ b/openstack/python-openstackclient/debian/stx-openstackclient.stable_docker_image @@ -0,0 +1,10 @@ +BUILDER=loci +LABEL=stx-openstackclients +PROJECT=infra +PROJECT_REPO=nil +DIST_REPOS="OS" +PIP_PACKAGES="pycryptodomex httplib2 pylint pyopenssl ndg-httpsclient pyasn1 \ + python-ceilometerclient python-cinderclient python-glanceclient python-heatclient \ + python-keystoneclient python-neutronclient python-novaclient python-barbicanclient \ + python-swiftclient python-openstackclient" +DIST_PACKAGES="python-dev libffi-dev openssl bash-completion"