ea8592b077
This is necessary if e.g. Prometheus is used. Then the ceilometer-upgrade is not needed. Signed-off-by: Christian Berendt <berendt@betacloud-solutions.de> Change-Id: I8690e5543e6b5f37f41fe35f659910fc869c034f
12 lines
385 B
Bash
12 lines
385 B
Bash
#!/bin/bash
|
|
|
|
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
|
|
# of the KOLLA_BOOTSTRAP variable being set, including empty.
|
|
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
|
if [[ "${CEILOMETER_DATABASE_TYPE}" == "gnocchi" ]]; then
|
|
ceilometer-upgrade ${CEILOMETER_UPGRADE_PARAMS}
|
|
fi
|
|
sudo chown -R ceilometer: /var/lib/ceilometer/
|
|
exit 0
|
|
fi
|