make the mitaka to newton UC upgrade working

Change-Id: Ie17585836d9607a65ef937cf6037bd1d25aa3b3b
This commit is contained in:
Mathieu Bultel 2016-08-19 18:10:58 +02:00
parent 6816b2422b
commit ecd77a3897
1 changed files with 7 additions and 0 deletions

View File

@ -15,5 +15,12 @@ sudo systemctl stop openstack-*
sudo systemctl stop neutron-*
sudo yum -y update instack-undercloud openstack-puppet-modules openstack-tripleo-common python-tripleoclient
{% endif %}
{% if target_upgrade_version == 'master' and major_upgrade == 'true' %}
sudo yum -y update python-cachetools
sudo yum clean all && sudo yum clean metadata && sudo yum clean dbcache && sudo yum makecache
sudo systemctl stop openstack-*
sudo systemctl stop neutron-*
sudo yum -y update
{% endif %}
echo "Upgrade the undercloud"
openstack undercloud upgrade