Support CentOS 8.3

Backport this until Train.

CentOS 8.3 renamed system repos. [1]
This caused failures when disabling and enabling.
More details in the referenced bug report.

Notice CentOS 8.2 and below will no longer work.

[1] https://wiki.centos.org/Manuals/ReleaseNotes/CentOS8.2011#Yum_repo_file_and_repoid_changes

Change-Id: I2d67b3ed7b7c521bc755ec9a87365c9962a9eeff
Closes-Bug: #1907213
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Depends-On: https://review.opendev.org/766211
This commit is contained in:
abraden
2020-12-07 19:20:44 +00:00
committed by Radosław Piliszek
parent 5797c3aa1a
commit 17799d6eb6
3 changed files with 18 additions and 5 deletions

View File

@@ -200,7 +200,7 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
'dnf-plugins-core'
] %}
{% set base_centos_yum_repos_to_enable = [
'PowerTools',
'powertools',
] %}
{% set base_centos_yum_repos_to_disable = [

View File

@@ -8,7 +8,7 @@ centos:
erlang: "rabbitmq_rabbitmq-erlang"
extras: "extras"
grafana: "grafana"
hacluster: "HighAvailability"
hacluster: "ha"
influxdb: "influxdb"
logstash: "elasticsearch-kibana-logstash-6.x"
kibana: "elasticsearch-kibana-logstash-6.x"
@@ -24,7 +24,7 @@ centos-aarch64:
erlang: "centos-rabbitmq-38"
extras: "extras"
grafana: "grafana"
hacluster: "HighAvailability"
hacluster: "ha"
logstash: "elasticsearch-kibana-logstash-6.x"
opstools: "centos-opstools"
rabbitmq: "rabbitmq_rabbitmq-server"
@@ -36,14 +36,14 @@ centos-ppc64le:
epel: "epel"
epel-modular: "epel-modular"
extras: "extras"
hacluster: "HighAvailability"
hacluster: "ha"
logstash: "elasticsearch-kibana-logstash-6.x"
opstools: "centos-opstools"
rabbitmq: "rabbitmq_rabbitmq-server"
rhel:
erlang: "centos-rabbitmq-38"
hacluster: "HighAvailability"
hacluster: "ha"
opstools: "centos-opstools"
rabbitmq: "centos-rabbitmq-38"

View File

@@ -0,0 +1,13 @@
---
fixes:
- |
Fixes builds on CentOS 8.3 failing due to renamed repos.
Notice Kolla now no longer supports CentOS 8.2 and below.
`LP#1907213 <https://launchpad.net/bugs/1907213>`__
upgrade:
- |
Kolla now no longer supports CentOS 8.2 and below.
This is to support CentOS 8.3 without extra workarounds (please
see the fixes section for more details).
The promise is to support the latest CentOS 8 release which is 8.3
now.