ceilometer compute agent needs restart on compute upgrade

After compute nodes are upgraded, the ceilometer compute agent
doesnt poll and throws warnings. Restarting the compute agent
at this step gets the service back to its normal state.

Closes-Bug: #1640177

Change-Id: I7392de43e933b1d16002e12e407748ae289d5e99
This commit is contained in:
Pradeep Kilambi 2016-11-08 08:59:10 -05:00
parent f01f9e4cbe
commit 094bbefe71
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ fi
yum -y install python-zaqarclient # needed for os-collect-config
yum -y update
# Due to bug#1640177 we need to restart compute agent
echo "Restarting openstack ceilometer agent compute"
systemctl restart openstack-ceilometer-compute
ENDOFCAT
# ensure the permissions are OK