From ea8592b077ceccfeb3089d901e6f46252f024881 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Fri, 27 Nov 2020 11:35:51 +0100 Subject: [PATCH] ceilometer: do not fail when using an unsupported database type This is necessary if e.g. Prometheus is used. Then the ceilometer-upgrade is not needed. Signed-off-by: Christian Berendt Change-Id: I8690e5543e6b5f37f41fe35f659910fc869c034f --- docker/ceilometer/ceilometer-notification/extend_start.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker/ceilometer/ceilometer-notification/extend_start.sh b/docker/ceilometer/ceilometer-notification/extend_start.sh index 3a012cb1d9..0abeeb1e1d 100644 --- a/docker/ceilometer/ceilometer-notification/extend_start.sh +++ b/docker/ceilometer/ceilometer-notification/extend_start.sh @@ -5,9 +5,6 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then if [[ "${CEILOMETER_DATABASE_TYPE}" == "gnocchi" ]]; then ceilometer-upgrade ${CEILOMETER_UPGRADE_PARAMS} - else - echo "Unsupported database type: ${CEILOMETER_DATABASE_TYPE}" - exit 1 fi sudo chown -R ceilometer: /var/lib/ceilometer/ exit 0