From ba1ff86cf02c01661bf246cff43597930323bbce Mon Sep 17 00:00:00 2001 From: venkata anil Date: Thu, 10 Feb 2022 13:32:00 +0000 Subject: [PATCH] fix centos8 for collectd collectd installation is failing as centos8 is EOL. We need to use centos stream for centos8. Change-Id: I9306b8d8fcb36e0354bcdf3e3945df1d904f8e8e --- browbeat-containers/collectd-baremetal/Dockerfile | 2 +- browbeat-containers/collectd-guest/Dockerfile | 2 +- browbeat-containers/collectd-openstack/Dockerfile | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/browbeat-containers/collectd-baremetal/Dockerfile b/browbeat-containers/collectd-baremetal/Dockerfile index 6c8670a01..50908fda7 100644 --- a/browbeat-containers/collectd-baremetal/Dockerfile +++ b/browbeat-containers/collectd-baremetal/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.centos.org/centos:8 +FROM quay.io/centos/centos:stream8 RUN dnf update -y && \ dnf clean all && \ diff --git a/browbeat-containers/collectd-guest/Dockerfile b/browbeat-containers/collectd-guest/Dockerfile index 14d6c3cd7..2359c20b8 100644 --- a/browbeat-containers/collectd-guest/Dockerfile +++ b/browbeat-containers/collectd-guest/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.centos.org/centos:8 +FROM quay.io/centos/centos:stream8 RUN dnf update -y && \ dnf clean all && \ diff --git a/browbeat-containers/collectd-openstack/Dockerfile b/browbeat-containers/collectd-openstack/Dockerfile index 3c0b5d8ac..fe50d2372 100644 --- a/browbeat-containers/collectd-openstack/Dockerfile +++ b/browbeat-containers/collectd-openstack/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.centos.org/centos:8 +FROM quay.io/centos/centos:stream8 RUN dnf clean all && \ dnf group install -y "Development Tools" && \ @@ -11,7 +11,8 @@ RUN dnf clean all && \ pip3 install --upgrade pip && \ pip3 install pyrabbit && \ dnf install -y libdbi-dbd-mysql collectd-dbi && \ - dnf install -y centos-release-openstack-train && \ + dnf install -y centos-release-openstack-ussuri && \ + dnf config-manager --set-enabled powertools && \ dnf install -y openvswitch libibverbs && \ dnf install -y passwd && \ dnf install -y ceph-common && \