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
This commit is contained in:
Jiri Stransky
2016-02-29 17:44:37 +01:00
parent 07ce6e053c
commit f496aa225c
2 changed files with 3 additions and 0 deletions

View File

@@ -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

View File

@@ -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