diff options
| author | Mark Goddard <mark@stackhpc.com> | 2019-12-17 13:01:42 +0000 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2020-01-29 11:41:38 +0000 |
| commit | 4b4e26262b9e03190c639481fb60a8f4f92c532a (patch) | |
| tree | a1e6a6404e006a620c98ac8a37b3eec3f1ae250b /kolla | |
| parent | bdb0dbddbc30215169baaaa263c583e7d3183607 (diff) | |
| download | kolla-4b4e26262b9e03190c639481fb60a8f4f92c532a.tar.gz kolla-4b4e26262b9e03190c639481fb60a8f4f92c532a.zip | |
CentOS 8: Update packages in images
* Some further changes for python2 vs python3 packages
* Allow rabbitmq 3.7.*, since a newer erlang is available
* Switch from qemu-img-ev to qemu-img on CentOS 8
* bridge-utils no longer available on CentOS 8
* libvirt-daemon-driver-lxc no longer available on CentOS 8
* Mark some more images buildable for CentOS 8
Change-Id: Iaf5b68ff6d944ae730ca0b1d5832172c106a6c08
Partially-Implements: blueprint centos-rhel-8
Partially-Implements: blueprint centos-rhel-python-3
Diffstat (limited to 'kolla')
| -rwxr-xr-x | kolla/image/build.py | 126 | ||||
| -rw-r--r-- | kolla/template/methods.py | 4 | ||||
| -rw-r--r-- | kolla/template/repos.yaml | 9 |
3 files changed, 43 insertions, 96 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py index 603f6e0df..a70919842 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -142,103 +142,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 c4c34125d..b0a91158e 100644 --- a/kolla/template/methods.py +++ b/kolla/template/methods.py @@ -91,6 +91,10 @@ def enable_repos(context, reponames): 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 90b1bbd2b..0ea8a4bdd 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" @@ -11,6 +12,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" @@ -19,12 +21,19 @@ centos-aarch64: opendaylight: "opendaylight" 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" nfs-ganesha: "centos-nfs-ganesha28" rabbitmq: "rabbitmq_rabbitmq-server" +centos8: + grafana: "grafana" + influxdb: "influxdb" + rabbitmq: "rabbitmq_rabbitmq-server" + td-agent: "treasuredata" + # NOTE(hrw): empty dict to avoid TypeError rhel: {} |
