aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-01-30 20:13:03 +0000
committerGerrit Code Review <review@openstack.org>2020-01-30 20:13:03 +0000
commite97239f03e734195a49b383f0e77aae3bdea9a35 (patch)
tree6e642b2c4dc807e60d5b3ba84d0d5defa6b9a8ca /kolla
parent63ad9cd0de0926f401a7f26bff505b1629f2e520 (diff)
parent4b4e26262b9e03190c639481fb60a8f4f92c532a (diff)
downloadkolla-e97239f03e734195a49b383f0e77aae3bdea9a35.tar.gz
kolla-e97239f03e734195a49b383f0e77aae3bdea9a35.zip
Merge "CentOS 8: Update packages in images"
Diffstat (limited to 'kolla')
-rwxr-xr-xkolla/image/build.py126
-rw-r--r--kolla/template/methods.py4
-rw-r--r--kolla/template/repos.yaml9
3 files changed, 43 insertions, 96 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index dab011939..6233f70d1 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -143,103 +143,37 @@ UNBUILDABLE_IMAGES = {
"ovsdpdk",
},
- # NOTE(mgoddard): Mark all images that depend on base or openstack-base as
- # unbuildable for CentOS 8.
+ # NOTE(mgoddard): Mark images with missing dependencies as unbuildable for
+ # CentOS 8.
'centos8': {
- "aodh-base",
- "barbican-base",
- "bifrost-base",
- "blazar-base",
- "ceilometer-base",
- "ceph-base",
- "certmonger",
- "chrony",
- "cinder-base",
- "cloudkitty-base",
- "collectd",
- "congress-base",
- "cron",
- "cyborg-base",
- "designate-base",
- "dnsmasq",
- "ec2-api",
- "elasticsearch",
- "elasticsearch-curator",
- "etcd",
- "fluentd",
- "freezer-base",
- "glance-base",
- "gnocchi-base",
- "grafana",
- "hacluster-base",
- "haproxy",
- "heat-base",
- "horizon",
- "influxdb",
- "ironic-base",
- "ironic-inspector",
- "iscsid",
- "kafka",
- "karbor-base",
- "keepalived",
- "keystone-base",
- "kibana",
- "kolla-toolbox",
- "kuryr-base",
- "logstash",
- "magnum-base",
- "manila-base",
- "mariadb",
- "masakari-base",
- "memcached",
- "mistral-base",
- "monasca-base",
- "monasca-grafana",
- "monasca-thresh",
- "mongodb",
- "multipathd",
- "murano-base",
- "networking-baremetal",
- "neutron-base",
- "nova-base",
- "nova-libvirt",
- "novajoin-base",
- "octavia-base",
- "opendaylight",
- "openvswitch-base",
- "ovn-base",
- "ovsdpdk",
- "panko-base",
- "placement-base",
- "prometheus-base",
- "ptp",
- "qdrouterd",
- "qinling-base",
- "rabbitmq",
- "radvd",
- "rally",
- "redis-base",
- "rsyslog-base",
- "sahara-base",
- "searchlight-base",
- "senlin-base",
- "sensu-base",
- "skydive-base",
- "solum-base",
- "storm",
- "swift-base",
- "tacker-base",
- "telegraf",
- "tempest",
- "tgtd",
- "tripleoclient",
- "trove-base",
- "vitrage-base",
- "vmtp",
- "watcher-base",
- "zaqar-base",
- "zookeeper",
- "zun-base",
+ "ceph-base", # Missing Ceph repo
+ "cinder-base", # Missing Ceph repo
+ "collectd", # Missing collectd-ping and
+ # collectd-sensubility packages
+ "elasticsearch", # Missing elasticsearch repo
+ "glance-base", # Missing Ceph repo
+ "gnocchi-base", # Missing Ceph repo
+ "hacluster-base", # Missing hacluster repo
+ "ironic-conductor", # Missing shellinabox package
+ "kibana", # Missing elasticsearch repo
+ "manila-share", # Missing Ceph repo
+ "mongodb", # Missing mongodb and mongodb-server packages
+ "monasca-grafana", # Using python2
+ "nova-compute", # Missing Ceph repo
+ "nova-libvirt", # Missing Ceph repo
+ "nova-spicehtml5proxy", # Missing spicehtml5 package
+ "opendaylight", # Missing opendaylight repo
+ "ovsdpdk", # Not supported on CentOS
+ "sensu-base", # Missing sensu package
+ "tgtd", # Not supported on CentOS 8
+ },
+
+ 'centos8+source': {
+ "bifrost-base", # Bifrost does not support CentOS 8
+ "cyborg-agent", # opae-sdk does not support CentOS 8
+ "freezer-base", # Missing package trickle
+ "masakari-monitors", # Missing hacluster repo
+ "zun-compute", # Missing Ceph repo
},
'debian': {
diff --git a/kolla/template/methods.py b/kolla/template/methods.py
index 73e9d515a..66c5dcfa9 100644
--- a/kolla/template/methods.py
+++ b/kolla/template/methods.py
@@ -99,6 +99,10 @@ def handle_repos(context, reponames, mode):
base_arch = context.get('base_arch')
distro_package_manager = context.get('distro_package_manager')
+ # TODO(mgoddard): Remove this when CentOS 7 support is no longer present.
+ if base_distro == 'centos' and distro_package_manager == 'dnf':
+ base_distro = 'centos8'
+
commands = ''
try:
diff --git a/kolla/template/repos.yaml b/kolla/template/repos.yaml
index c0e6cdfca..3d5ce7c69 100644
--- a/kolla/template/repos.yaml
+++ b/kolla/template/repos.yaml
@@ -1,4 +1,5 @@
---
+# TODO(mgoddard): Remove this when CentOS 7 support is no longer present.
centos:
ceph: "centos-ceph-nautilus"
elasticsearch: "elasticsearch-kibana-logstash-5.x"
@@ -14,6 +15,7 @@ centos:
rabbitmq: "rabbitmq_rabbitmq-server"
td-agent: "treasuredata"
+# TODO(mgoddard): Remove this when CentOS 7 support is no longer present.
centos-aarch64:
ceph: "centos-ceph-nautilus"
elasticsearch: "elasticsearch-kibana-logstash-5.x"
@@ -25,6 +27,7 @@ centos-aarch64:
opstools: "centos-release-opstools"
rabbitmq: "rabbitmq_rabbitmq-server"
+# TODO(mgoddard): Remove this when CentOS 7 support is no longer present.
centos-ppc64le:
ceph: "centos-ceph-nautilus"
elasticsearch: "elasticsearch-kibana-logstash-5.x"
@@ -34,6 +37,12 @@ centos-ppc64le:
opstools: "centos-release-opstools"
rabbitmq: "rabbitmq_rabbitmq-server"
+centos8:
+ grafana: "grafana"
+ influxdb: "influxdb"
+ rabbitmq: "rabbitmq_rabbitmq-server"
+ td-agent: "treasuredata"
+
# NOTE(hrw): empty dict to avoid TypeError
rhel: {}