Drop ppc64le support
We do not test support for ppc64le on CI or other systems. In previous cycles it was used by TripleO and now they have own way. Change-Id: Ibd955869a6f9485dfa4d08a8ad2f4b28b7d59c15
This commit is contained in:
parent
73c456f85b
commit
0506ede84f
@ -77,10 +77,6 @@ be built for some distribution/architecture/build-type combinations.
|
||||
"bifrost-base", # someone need to get upstream working first
|
||||
},
|
||||
|
||||
'ppc64le': {
|
||||
"elasticsearch", # no binary package
|
||||
},
|
||||
|
||||
'binary': {
|
||||
"bifrost-base",
|
||||
"blazar-base",
|
||||
|
@ -74,11 +74,6 @@ aarch64 images
|
||||
:stub-columns: 1
|
||||
:file: ./matrix_aarch64.csv
|
||||
|
||||
ppc64le images
|
||||
==============
|
||||
|
||||
.. note:: TODO
|
||||
|
||||
.. _unbuildable-images-list:
|
||||
|
||||
Currently unbuildable images
|
||||
|
@ -106,37 +106,12 @@ COPY dnf.conf /etc/dnf/dnf.conf
|
||||
#
|
||||
# 'https://artifacts.elastic.co/GPG-KEY-elasticsearch',
|
||||
#
|
||||
{% elif base_arch == 'ppc64le' %}
|
||||
{% set base_yum_repo_files = [
|
||||
'rabbitmq_rabbitmq-server.repo',
|
||||
] %}
|
||||
# FIXME(mgoddard): Not available for CentOS 8 yet.
|
||||
#
|
||||
# 'elasticsearch.repo',
|
||||
#
|
||||
|
||||
{% set base_yum_repo_keys = [
|
||||
] %}
|
||||
# FIXME(mgoddard): Not available for CentOS 8 yet.
|
||||
#
|
||||
# 'https://artifacts.elastic.co/GPG-KEY-elasticsearch',
|
||||
#
|
||||
{% endif %}
|
||||
|
||||
{%- for repo_file in base_yum_repo_files | customizable('yum_repo_files') %}
|
||||
COPY {{ repo_file }} /etc/yum.repos.d/{{ repo_file }}
|
||||
{%- endfor %}
|
||||
|
||||
# NOTE(hrw): 'rabbitmq-server' is 'noarch' so we can install it on ppc64le from
|
||||
# repo for other architecture.
|
||||
# NOTE(mjturek): tripleo-ci overrides these repos so the file would not exist
|
||||
# in that case. We test for the file's existence to avoid sed failing in that case.
|
||||
{% if base_arch == 'ppc64le' %}
|
||||
RUN if [[ -e /etc/yum.repos.d/rabbitmq_rabbitmq-server.repo ]]; then \
|
||||
sed -i -e 's/\$basearch/x86_64/g' /etc/yum.repos.d/rabbitmq_rabbitmq-server.repo; \
|
||||
fi
|
||||
{% endif %}
|
||||
|
||||
{% block base_centos_repo_overrides_post_copy %}{% endblock %}
|
||||
|
||||
# Install what is needed for en_US.UTF-8
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Default repos
|
||||
deb http://ports.ubuntu.com/ focal main universe
|
||||
deb http://ports.ubuntu.com/ focal-updates main universe
|
||||
deb http://ports.ubuntu.com/ focal-security main universe
|
||||
|
||||
# Backports have a lower priority and must be explicitly installed to be used
|
||||
deb http://ports.ubuntu.com/ focal-backports main universe
|
||||
|
||||
# We need to add the repo for the updated packages they provide. The main ones
|
||||
# are qemu, libvirt, and openvswitch.
|
||||
deb http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby main
|
||||
|
||||
# NOTE(hrw): repositories below are added into image when they are needed as
|
||||
# separate files in /etc/apt/sources.list.d/ directory. For that purpose they
|
||||
# are defined in kolla/repos.yaml file.
|
||||
#
|
||||
# Here they stay in case someone needs them.
|
||||
|
||||
# rabbitmq repo
|
||||
#deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ focal main
|
||||
|
||||
# MariaDB repo
|
||||
#deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main
|
@ -60,15 +60,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'python3-sqlalchemy-collectd'
|
||||
] %}
|
||||
|
||||
{% if base_arch in ['x86_64', 'ppc64le'] %}
|
||||
{% set collectd_packages = collectd_packages + [
|
||||
'collectd-iptables'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{% if base_arch =='x86_64' %}
|
||||
{% set collectd_packages = collectd_packages + [
|
||||
'collectd-hugepages',
|
||||
'collectd-iptables',
|
||||
'collectd-pmu',
|
||||
'collectd-rdt',
|
||||
'collectd-turbostat'
|
||||
|
@ -9,26 +9,18 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{% if base_package_type == 'rpm' %}
|
||||
{% set ironic_pxe_packages = [
|
||||
'grub2-tools',
|
||||
'grub2-efi-aa64-modules',
|
||||
'ipxe-bootimgs',
|
||||
'tftp-server',
|
||||
] %}
|
||||
|
||||
{% if base_arch in ['x86_64', 'ppc64le'] %}
|
||||
{% if base_arch in ['x86_64'] %}
|
||||
{% set ironic_pxe_packages = ironic_pxe_packages + [
|
||||
'syslinux-tftpboot'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
# NOTE(hrw): RHEL and CentOS ship those packages on all grub architectures
|
||||
# (x86_64, ppc64le, aarch64, but not s390x), and therefore can be used on
|
||||
# any of them to support heterogeneous clusters with AArch64.
|
||||
{% if base_arch != 's390x' %}
|
||||
{% set ironic_pxe_packages = ironic_pxe_packages + [
|
||||
'grub2-tools',
|
||||
'grub2-efi-aa64-modules'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(ironic_pxe_packages | customizable("packages")) }}
|
||||
{% elif base_package_type == 'deb' %}
|
||||
{% set ironic_pxe_packages = [
|
||||
|
@ -26,8 +26,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
{% set nova_base_packages = nova_base_packages + [
|
||||
'edk2-aarch64'
|
||||
] %}
|
||||
{% elif base_arch == 'ppc64le' %}
|
||||
{# NOTE(Jeffrey4l): no packages for ppc64le #}
|
||||
{% endif %}
|
||||
|
||||
{% elif base_package_type == 'deb' %}
|
||||
@ -46,8 +44,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
{% set nova_base_packages = nova_base_packages + [
|
||||
'qemu-efi',
|
||||
] %}
|
||||
{% elif base_arch == 'ppc64le' %}
|
||||
{# NOTE(Jeffrey4l): no packages for ppc64le #}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@ -67,8 +63,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
{% set nova_base_packages = nova_base_packages + [
|
||||
'edk2-aarch64'
|
||||
] %}
|
||||
{% elif base_arch == 'ppc64le' %}
|
||||
{# NOTE(Jeffrey4l): no packages for ppc64le #}
|
||||
{% endif %}
|
||||
|
||||
{% elif base_package_type == 'deb' %}
|
||||
@ -90,8 +84,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
{% set nova_base_packages = nova_base_packages + [
|
||||
'qemu-efi',
|
||||
] %}
|
||||
{% elif base_arch == 'ppc64le' %}
|
||||
{# NOTE(Jeffrey4l): no packages for ppc64le #}
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
@ -20,7 +20,7 @@ from kolla.version import version_info as version
|
||||
|
||||
|
||||
BASE_OS_DISTRO = ['centos', 'rhel', 'ubuntu', 'debian']
|
||||
BASE_ARCH = ['x86_64', 'ppc64le', 'aarch64']
|
||||
BASE_ARCH = ['x86_64', 'aarch64']
|
||||
DEFAULT_BASE_TAGS = {
|
||||
'centos': {'name': 'quay.io/centos/centos', 'tag': 'stream8'},
|
||||
'rhel': {'name': 'registry.access.redhat.com/ubi8', 'tag': 'latest'},
|
||||
|
@ -86,16 +86,6 @@ UNBUILDABLE_IMAGES = {
|
||||
"skydive-base", # no aarch64 binary
|
||||
},
|
||||
|
||||
'ppc64le': {
|
||||
"elasticsearch", # no binary package
|
||||
"grafana", # no binary package
|
||||
"monasca-grafana", # no phantomJS
|
||||
"prometheus-base", # no ppc64le binaries
|
||||
"skydive-base", # no ppc64le binaries
|
||||
"telegraf", # no binary package
|
||||
"xtrabackup", # no binary package
|
||||
},
|
||||
|
||||
'binary': {
|
||||
"bifrost-base",
|
||||
"blazar-base",
|
||||
@ -115,12 +105,6 @@ UNBUILDABLE_IMAGES = {
|
||||
"tempest", # same reason as 'monasca-base'
|
||||
},
|
||||
|
||||
'source+ppc64le': {
|
||||
"monasca-base", # pypi 'confluent-kafka' requires newer libfdkafka-dev
|
||||
# than distributions have
|
||||
"tempest", # same reason as 'monasca-base'
|
||||
},
|
||||
|
||||
'centos': {
|
||||
"hacluster-pcs", # Missing crmsh package
|
||||
"nova-spicehtml5proxy", # Missing spicehtml5 package
|
||||
@ -151,12 +135,6 @@ UNBUILDABLE_IMAGES = {
|
||||
"telegraf", # no binary package
|
||||
},
|
||||
|
||||
'centos+ppc64le': {
|
||||
"hacluster-pcs", # no binary package
|
||||
"influxdb", # no binary package
|
||||
"kibana", # no binary package
|
||||
},
|
||||
|
||||
"centos+binary": {
|
||||
"masakari-base",
|
||||
},
|
||||
@ -676,8 +654,6 @@ class KollaWorker(object):
|
||||
self.debian_arch = 'arm64'
|
||||
elif self.base_arch == 'x86_64':
|
||||
self.debian_arch = 'amd64'
|
||||
elif self.base_arch == 'ppc64le':
|
||||
self.debian_arch = 'ppc64el'
|
||||
self.images = list()
|
||||
self.openstack_release = conf.openstack_release
|
||||
self.docker_healthchecks = conf.docker_healthchecks
|
||||
|
@ -37,20 +37,6 @@ centos-aarch64:
|
||||
rabbitmq: "rabbitmq_rabbitmq-server"
|
||||
td-agent: "treasuredata"
|
||||
|
||||
centos-ppc64le:
|
||||
ceph: "centos-ceph-nautilus"
|
||||
elasticsearch: "elasticsearch-kibana-logstash-7.x"
|
||||
epel: "epel"
|
||||
epel-modular: "epel-modular"
|
||||
extras: "extras"
|
||||
hacluster: "ha"
|
||||
libvirt: "centos-advanced-virtualization"
|
||||
logstash: "elasticsearch-kibana-logstash-7.x"
|
||||
openvswitch: "centos-nfv-openvswitch"
|
||||
opstools: "centos-opstools"
|
||||
powertools: "powertools"
|
||||
rabbitmq: "rabbitmq_rabbitmq-server"
|
||||
|
||||
rhel:
|
||||
erlang: "centos-rabbitmq-38"
|
||||
hacluster: "ha"
|
||||
@ -99,7 +85,3 @@ ubuntu-aarch64:
|
||||
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
|
||||
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ focal main"
|
||||
td-agent: "deb http://packages.treasuredata.com/4/ubuntu/focal/ focal contrib"
|
||||
|
||||
ubuntu-ppc64le:
|
||||
mariadb: "deb http://downloads.mariadb.com/MariaDB/mariadb-10.3/repo/ubuntu focal main"
|
||||
rabbitmq: "deb https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ focal main"
|
||||
|
4
releasenotes/notes/drop-ppc64le-516442a16cc9f27c.yaml
Normal file
4
releasenotes/notes/drop-ppc64le-516442a16cc9f27c.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Support for building containers for ppc64le architecture was dropped.
|
Loading…
Reference in New Issue
Block a user