From 094bbefe71b2f780b8597ef624c8e3e7a53c3ef8 Mon Sep 17 00:00:00 2001 From: Pradeep Kilambi Date: Tue, 8 Nov 2016 08:59:10 -0500 Subject: [PATCH] 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 --- extraconfig/tasks/major_upgrade_compute.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extraconfig/tasks/major_upgrade_compute.sh b/extraconfig/tasks/major_upgrade_compute.sh index f5105a1a41..b0d4280670 100644 --- a/extraconfig/tasks/major_upgrade_compute.sh +++ b/extraconfig/tasks/major_upgrade_compute.sh @@ -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