From: Jiri Stransky Date: Mon, 29 Feb 2016 16:44:37 +0000 (+0100) Subject: Upgrades: install zaqarclient X-Git-Tag: opnfv-6.0.0~2108^2~1 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=f496aa225c2f12e2f8da80c74d4b511e0e6e2bf0;p=apex-tripleo-heat-templates.git 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 --- 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 diff --git a/extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh b/extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh index ff73a9a2..dcd4be95 100755 --- a/extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh +++ b/extraconfig/tasks/major_upgrade_controller_pacemaker_1.sh @@ -46,6 +46,7 @@ while systemctl is-active pacemaker; do fi done +yum -y install python-zaqarclient # needed for os-collect-config yum -y -q update # Pin messages sent to compute nodes to kilo, these will be upgraded later