aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-02-04 19:18:10 +0100
committerMark Goddard <mark@stackhpc.com>2020-03-12 17:43:54 +0000
commit92224ccb518c90d7c269158d074d811aee2f05f0 (patch)
treedb24f6bd9ccffb24a22791229b6bf7895440e820
parent5498671b344e48d6db865887537ff15cf4028510 (diff)
downloadkolla-92224ccb518c90d7c269158d074d811aee2f05f0.tar.gz
kolla-92224ccb518c90d7c269158d074d811aee2f05f0.zip
CentOS 8: Enable hacluster and masakari images
CentOS 8.1 came with HA repo. So we can use it. hacluster-pcs image is disabled as we lack 'crmsh' package for it. Partially-Implements: blueprint centos-rhel-8 Co-Authored-By: Mark Goddard <mark@stackhpc.com> Change-Id: I1c786eda399eca4464c9d68ac040c2965350f775
-rw-r--r--docker/hacluster/hacluster-base/Dockerfile.j22
-rw-r--r--docker/hacluster/hacluster-pcs/Dockerfile.j22
-rw-r--r--docker/masakari/masakari-monitors/Dockerfile.j22
-rwxr-xr-xkolla/image/build.py3
-rw-r--r--kolla/template/repos.yaml1
5 files changed, 5 insertions, 5 deletions
diff --git a/docker/hacluster/hacluster-base/Dockerfile.j2 b/docker/hacluster/hacluster-base/Dockerfile.j2
index 26fc3fd70..6dfbc822e 100644
--- a/docker/hacluster/hacluster-base/Dockerfile.j2
+++ b/docker/hacluster/hacluster-base/Dockerfile.j2
@@ -7,6 +7,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
+{{ macros.enable_extra_repos(['hacluster']) }}
+
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start
diff --git a/docker/hacluster/hacluster-pcs/Dockerfile.j2 b/docker/hacluster/hacluster-pcs/Dockerfile.j2
index bb7d92a6c..4486fa72f 100644
--- a/docker/hacluster/hacluster-pcs/Dockerfile.j2
+++ b/docker/hacluster/hacluster-pcs/Dockerfile.j2
@@ -7,8 +7,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
-{{ macros.enable_extra_repos(['hacluster']) }}
-
{% set hacluster_pcs_packages = ['pcs','crmsh'] %}
{{ macros.install_packages(hacluster_pcs_packages | customizable("packages")) }}
diff --git a/docker/masakari/masakari-monitors/Dockerfile.j2 b/docker/masakari/masakari-monitors/Dockerfile.j2
index b0856d1dd..d7098f737 100644
--- a/docker/masakari/masakari-monitors/Dockerfile.j2
+++ b/docker/masakari/masakari-monitors/Dockerfile.j2
@@ -7,7 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
-{{ macros.configure_user(name='masakari') }}
+{{ macros.enable_extra_repos(['hacluster']) }}
{% if install_type == 'binary' %}
diff --git a/kolla/image/build.py b/kolla/image/build.py
index f7906dce5..fed657ef9 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -142,7 +142,7 @@ UNBUILDABLE_IMAGES = {
# CentOS 8.
'centos8': {
"elasticsearch", # Missing elasticsearch repo
- "hacluster-base", # Missing hacluster repo
+ "hacluster-pcs", # Missing crmsh package
"kibana", # Missing elasticsearch repo
"mongodb", # Missing mongodb and mongodb-server packages
"monasca-grafana", # Using python2
@@ -156,7 +156,6 @@ UNBUILDABLE_IMAGES = {
'centos8+source': {
"cyborg-agent", # opae-sdk does not support CentOS 8
"freezer-base", # Missing package trickle
- "masakari-monitors", # Missing hacluster repo
},
'debian': {
diff --git a/kolla/template/repos.yaml b/kolla/template/repos.yaml
index a1d39dc5e..05cb75d52 100644
--- a/kolla/template/repos.yaml
+++ b/kolla/template/repos.yaml
@@ -44,6 +44,7 @@ centos8:
epel: "epel"
epel-modular: "epel-modular"
grafana: "grafana"
+ hacluster: "HighAvailability"
influxdb: "influxdb"
rabbitmq: "rabbitmq_rabbitmq-server"
td-agent: "treasuredata"