aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPradeep Kilambi <pkilambi@redhat.com>2016-11-08 08:59:10 -0500
committerPradeep Kilambi <pkilambi@redhat.com>2016-11-08 15:52:04 +0000
commit094bbefe71b2f780b8597ef624c8e3e7a53c3ef8 (patch)
treeca4b81d16c2600fe1626a9d3a1d89bd576b36798
parentf01f9e4cbe61e313f3986da2ac4e09ac0cf0e954 (diff)
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
-rw-r--r--extraconfig/tasks/major_upgrade_compute.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/extraconfig/tasks/major_upgrade_compute.sh b/extraconfig/tasks/major_upgrade_compute.sh
index f5105a1a..b0d42806 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