From f496aa225c2f12e2f8da80c74d4b511e0e6e2bf0 Mon Sep 17 00:00:00 2001 From: Jiri Stransky Date: Mon, 29 Feb 2016 17:44:37 +0100 Subject: Upgrades: install zaqarclient Old overcloud images don't have python-zaqarclient installed, and new overclouds' os-collect-config are configured with Zaqar support. This together means that on upgrade we need to install python-zaqarclient, otherwise os-collect-config will be restarted during yum update and crash due to trying to import missing Python module from zaqarclient. Change-Id: I3e875e14cb60b1b78aec0d9ddc412ccf865abd01 --- extraconfig/tasks/major_upgrade_compute.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extraconfig/tasks/major_upgrade_compute.sh') diff --git a/extraconfig/tasks/major_upgrade_compute.sh b/extraconfig/tasks/major_upgrade_compute.sh index 2f19d573..78628c8c 100644 --- a/extraconfig/tasks/major_upgrade_compute.sh +++ b/extraconfig/tasks/major_upgrade_compute.sh @@ -15,6 +15,8 @@ cat > $UPGRADE_SCRIPT << ENDOFCAT # pin nova to kilo (messaging +-1) for the nova-compute service crudini --set /etc/nova/nova.conf upgrade_levels compute $upgrade_level_nova_compute + +yum -y install python-zaqarclient # needed for os-collect-config yum -y update ENDOFCAT -- cgit 1.2.3-korg