Commit 24aea158 authored by David Johnson's avatar David Johnson

Ensure ceilometer/gnocchi upgrades happen.

parent 866d4d3d
...@@ -3139,9 +3139,12 @@ EOF ...@@ -3139,9 +3139,12 @@ EOF
usermod -a -G gnocchi ceilometer usermod -a -G gnocchi ceilometer
chmod -R 770 /var/lib/gnocchi chmod -R 770 /var/lib/gnocchi
gnocchi-upgrade
if [ $OSVERSION -lt $OSQUEENS ]; then if [ $OSVERSION -lt $OSQUEENS ]; then
gnocchi-upgrade
ceilometer-upgrade --debug --skip-metering-database ceilometer-upgrade --debug --skip-metering-database
else
ceilometer-upgrade --debug
gnocchi-upgrade --config-file=/etc/gnocchi/gnocchi.conf
fi fi
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment